Changeset 3294 for trunk/NEMOGCM/SETTE/BATCH_TEMPLATE/batch-PW6_VARGAS
- 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/batch-PW6_VARGAS
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 37 # Don't remove neither change the following line 38 # BODY 39 29 40 # 30 41 # These variables are needed by post_test_tidyup function in all_functions.sh … … 45 56 cd ${EXE_DIR} 46 57 47 #48 # load sette functions (only post_test_tidyup needed)49 #50 . ${SETTE_DIR}/all_functions.sh51 #52 58 echo Running on host `hostname` 53 59 echo Time is `date` … … 56 62 # Run the parallel MPI executable 57 63 # 58 echo "Running time ${MPIRUN} " $OCEANCORES "./opa"64 echo "Running time ${MPIRUN} ./opa" 59 65 # 60 time ${MPIRUN} " $OCEANCORES" ./opa 66 if [ MPI_FLAG == "yes" ]; then 67 time ${MPIRUN} ./opa 68 else 69 time ./opa 70 fi 71 61 72 # 62 73 post_test_tidyup 74 75 # END_BODY 76 # Don't remove neither change the previous line 77 78 63 79 exit
Note: See TracChangeset
for help on using the changeset viewer.