From Documentation
Fenics
Run FEniCS on iqaluk
module purge export LD_LIBRARY_PATH=/home/ppomorsk/linsoft/openmpi-1.6-install/lib:$LD_LIBRARY_PATH export PATH=/home/ppomorsk/linsoft/openmpi-1.6-install/bin:$PATH source /tmp/fenics/Work/FEniCS/share/dolfin/dolfin.conf export LD_LIBRARY_PATH=/home/ppomorsk/linsoft/boostinstall/lib/:$LD_LIBRARY_PATH export BOOST_DIR=/home/ppomorsk/linsoft/boostinstall/ cd /tmp/fenics/Work/FEniCS/share/dolfin/demo/pde/poisson/python python demo_poisson.py
Compile FEniCS on iqaluk
module purge export LD_LIBRARY_PATH=/home/ppomorsk/linsoft/openmpi-1.6-install/lib:$LD_LIBRARY_PATH export PATH=/home/ppomorsk/linsoft/openmpi-1.6-install/bin:$PATH
This enables the openmpi library.
Install using dorsal. Download dorsal-1.0.0 and unpack it (somewhere in /tmp for fast compile), cd into it:
cp FEniCS/platforms/supported/rhel6.platform FEniCS/platforms/supported/rhel6iqaluk.platform
edit FEniCS/platforms/supported/rhel6iqaluk.platform so it contains
# Platform specific variables default PETSC_ARCH=linux-gnu-cxx-opt default SCOTCH_ARCH=pc_linux2 default UMFPACK_INCLUDE_DIR=/usr/include/suitesparse/ default BOOST_ROOT=/home/ppomorsk/linsoft/boostinstall/ default BOOST_INCLUDEDIR=/home/ppomorsk/linsoft/boostinstall/include default BOOST_LIBRARYDIR=/home/ppomorsk/linsoft/boostinstall/lib default BOOST_USE_MULTITHREADED=OFF
(in this way FEniCS will use a Boost library compiled separately)
Remove vtk from list of packages to be installed (but keep vtkdata)
Modify the dorsal.cfg file, specify Work directory . Then run dorsal.
./dorsal.sh FEniCS/platforms/supported/rhel6iqaluk.platform