- Timestamp:
- 2014-01-26T10:51:51+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2013/dev_MERGE_2013/NEMOGCM/SETTE/BATCH_TEMPLATE/batch-gfortran_athena_xios
r4237 r4373 2 2 #! 3 3 #BSUB -q poe_short 4 #BSUB -n NPROCS4 #BSUB -n TOTAL_NPROCS 5 5 #BSUB -a poe 6 6 #BSUB -J MPI_config … … 15 15 # 16 16 OCEANCORES=NPROCS 17 XIOS_NUMPROCS=NXIOPROCS 17 18 export SETTE_DIR=DEF_SETTE_DIR 18 19 … … 27 28 28 29 export MPIRUN="mpirun.lsf" 30 export LANG=en_US 31 export NLSPATH=/opt/ibmhpc/pecurrent/base/msg/%L/%N:$NLSPATH 32 export MP_LABELIO=yes 33 export MP_STDOUTMODE=unordered 34 export MP_EUILIB=us 35 export MP_INFOLEVEL=0 36 export MP_EUIDEVELOP=min 37 export MP_INSTANCES=1 38 export MP_SHARED_MEMORY=yes 39 export MP_EAGER_LIMIT_LOCAL=2000000000 40 export MP_EUIDEVICE=sn_single 41 export MP_BULK_MIN_MSG_SIZE=16384 42 export MP_POLLING_INTERVAL=1000000 43 export MP_DEVTYPE=ib 44 export MP_EAGER_LIMIT=262144 45 export MP_TASK_AFFINITY=core 46 export MP_BINDPROC=yes 47 export MP_DEBUG_CHECK_PARAM=no 48 export MP_MSG_API=mpi 49 export MP_USE_BULK_XFER=yes 50 export MP_WAIT_MODE=poll 51 export LDR_CNTRL=TEXTPSIZE=64K@STACKPSIZE=64K@DATAPSIZE=64K 52 export LD_LIBRARY_PATH=/users/home/ans040/local/lib:${LD_LIBRARY_PATH} 53 54 XIOS_SERVER_PATHNAME="/users/home/ans040/SOFTWARE/XIOS/trunk/bin/xios_server.exe" 55 29 56 30 57 # … … 68 95 69 96 if [ MPI_FLAG == "yes" ]; then 70 time ${MPIRUN} ./opa 97 if [ $XIOS_NUMPROCS -eq 0 ]; then 98 time ${MPIRUN} ./opa 99 else 100 101 export MP_PGMMODEL=mpmd 102 export MP_CMDFILE=xioscmdfile 103 rm xioscmdfile &> /dev/null 104 touch xioscmdfile 105 k=0 106 while (( k < $OCEANCORES )) ; do 107 echo ./opa >> xioscmdfile 108 k=`expr $k + 1` 109 done 110 k=0 111 while (( k < $XIOS_NUMPROCS )) ; do 112 echo $XIOS_SERVER_PATHNAME >> xioscmdfile 113 k=`expr $k + 1` 114 done 115 116 time ${MPIRUN} 117 fi 71 118 else 72 119 time ./opa
Note: See TracChangeset
for help on using the changeset viewer.