From Documentation
Jump to: navigation, search
(FEniCS instructions)
 
m (Compile FEniCS on iqaluk)
Line 25: Line 25:
 
This enables the openmpi library.
 
This enables the openmpi library.
  
Install using dorsal.  Download dorsal01.0.0 and unpack it (somewhere in /tmp for fast compile), cd into it:
+
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 package to be installed (but keep vtkdata)
+
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.

Revision as of 14:52, 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

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