| 12 |
# |
# |
| 13 |
|
|
| 14 |
module purge |
module purge |
|
module load slurm |
|
| 15 |
module load craype-broadwell |
module load craype-broadwell |
| 16 |
module load PrgEnv-cray |
module load PrgEnv-cray |
| 17 |
|
# to me this looks like a terrible hack, but that is what we are supposed |
| 18 |
|
# to use now |
| 19 |
|
module unload craype-network-infiniband cudatoolkit mvapich2_cce |
| 20 |
|
module load craype-network-opa |
| 21 |
|
module load mvapich2_cce |
| 22 |
|
module load netcdf |
| 23 |
#export LD_LIBRARY_PATH=${CRAY_LD_LIBRARY_PATH}:${LD_LIBRARY_PATH}: |
#export LD_LIBRARY_PATH=${CRAY_LD_LIBRARY_PATH}:${LD_LIBRARY_PATH}: |
| 24 |
# not sure why I have set these paths here again |
# not sure why I have set these paths here again |
| 25 |
export MPI_ROOT=$(dirname `echo $LD_LIBRARY_PATH | awk -F: '{print $1}'`) |
export MPI_ROOT=$(dirname $(dirname `which mpicc`)) |
| 26 |
|
# $(dirname `echo $LD_LIBRARY_PATH | awk -F: '{print $1}'`) |
| 27 |
export MPI_INC_DIR=${MPI_ROOT}/include |
export MPI_INC_DIR=${MPI_ROOT}/include |
| 28 |
|
|
| 29 |
|
# there is no slurm module anymore and this is the current recommendation to |
| 30 |
|
# have sbatch in your path (rather than running /etc/profile.d./slurm.sh) |
| 31 |
|
export PATH=${PATH}:/global/opt/slurm/default/bin |
| 32 |
|
|
| 33 |
dNam='ollie' |
dNam='ollie' |
| 34 |
TST_DIR="/work/ollie/mlosch/test_$dNam" |
TST_DIR="/work/ollie/mlosch/test_$dNam" |
| 126 |
# cfc_example, fizhi, tutorial_deep_convection |
# cfc_example, fizhi, tutorial_deep_convection |
| 127 |
ulimit -s unlimited |
ulimit -s unlimited |
| 128 |
|
|
| 129 |
|
# # for debugging |
| 130 |
|
# export FLEXLM_DIAGNOSTICS=2 |
| 131 |
|
# export FNP_IP_ENV=1 |
| 132 |
|
# export LM_A_CONN_TIMEOUT=99 |
| 133 |
|
|
| 134 |
cd \${SLURM_SUBMIT_DIR} |
cd \${SLURM_SUBMIT_DIR} |
| 135 |
|
|
| 136 |
cwd=`pwd` |
cwd=`pwd` |