#42306 closed defect (fixed)
error installing fenics/dolfin
Reported by: | peter.lichtner@… | Owned by: | seanfarley (Sean Farley) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.1 |
Keywords: | Cc: | ||
Port: | dolfin |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
Got through petsc but now:
sudo port install dolfin ... ---> Cleaning slepc ---> Fetching archive for dolfin ---> Attempting to fetch dolfin-1.3.0_0+cgal+mpich+parmetis+petsc+slepc+suitesparse.darwin_13.x86_64.tbz2 from http://packages.macports.org/dolfin ---> Attempting to fetch dolfin-1.3.0_0+cgal+mpich+parmetis+petsc+slepc+suitesparse.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/dolfin ---> Attempting to fetch dolfin-1.3.0_0+cgal+mpich+parmetis+petsc+slepc+suitesparse.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/dolfin ---> Fetching distfiles for dolfin ---> Attempting to fetch dolfin-1.3.0.tar.gz from http://distfiles.macports.org/dolfin ---> Verifying checksums for dolfin ---> Extracting dolfin ---> Configuring dolfin Error: Install boost +mpich Error: org.macports.configure for port dolfin returned: boost +mpich not installed Please see the log file for port dolfin for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_dolfin/dolfin/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port dolfin failed
Attachments (3)
Change History (16)
Changed 11 years ago by peter.lichtner@…
Changed 11 years ago by peter.lichtner@…
Attachment: | screen.txt added |
---|
comment:1 Changed 11 years ago by seanfarley (Sean Farley)
comment:2 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Resolution: | → invalid |
Status: | new → closed |
Changed 11 years ago by peter.lichtner@…
Attachment: | dolfin_main.log added |
---|
comment:3 follow-up: 4 Changed 11 years ago by peter.lichtner@…
After installing boost I now get the error:
[gravenstein-2:~] lichtner% sudo port clean dolfin ---> Cleaning dolfin [gravenstein-2:~] lichtner% sudo port install dolfin ---> Computing dependencies for dolfin ---> Fetching archive for dolfin ---> Attempting to fetch dolfin-1.3.0_0+cgal+mpich+parmetis+petsc+slepc+suitesparse.darwin_13.x86_64.tbz2 from http://packages.macports.org/dolfin ---> Attempting to fetch dolfin-1.3.0_0+cgal+mpich+parmetis+petsc+slepc+suitesparse.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/dolfin ---> Attempting to fetch dolfin-1.3.0_0+cgal+mpich+parmetis+petsc+slepc+suitesparse.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/dolfin ---> Fetching distfiles for dolfin ---> Verifying checksums for dolfin ---> Extracting dolfin ---> Configuring dolfin Error: org.macports.configure for port dolfin returned: configure failure: command execution failed Please see the log file for port dolfin for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_dolfin/dolfin/main.log
To report a bug, follow the instructions in the guide:
Error: Processing of port dolfin failed
comment:4 Changed 11 years ago by seanfarley (Sean Farley)
Resolution: | invalid |
---|---|
Status: | closed → reopened |
Replying to peter.lichtner@…:
After installing boost I now get the error:
[gravenstein-2:~] lichtner% sudo port clean dolfin ---> Cleaning dolfin [gravenstein-2:~] lichtner% sudo port install dolfin ---> Computing dependencies for dolfin ---> Fetching archive for dolfin ---> Attempting to fetch dolfin-1.3.0_0+cgal+mpich+parmetis+petsc+slepc+suitesparse.darwin_13.x86_64.tbz2 from http://packages.macports.org/dolfin ---> Attempting to fetch dolfin-1.3.0_0+cgal+mpich+parmetis+petsc+slepc+suitesparse.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/dolfin ---> Attempting to fetch dolfin-1.3.0_0+cgal+mpich+parmetis+petsc+slepc+suitesparse.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/dolfin ---> Fetching distfiles for dolfin ---> Verifying checksums for dolfin ---> Extracting dolfin ---> Configuring dolfin Error: org.macports.configure for port dolfin returned: configure failure: command execution failed Please see the log file for port dolfin for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_dolfin/dolfin/main.log
To report a bug, follow the instructions in the guide:
Error: Processing of port dolfin failed
Damn, ok, I forgot to put QT and VTK as a dependency of Dolfin but that's not the error here. It seems that the reason it failed is:
Fatal Python error: PyThreadState_Get: no current thread
which usually means that something is linking against the wrong python. I'll try to reproduce on my machine. Also, thanks for testing this for me :-)
comment:5 Changed 11 years ago by seanfarley (Sean Farley)
Owner: | changed from macports-tickets@… to sean@… |
---|---|
Status: | reopened → new |
comment:6 follow-up: 7 Changed 11 years ago by seanfarley (Sean Farley)
Peter, can you post the output of the following:
$ port select --list python $ python --version $ python -c 'import ufc' $ port contents ufc
comment:7 Changed 11 years ago by peter.lichtner@…
Replying to sean@…:
Peter, can you post the output of the following:
$ port select --list python $ python --version $ python -c 'import ufc' $ port contents ufc
[gravenstein-2:~/projects/FEniCS/macports] lichtner% port select --list python Available versions for python:
none (active) python25-apple python26-apple python27 python27-apple
[gravenstein-2:~/projects/FEniCS/macports] lichtner% python --version Python 2.7.5 [gravenstein-2:~/projects/FEniCS/macports] lichtner% python -c 'import ufc' Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named ufc [gravenstein-2:~/projects/FEniCS/macports] lichtner% port contents ufc Port ufc contains:
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ufc/init.py /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ufc/_ufc.so /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ufc/ufc.py /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ufc_utils/init.py /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ufc_utils/build.py /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ufc_utils/dofmap.py /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ufc_utils/finite_element.py /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ufc_utils/form.py /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ufc_utils/function.py /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ufc_utils/integrals.py /opt/local/include/swig/ufc.i /opt/local/include/ufc.h /opt/local/include/ufc_geometry.h /opt/local/lib/pkgconfig/ufc-1.pc /opt/local/share/ufc/UFCConfig.cmake /opt/local/share/ufc/UFCConfigVersion.cmake /opt/local/share/ufc/UseUFC.cmake
comment:8 Changed 11 years ago by seanfarley (Sean Farley)
Thanks! I think I'm able to reproduce this now. Going to work on a fix.
comment:9 follow-up: 10 Changed 11 years ago by seanfarley (Sean Farley)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Alright, I think this is fixed in r116593. Update your port tree and re-run the install command for dolfin. Hopefully, this time it will finish installing :-) After it finishes installing, you can test a demo by running:
$ python2.7 /opt/local/share/dolfin/demo/documented/poisson/python/demo_poisson.py
comment:10 Changed 11 years ago by peter.lichtner@…
Replying to sean@…:
Alright, I think this is fixed in r116593. Update your port tree and re-run the install command for dolfin. Hopefully, this time it will finish installing :-) After it finishes installing, you can test a demo by running:
$ python2.7 /opt/local/share/dolfin/demo/documented/poisson/python/demo_poisson.py
This case is closed! Ran both Poisson and Cahn-Hilliard demos without a problem!! Many thanks, ...Peter
Did you try to install boost +mpich?