This version (2024/10/24 10:28) is a draft.
Approvals: 0/1
The Previously approved version (2016/02/17 15:56) is available.Diff

Netgen installation

$ mkdir Netgen
$ cd Netgen
$ mkdir src build inst
$ git clone git://git.code.sf.net/p/netgen-mesher/git src/netgen
$ cd build
$ mkdir netgen
$ cd netgen


$ module load gcc/4.8.2
$ module load cmake/3.1.0
$ module load intel-mkl/11.3
$ module load python/3.4.2
$ module load boost/1.59.0
$ module load openmpi/1.10.0
$ module load metis/5.1.0

$ module list
Currently Loaded Modulefiles:
  1) cmake/3.1.0      2) intel-mkl/11.3   3) gcc/4.8.2        4) python/3.4.2     5) boost/1.59.0     6) openmpi/1.10.0   7) metis/5.1.0

$ export BASEDIR=$HOME/Netgen
$ export METISDIR=/opt/sw/x86_64/glibc-2.12/ivybridge-ep/metis/5.1.0/gcc-4.8.2
$ export PYTHON3DIR=/opt/sw/x86_64/glibc-2.12/ivybridge-ep/python/3.4.2/gnu-4.4.7
$ export BOOSTDIR=/opt/sw/x86_64/glibc-2.12/ivybridge-ep/boost/1.59.0


$ cmake -DINSTALL_DIR=${BASEDIR}/inst -DCMAKE_BUILD_TYPE=RELEASE -DPYTHON_LIBRARY=$PYTHON3DIR/lib/libpython3.4m.so -DBoost_DIR=$BOOSTDIR  -DBoost_INCLUDE_DIR=$BOOSTDIR/include -DUSE_MPI=ON -DMETIS_LIBRARY=$METISDIR/lib/libmetis.a -DUSE_JPEG=ON ../../src/netgen
  • doku/netgen.txt
  • Last modified: 2024/10/24 10:28
  • by 127.0.0.1