- Timestamp:
- 2021-11-22T17:58:33+01:00 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
utils/CI/sette/BATCH_TEMPLATE/batch-X64_ZEUS
r14561 r15528 72 72 startTime=$(date +%s) 73 73 if [ MPI_FLAG == "yes" ]; then 74 if [ $ USING_MPMD == "yes" ] && [ $XIOS_NUMPROCS-gt 0 ]; then74 if [ ${USING_MPMD} == "yes" ] && [ ${XIOS_NUMPROCS} -gt 0 ]; then 75 75 # XIOS detached mode 76 export MP_PGMMODEL=mpmd 77 export MP_CMDFILE=xioscmdfile 78 rm xioscmdfile &> /dev/null 79 touch xioscmdfile 80 k=0 81 while (( k < $OCEANCORES )) ; do 82 echo ./nemo >> xioscmdfile 83 k=`expr $k + 1` 84 done 85 k=0 86 while (( k < $XIOS_NUMPROCS )) ; do 87 echo $XIOS_SERVER_PATHNAME >> xioscmdfile 88 k=`expr $k + 1` 89 done 76 xioscmdfile="xioscmdfile" 77 # FIX for IMPI and XIOS execution 78 export I_MPI_LIBRARY_KIND="release_mt" 79 source ${I_MPI_ROOT}/intel64/bin/mpivars.sh ${I_MPI_LIBRARY_KIND} 80 # 81 echo "# Configuration file for mpiexec.hydra" > $xioscmdfile 82 echo "-n ${OCEANCORES} ./nemo" >> $xioscmdfile 83 echo "-n ${XIOS_NUMPROCS} ${XIOS_SERVER_PATHNAME}" >> $xioscmdfile 90 84 91 time ${MPIRUN} 85 time ${MPIRUN} -configfile $xioscmdfile 86 92 87 else 93 88 # XIOS attached mode
Note: See TracChangeset
for help on using the changeset viewer.