From Documentation
(FEniCS instructions) |
(→Compile FEniCS on iqaluk) |
||
(One intermediate revision by the same user not shown) | |||
Line 25: | Line 25: | ||
This enables the openmpi library. | This enables the openmpi library. | ||
− | Install using dorsal. Download | + | Install using dorsal. Download dorsal-1.0.0 and unpack it (somewhere in /tmp for fast compile), cd into it: |
<source lang="bash"> | <source lang="bash"> | ||
cp FEniCS/platforms/supported/rhel6.platform FEniCS/platforms/supported/rhel6iqaluk.platform | cp FEniCS/platforms/supported/rhel6.platform FEniCS/platforms/supported/rhel6iqaluk.platform | ||
Line 43: | Line 43: | ||
default BOOST_USE_MULTITHREADED=OFF | default BOOST_USE_MULTITHREADED=OFF | ||
</source> | </source> | ||
− | Remove vtk from list of | + | (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. | Modify the dorsal.cfg file, specify Work directory . Then run dorsal. |
Latest revision as of 15:08, 14 June 2012
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