-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dolfin installation #17
Comments
Those error messages are due to a recent change in PETSc 3.7. I'll look into it. There's an updated dolfin from June 23rd, which may already contain the fix. |
Hi, I tried the installation with the new version of Dolfin, but i find me with another message. Thank you for your help. ==> make
Last 15 lines from /Users/ricardo/Library/Logs/Homebrew/dolfin/02.make:
/tmp/dolfin-20160701-16785-mqatt9/dolfin-2016.1.0/dolfin/fem/UFC.h:126:7: note: 'interior_facet_integrals' declared here
interior_facet_integrals;
^
/tmp/dolfin-20160701-16785-mqatt9/dolfin-2016.1.0/dolfin/fem/UFC.h:282:25: error: no member named 'max_overlap_subdomain_id' in 'ufc::form'; did you mean 'max_vertex_subdomain_id'?
if (domain < form.max_overlap_subdomain_id())
^~~~~~~~~~~~~~~~~~~~~~~~
max_vertex_subdomain_id
/usr/local/include/ufc.h:434:25: note: 'max_vertex_subdomain_id' declared here
virtual std::size_t max_vertex_subdomain_id() const = 0;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [dolfin/CMakeFiles/dolfin.dir/adaptivity/ErrorControl.cpp.o] Error 1
make[1]: *** [dolfin/CMakeFiles/dolfin.dir/all] Error 2
make: *** [all] Error 2 |
Would you mind trying #20? |
I tried #20.
But compilation of version 2016.1.0 fails with an error. However, also version 1.6.0 fails to build but with another error. All dependencies seems to be installed and working.
I am clueless at this point. What could I do? |
Hi,
I tried to install Dolfin in OSX via Homebrew. All the installation was successful, with one exception: Dolfin.
I receipt the following error(the complete message is here:: 00.pdf):
Thanks for your attention
[ 6%] Building CXX object dolfin/CMakeFiles/dolfin.dir/common/SubSystemsManager.cpp.o /tmp/dolfin-20160701-11959-1wrbr1d/dolfin-1.6.0/dolfin/common/SubSystemsManager.cpp:182:5: error: no matching function for call to 'PetscOptionsInsert' PetscOptionsInsert(&argc, &argv, PETSC_NULL); ^~~~~~~~~~~~~~~~~~ /usr/local/include/petscoptions.h:39:29: note: candidate function not viable: requires 4 arguments, but 3 were provided PETSC_EXTERN PetscErrorCode PetscOptionsInsert(PetscOptions,int*,char ***,const char[]); ^ /tmp/dolfin-20160701-11959-1wrbr1d/dolfin-1.6.0/dolfin/common/SubSystemsManager.cpp:190:5: error: no matching function for call to 'PetscOptionsSetValue' PetscOptionsSetValue("-mat_mumps_icntl_7", "0"); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/petscoptions.h:30:29: note: candidate function not viable: requires 3 arguments, but 2 were provided PETSC_EXTERN PetscErrorCode PetscOptionsSetValue(PetscOptions,const char[],const char[]); ^ /tmp/dolfin-20160701-11959-1wrbr1d/dolfin-1.6.0/dolfin/common/SubSystemsManager.cpp:191:5: error: no matching function for call to 'PetscOptionsSetValue' PetscOptionsSetValue("-mat_superlu_dist_colperm", "MMD_AT_PLUS_A"); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/petscoptions.h:30:29: note: candidate function not viable: requires 3 arguments, but 2 were provided PETSC_EXTERN PetscErrorCode PetscOptionsSetValue(PetscOptions,const char[],const char[]); ^ /tmp/dolfin-20160701-11959-1wrbr1d/dolfin-1.6.0/dolfin/common/SubSystemsManager.cpp:195:5: error: no matching function for call to 'PetscOptionsInsert' PetscOptionsInsert(&argc, &argv, PETSC_NULL); ^~~~~~~~~~~~~~~~~~ /usr/local/include/petscoptions.h:39:29: note: candidate function not viable: requires 4 arguments, but 3 were provided PETSC_EXTERN PetscErrorCode PetscOptionsInsert(PetscOptions,int*,char ***,const char[]); ^ 4 errors generated. make[2]: *** [dolfin/CMakeFiles/dolfin.dir/common/SubSystemsManager.cpp.o] Error 1 make[1]: *** [dolfin/CMakeFiles/dolfin.dir/all] Error 2 make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: