cc_staff
229
edits
(extra flag no needed) |
(mshr) |
||
Line 58: | Line 58: | ||
</translate> | </translate> | ||
==Fenics addons== | |||
First install FEniCS following instructions above. | |||
===mshr=== | |||
{{File | |||
|name=mshr_install.sh | |||
|lang="sh" | |||
|contents= | |||
module load hdf5-mpi/1.8.18 boost eigen python/3 python35-scipy-stack/2017a petsc/3.7.5 fftw-mpi/3.3.6 | |||
export CMAKE_PREFIX_PATH=/home/$USER/software/dolfin/share/dolfin/cmake/:$CMAKE_PREFIX_PATH | |||
git clone https://bitbucket.org/fenics-project/mshr.git | |||
cd mshr | |||
mkdir build | |||
cd build | |||
cmake .. -DCMAKE_INSTALL_PREFIX=$HOME/software/mshr -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_RPATH=ON | |||
make | |||
make install | |||
}} |