Commit 1eaea933 authored by Luke Bovard's avatar Luke Bovard
Browse files

updating hazelhen documentation

parent 56a8a51c
...@@ -34,3 +34,5 @@ ...@@ -34,3 +34,5 @@
*.ilg *.ilg
*.ind *.ind
*.ist *.ist
*.swp
...@@ -247,7 +247,49 @@ but TBB by default is not built statically so add the following to the ...@@ -247,7 +247,49 @@ but TBB by default is not built statically so add the following to the
\begin{code} \begin{code}
-dynamic -ltbb -dynamic -ltbb
\end{code} \end{code}
i.e. before the link command. i.e. before the link command. The environment used is as follows
\begin{code}
module switch PrgEnv-cray PrgEnv-intel
export COMPILER="Intel"
export DISTRIBUTEDMEM=MPI
export EXAHYPE_CC="CC"
export EXAHYPE_FC="ftn"
export MODE="Release"
export SHAREDMEM=TBB
export TBB_PATH=$INTEL_PATH/tbb
export TBB_INC="-I${TBB_PATH}/include"
export TBB_SHLIB="-L${TBB_PATH}/lib/intel64/gcc4.7 -ltbb"
export CRAYPE_LINK_TYPE=dynamic
\end{code}
To run a simulation on Hazelhen, the following are required for the
submit script, in addition to the normal variables
\begin{code}
#PBS -m abe
#PBS -l nodes=5:ppn=24
#PBS -q test
module switch PrgEnv-cray PrgEnv-intel
module swap intel intel/18.0.1.163
export TBB_PATH=$INTEL_PATH/tbb
export TBB_INC="-I${TBB_PATH}/include"
export TBB_SHLIB="-L${TBB_PATH}/lib/intel64/gcc4.7 -dynamic -ltbb"
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$TBB_PATH/lib/intel64/gcc4.7
export KMP_AFFINITY=disabled
aprun -cc none -n 30 -N 6 -d 4 ./ExaHyPE $SPECFILE
\end{code}
where $n$ is the number of MPI ranks, $N$ is the number of nodes, $d$ is
the number of threads.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment