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 3157 – NEMO

Changeset 3157


Ignore:
Timestamp:
2011-11-18T16:53:48+01:00 (12 years ago)
Author:
epico
Message:

dev_NEMO_MERGE_2011: architecture's batch files adapted to the last version of SETTE

Location:
branches/2011/dev_NEMO_MERGE_2011/NEMOGCM/SETTE/BATCH_TEMPLATE
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2011/dev_NEMO_MERGE_2011/NEMOGCM/SETTE/BATCH_TEMPLATE/batch-PW6_VARGAS

    r2890 r3157  
    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 
  • branches/2011/dev_NEMO_MERGE_2011/NEMOGCM/SETTE/BATCH_TEMPLATE/batch-X64_TITANE

    r3029 r3157  
    66########################################################################## 
    77# 
    8 # set up mpp computing environment 
    9 # 
    10 # Local settings for machine BULL (TITANE at CCRT France) 
    11 # 
    12 export MPIRUN="mpirun -np" 
    13 # 
    148# Test specific settings. Do not hand edit these lines; the fcm_job.sh script will set these 
    159# (via sed operating on this template job file).  
     
    1711  OCEANCORES=NPROCS 
    1812  export SETTE_DIR=DEF_SETTE_DIR 
     13# 
     14# set up mpp computing environment 
     15# 
     16# Local settings for machine BULL (TITANE at CCRT France) 
     17# 
     18export MPIRUN="mpirun -np $OCEANCORES" 
     19 
     20# 
     21# load sette functions (only post_test_tidyup needed) 
     22# 
     23  . ${SETTE_DIR}/all_functions.sh 
     24# 
     25 
     26# modules to load 
     27module load netcdf 
     28 
     29# Don't remove neither change the following line 
     30# BODY 
     31 
    1932# 
    2033# These variables are needed by post_test_tidyup function in all_functions.sh 
     
    2740  export CMP_NAM=DEF_CMP_NAM 
    2841  export TEST_NAME=DEF_TEST_NAME 
    29 # modules to load 
    30 module load netcdf 
    3142# 
    3243# end of set up 
     
    3748cd ${EXE_DIR} 
    3849 
    39 # 
    40 # load sette functions (only post_test_tidyup needed) 
    41 # 
    42   . ${SETTE_DIR}/all_functions.sh 
    43 # 
    4450  echo Running on host `hostname` 
    4551  echo Time is `date` 
     
    4854#  Run the parallel MPI executable  
    4955# 
    50   echo "Running time ${MPIRUN} " $OCEANCORES " ./opa" 
     56  echo "Running time ${MPIRUN} ./opa" 
    5157# 
    52   time ${MPIRUN} " $OCEANCORES" ./opa 
     58  if [ MPI_FLAG == "yes" ]; then 
     59     time ${MPIRUN} ./opa 
     60  else 
     61     time ./opa 
     62  fi 
     63 
    5364# 
    5465  post_test_tidyup 
     66 
     67# END_BODY 
     68# Don't remove neither change the previous line 
     69 
     70 
    5571  exit 
    5672 
Note: See TracChangeset for help on using the changeset viewer.