/[MITgcm]/MITgcm_contrib/test_scripts/ollie/mitgcmtestreport_cray
ViewVC logotype

Diff of /MITgcm_contrib/test_scripts/ollie/mitgcmtestreport_cray

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.3 by mlosch, Tue Jun 21 09:43:58 2016 UTC revision 1.6 by mlosch, Mon Aug 29 15:08:54 2016 UTC
# Line 1  Line 1 
1  #!/bin/bash -e  #!/bin/bash -e
2  # new script for running testreport on ollie.awi.de  # new script for running testreport on ollie.awi.de
3  p# - compile and run on compute nodes  # - compile and run on compute nodes
4  # - use ssh to call mpack command from the head node ollie0  # - use ssh to call mpack command from the head node ollie0
5  #$Header$  #$Header$
6  #$Name$  #$Name$
# Line 10  source /usr/Modules/3.2.10/init/bash Line 10  source /usr/Modules/3.2.10/init/bash
10  source /etc/profile.d/cray_pe.sh  source /etc/profile.d/cray_pe.sh
11  source /etc/profile.d/AWI.sh  source /etc/profile.d/AWI.sh
12  #  #
13    
14  module purge  module purge
15  module load slurm  module load slurm
16  module load craype-broadwell  module load craype-broadwell
17  module load PrgEnv-cray/1.0.0  module load PrgEnv-cray
18  module unload cudatoolkit  #export LD_LIBRARY_PATH=${CRAY_LD_LIBRARY_PATH}:${LD_LIBRARY_PATH}:
19  module swap mvapich2_cce cray-impi  # not sure why I have set these paths here again
20  module load intel/impi-5.1.3  export MPI_ROOT=$(dirname `echo $LD_LIBRARY_PATH  | awk -F: '{print $1}'`)
21  export LD_LIBRARY_PATH=${CRAY_LD_LIBRARY_PATH}:${LD_LIBRARY_PATH}:  export MPI_INC_DIR=${MPI_ROOT}/include
22    
23    
24  dNam='ollie'  dNam='ollie'
25  TST_DIR="/work/ollie/mlosch/test_$dNam"  TST_DIR="/work/ollie/mlosch/test_$dNam"
# Line 31  RUNIT="runit_"$sfx Line 33  RUNIT="runit_"$sfx
33  OPTFILE=../tools/build_options/linux_ia64_${sfx}_ollie  OPTFILE=../tools/build_options/linux_ia64_${sfx}_ollie
34  options="-MPI 6"  options="-MPI 6"
35  options="$options -odir ${dNam}-c"  options="$options -odir ${dNam}-c"
36  p#options="$options -j 6"  #options="$options -j 6"
37  #options="$options -t global_ocean.cs32x15"  #options="$options -t global_ocean.cs32x15"
38    
39  #EXE='mpiexec.hydra -bootstrap slurm -n TR_NPROC ./mitgcmuv'  #EXE='mpiexec.hydra -bootstrap slurm -n TR_NPROC ./mitgcmuv'
# Line 87  fi Line 89  fi
89    
90  cd ${gcmDIR}/verification  cd ${gcmDIR}/verification
91    
92  cwd=`pwd`  cwd=\`pwd\`
93  SENDCMD="ssh ollie0 ${TST_DIR}/${gcmDIR}/tools/mpack-1.6/mpack"  SENDCMD="ssh ollie0 ${TST_DIR}/${gcmDIR}/tools/mpack-1.6/mpack"
94  runtestreport="./testreport $options -of $OPTFILE -command \"${EXE}\" -send \"${SENDCMD}\" -sd ${cwd}"  runtestreport="./testreport $options -of $OPTFILE -command \"${EXE}\" -send \"${SENDCMD}\" -sd ${cwd}"
95    

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.22