[MacPorts] #42306: error installing fenics/dolfin
#42306: error installing fenics/dolfin ------------------------------+-------------------------------- Reporter: peter.lichtner@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: dolfin ------------------------------+-------------------------------- 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 -- Ticket URL: <https://trac.macports.org/ticket/42306> MacPorts <http://www.macports.org/> Ports system for OS X
#42306: error installing fenics/dolfin -------------------------------+-------------------------------- Reporter: peter.lichtner@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: dolfin | -------------------------------+-------------------------------- Comment (by sean@…): Did you try to install boost +mpich? {{{ $ sudo port -v install boost +mpich }}} -- Ticket URL: <https://trac.macports.org/ticket/42306#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#42306: error installing fenics/dolfin -------------------------------+-------------------------------- Reporter: peter.lichtner@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: invalid | Keywords: Port: dolfin | -------------------------------+-------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => invalid Old description:
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
New description: 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 }}} -- -- Ticket URL: <https://trac.macports.org/ticket/42306#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#42306: error installing fenics/dolfin -------------------------------+-------------------------------- Reporter: peter.lichtner@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: invalid | Keywords: Port: dolfin | -------------------------------+-------------------------------- Comment (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: http://guide.macports.org/#project.tickets Error: Processing of port dolfin failed -- Ticket URL: <https://trac.macports.org/ticket/42306#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#42306: error installing fenics/dolfin -------------------------------+-------------------------------- Reporter: peter.lichtner@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: dolfin | -------------------------------+-------------------------------- Changes (by sean@…): * status: closed => reopened * resolution: invalid => Comment: Replying to [comment:3 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: http://guide.macports.org/#project.tickets 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 :-) -- Ticket URL: <https://trac.macports.org/ticket/42306#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#42306: error installing fenics/dolfin -------------------------------+-------------------- Reporter: peter.lichtner@… | Owner: sean@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: dolfin | -------------------------------+-------------------- Changes (by sean@…): * status: reopened => new * owner: macports-tickets@… => sean@… -- Ticket URL: <https://trac.macports.org/ticket/42306#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#42306: error installing fenics/dolfin -------------------------------+-------------------- Reporter: peter.lichtner@… | Owner: sean@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: dolfin | -------------------------------+-------------------- Comment (by sean@…): Peter, can you post the output of the following: {{{ $ port select --list python $ python --version $ python -c 'import ufc' $ port contents ufc }} -- Ticket URL: <https://trac.macports.org/ticket/42306#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#42306: error installing fenics/dolfin -------------------------------+-------------------- Reporter: peter.lichtner@… | Owner: sean@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: dolfin | -------------------------------+-------------------- Comment (by peter.lichtner@…): Replying to [comment:6 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 -- Ticket URL: <https://trac.macports.org/ticket/42306#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#42306: error installing fenics/dolfin -------------------------------+-------------------- Reporter: peter.lichtner@… | Owner: sean@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: dolfin | -------------------------------+-------------------- Comment (by sean@…): Thanks! I think I'm able to reproduce this now. Going to work on a fix. -- Ticket URL: <https://trac.macports.org/ticket/42306#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#42306: error installing fenics/dolfin -------------------------------+-------------------- Reporter: peter.lichtner@… | Owner: sean@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: Port: dolfin | -------------------------------+-------------------- Changes (by sean@…): * status: new => closed * resolution: => fixed Comment: 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 }}} -- Ticket URL: <https://trac.macports.org/ticket/42306#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#42306: error installing fenics/dolfin -------------------------------+-------------------- Reporter: peter.lichtner@… | Owner: sean@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: Port: dolfin | -------------------------------+-------------------- Comment (by peter.lichtner@…): Replying to [comment:9 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 -- Ticket URL: <https://trac.macports.org/ticket/42306#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#42306: error installing fenics/dolfin -------------------------------+-------------------- Reporter: peter.lichtner@… | Owner: sean@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: Port: dolfin | -------------------------------+-------------------- Comment (by sean@…): Awesome! That's great to hear! -- Ticket URL: <https://trac.macports.org/ticket/42306#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts