New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 3294 for trunk/NEMOGCM/SETTE/BATCH_TEMPLATE/sette_batch_template – NEMO

Ignore:
Timestamp:
2012-01-28T17:44:18+01:00 (12 years ago)
Author:
rblod
Message:

Merge of 3.4beta into the trunk

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  
    1414# @ queue 
    1515 
     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 
    1623############################################################### 
    1724# 
     
    2027# Local settings for machine IBM Power6 (VARGAS at IDRIS France) 
    2128# 
    22 export MPIRUN="mpiexec -n" 
     29export MPIRUN="mpiexec -n $OCEANCORES" 
     30 
    2331# 
    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) 
    2633# 
    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 
    2940# 
    3041# These variables are needed by post_test_tidyup function in all_functions.sh 
     
    3950# 
    4051# end of set up 
     52 
     53 
    4154############################################################### 
    4255# 
     
    4558cd ${EXE_DIR} 
    4659 
    47 # 
    48 # load sette functions (only post_test_tidyup needed) 
    49 # 
    50   . ${SETTE_DIR}/all_functions.sh 
    51 # 
    5260  echo Running on host `hostname` 
    5361  echo Time is `date` 
     
    5664#  Run the parallel MPI executable  
    5765# 
    58   echo "Running time ${MPIRUN} " $OCEANCORES " ./opa" 
     66  echo "Running time ${MPIRUN} ./opa" 
    5967# 
    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 
    6176# 
    6277  post_test_tidyup 
     78 
     79# END_BODY 
     80# Don't remove neither change the previous comment line 
     81 
    6382  exit 
Note: See TracChangeset for help on using the changeset viewer.