Opened 11 years ago

Closed 11 years ago

Last modified 10 years ago

#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)

main.log (78.0 KB) - added by peter.lichtner@… 11 years ago.
screen.txt (10.0 KB) - added by peter.lichtner@… 11 years ago.
dolfin_main.log (114.0 KB) - added by peter.lichtner@… 11 years ago.

Download all attachments as: .zip

Change History (16)

Changed 11 years ago by peter.lichtner@…

Attachment: main.log added

Changed 11 years ago by peter.lichtner@…

Attachment: screen.txt added

comment:1 Changed 11 years ago by seanfarley (Sean Farley)

Did you try to install boost +mpich?

$ sudo port -v install boost +mpich

comment:2 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Resolution: invalid
Status: newclosed

Changed 11 years ago by peter.lichtner@…

Attachment: dolfin_main.log added

comment:3 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:

http://guide.macports.org/#project.tickets

Error: Processing of port dolfin failed

comment:4 in reply to:  3 Changed 11 years ago by seanfarley (Sean Farley)

Resolution: invalid
Status: closedreopened

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:

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 :-)

comment:5 Changed 11 years ago by seanfarley (Sean Farley)

Owner: changed from macports-tickets@… to sean@…
Status: reopenednew

comment:6 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
Last edited 11 years ago by seanfarley (Sean Farley) (previous) (diff)

comment:7 in reply to:  6 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 Changed 11 years ago by seanfarley (Sean Farley)

Resolution: fixed
Status: newclosed

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 in reply to:  9 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

comment:11 Changed 11 years ago by seanfarley (Sean Farley)

Awesome! That's great to hear!

comment:12 Changed 10 years ago by eld.khattatov@…

Cc: eld.khattatov@… added

Cc Me!

comment:13 Changed 10 years ago by eld.khattatov@…

Cc: eld.khattatov@… removed

Cc Me!

Note: See TracTickets for help on using tickets.