You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Already downloaded: /Users/nicholas/Library/Caches/Homebrew/dolfin-1.6.0.tar.gz ==> cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/dolfin/1.6.0 -DBUILD_SHARE ==> make Last 15 lines from /Users/nicholas/Library/Logs/Homebrew/dolfin/02.make: 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-20170211-14242-i0fd43/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
and
brew install dolfin --HEAD
getting
`cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/dolfin/HEAD-ca54d8c -DBUIL
Last 15 lines from /Users/nicholas/Library/Logs/Homebrew/dolfin/01.cmake:
Compiling 1 forms in demo/documented/auto-adaptive-poisson/cpp...
ffc -l dolfin -s -O -r auto -e AdaptivePoisson.ufl
Traceback (most recent call last):
File "/tmp/dolfin-20170211-16814-g9tuar/cmake/scripts/generate-form-files.py", line 92, in <module>
ret = ffc.main(args)
AttributeError: 'module' object has no attribute 'main'`
Could you please help me to understand what is missing in the compile process.
Many thanks!
The text was updated successfully, but these errors were encountered:
Sorry FEniCS is giving you trouble. What's missing is time for me to look into this. FEniCS is a moving target and so are its dependencies. I'm currently too busy to try and fix this so any help in the form of pull requests would be greatly appreciated.
I tried both:
brew install dolfin
having this issue
Already downloaded: /Users/nicholas/Library/Caches/Homebrew/dolfin-1.6.0.tar.gz ==> cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/dolfin/1.6.0 -DBUILD_SHARE ==> make Last 15 lines from /Users/nicholas/Library/Logs/Homebrew/dolfin/02.make: 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-20170211-14242-i0fd43/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
and
brew install dolfin --HEAD
getting
`cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/dolfin/HEAD-ca54d8c -DBUIL
Last 15 lines from /Users/nicholas/Library/Logs/Homebrew/dolfin/01.cmake:
Compiling 1 forms in demo/documented/auto-adaptive-poisson/cpp...
ffc -l dolfin -s -O -r auto -e AdaptivePoisson.ufl
Traceback (most recent call last):
AttributeError: 'module' object has no attribute 'main'`
Could you please help me to understand what is missing in the compile process.
Many thanks!
The text was updated successfully, but these errors were encountered: