Hello, I did it both on my ubuntu and macs. For ubuntu I have
import sys print sys.executable /home/fpoulin/software/firedrake/bin/python print sys.path ['', '/home/fpoulin/software/firedrake/local/lib/python2.7/site-packages/h5py-2.5.0-py2.7-linux-x86_64.egg', '/home/fpoulin/software/firedrake/lib/python2.7/site-packages/h5py-2.5.0-py2.7-linux-x86_64.egg', '/home/fpoulin/software/pyro2', '/home/fpoulin/Code/spins/src/SPINSpy', '/home/fpoulin/software/clawpack-5.2.2', '/home/fpoulin/software/firedrake/src/firedrake', '/home/fpoulin/software/firedrake/lib/python2.7', '/home/fpoulin/software/firedrake/lib/python2.7/plat-x86_64-linux-gnu', '/home/fpoulin/software/firedrake/lib/python2.7/lib-tk', '/home/fpoulin/software/firedrake/lib/python2.7/lib-old', '/home/fpoulin/software/firedrake/lib/python2.7/lib-dynload', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/home/fpoulin/software/firedrake/local/lib/python2.7/site-packages', '/home/fpoulin/software/firedrake/lib/python2.7/site-packages']
I see that sys.executable is pointing to bin/python in my firedrake installation. On the mac, which doesn't work, it's pointing to /user/local/opt. There is also a lot of other junk in my path that I should probably clean up. I use homebrew but clearly I'm not very able at doing things efficiently.
print sys.executable /usr/local/opt/python/bin/python2.7 print sys.path ['', '/usr/local/lib/python2.7/site-packages/cbcdns-1.0.0-py2.7.egg', '/Users/fpoulin/software/pyqg', '/Users/fpoulin/software/pyro2', '/Users/fpoulin/software/SPINSpy', '/Users/fpoulin/software/firedrake/src/firedrake', '/Library/Python/2.7/lib/python/site-packages', '/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python27.zip', '/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7', '/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin', '/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac', '/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages', '/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk', '/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old', '/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload', '/Users/fpoulin/Library/Python/2.7/lib/python/site-packages', '/usr/local/lib/python2.7/site-packages', '/Library/Python/2.7/site-packages/distarray-0.6.0_dev-py2.7.egg', '/Library/Python/2.7/site-packages/numpy-1.9.2-py2.7-macosx-10.9-intel.egg', '/Library/Python/2.7/site-packages/pip-7.1.0-py2.7.egg', '/Library/Python/2.7/site-packages']
As for the problem that I had, I used the following: PETSC_CONFIGURE_OPTIONS="--download-ctetgen --download-triangle --download-chaco --download-metis --download-parmetis --download-scalapack --download-hypre --download-mumps --download-netcdf --download-hdf5 --download-exodusii" 517 python firedrake-install 518 . firedrake/bin/activate 519 firedrake/bin/firedrake-update 520 firedrake-install 521 firedrake/bin/firedrake-update It seemed strange to do firedrake-install after updating but that's what I understand the instructions to say. Maybe I misread it. If yes, I'm sorry about my confusion. Francis ------------------ Francis Poulin Associate Professor Department of Applied Mathematics University of Waterloo email: fpoulin@uwaterloo.ca Web: https://uwaterloo.ca/poulin-research-group/ Telephone: +1 519 888 4567 x32637