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/batch-PW6_VARGAS – 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/batch-PW6_VARGAS

    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 
     37# Don't remove neither change the following line 
     38# BODY 
     39 
    2940# 
    3041# These variables are needed by post_test_tidyup function in all_functions.sh 
     
    4556cd ${EXE_DIR} 
    4657 
    47 # 
    48 # load sette functions (only post_test_tidyup needed) 
    49 # 
    50   . ${SETTE_DIR}/all_functions.sh 
    51 # 
    5258  echo Running on host `hostname` 
    5359  echo Time is `date` 
     
    5662#  Run the parallel MPI executable  
    5763# 
    58   echo "Running time ${MPIRUN} " $OCEANCORES " ./opa" 
     64  echo "Running time ${MPIRUN} ./opa" 
    5965# 
    60   time ${MPIRUN} " $OCEANCORES" ./opa 
     66  if [ MPI_FLAG == "yes" ]; then 
     67     time ${MPIRUN} ./opa 
     68  else 
     69     time ./opa 
     70  fi 
     71 
    6172# 
    6273  post_test_tidyup 
     74 
     75# END_BODY 
     76# Don't remove neither change the previous line 
     77 
     78 
    6379  exit 
Note: See TracChangeset for help on using the changeset viewer.