Changeset 3294 for trunk/NEMOGCM/SETTE/BATCH_TEMPLATE/sette_batch_template
- Timestamp:
- 2012-01-28T17:44:18+01:00 (12 years ago)
- Location:
- trunk/NEMOGCM/SETTE/BATCH_TEMPLATE
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMOGCM/SETTE/BATCH_TEMPLATE/sette_batch_template
r2890 r3294 14 14 # @ queue 15 15 16 # 17 # Test specific settings. Do not hand edit these lines; the fcm_job.sh script will set these 18 # (via sed operating on this template job file). 19 # 20 OCEANCORES=NPROCS 21 export SETTE_DIR=DEF_SETTE_DIR 22 16 23 ############################################################### 17 24 # … … 20 27 # Local settings for machine IBM Power6 (VARGAS at IDRIS France) 21 28 # 22 export MPIRUN="mpiexec -n" 29 export MPIRUN="mpiexec -n $OCEANCORES" 30 23 31 # 24 # Test specific settings. Do not hand edit these lines; the fcm_job.sh script will set these 25 # (via sed operating on this template job file). 32 # load sette functions (only post_test_tidyup needed) 26 33 # 27 OCEANCORES=NPROCS 28 export SETTE_DIR=DEF_SETTE_DIR 34 . ${SETTE_DIR}/all_functions.sh 35 36 # Don't remove neither change the following comment line 37 # BODY 38 39 29 40 # 30 41 # These variables are needed by post_test_tidyup function in all_functions.sh … … 39 50 # 40 51 # end of set up 52 53 41 54 ############################################################### 42 55 # … … 45 58 cd ${EXE_DIR} 46 59 47 #48 # load sette functions (only post_test_tidyup needed)49 #50 . ${SETTE_DIR}/all_functions.sh51 #52 60 echo Running on host `hostname` 53 61 echo Time is `date` … … 56 64 # Run the parallel MPI executable 57 65 # 58 echo "Running time ${MPIRUN} " $OCEANCORES "./opa"66 echo "Running time ${MPIRUN} ./opa" 59 67 # 60 time ${MPIRUN} " $OCEANCORES" ./opa 68 69 if [ MPI_FLAG == "yes" ]; then 70 time ${MPIRUN} ./opa 71 else 72 time ./opa 73 fi 74 75 61 76 # 62 77 post_test_tidyup 78 79 # END_BODY 80 # Don't remove neither change the previous comment line 81 63 82 exit
Note: See TracChangeset
for help on using the changeset viewer.