source: branches/2012/dev_r3438_LOCEAN15_PISLOB/NEMOGCM/SETTE/BATCH_TEMPLATE/batch-X64_CURIE @ 3533

Last change on this file since 3533 was 3533, checked in by flavoni, 8 years ago

update SETTE, add CURIE machine, see ticket: #941

  • Property svn:executable set to *
File size: 1.9 KB
Line 
1#!/bin/bash
2#MSUB -T 3600                # elapsed time limit in seconds   (60 minutes)
3#MSUB -r SETTE_JOB           # Job name
4#MSUB -o sette.jobid_%I.txt  # standard output
5#MSUB -e sette.jobid_%I.txt  # standard error
6
7#======   Thin nodes (1 node = 2 * 8 procs) :   
8#MSUB -n NPROCS              # Total number of mpi task to use
9####  #MSUB -N 2                   # number of nodes to use
10#MSUB -A gen0826             # project name
11#MSUB -q standard            # (queue name) only for thin nodes
12##########################################################################
13#
14# Test specific settings. Do not hand edit these lines; the fcm_job.sh script will set these
15# (via sed operating on this template job file).
16#
17  OCEANCORES=NPROCS
18  export SETTE_DIR=DEF_SETTE_DIR
19#
20# set up mpp computing environment
21#
22# Local settings for machine BULL (TITANE at CCRT France)
23#
24export MPIRUN="ccc_mprun -np $OCEANCORES"
25
26#
27# load sette functions (only post_test_tidyup needed)
28#
29  . ${SETTE_DIR}/all_functions.sh
30#
31
32# modules to load
33module load netcdf
34
35# Don't remove neither change the following line
36# BODY
37
38#
39# These variables are needed by post_test_tidyup function in all_functions.sh
40#
41  export EXE_DIR=DEF_EXE_DIR
42  export INPUT_DIR=DEF_INPUT_DIR
43  export CONFIG_DIR=DEF_CONFIG_DIR
44  export NEMO_VALIDATION_DIR=DEF_NEMO_VALIDATION
45  export NEW_CONF=DEF_NEW_CONF
46  export CMP_NAM=DEF_CMP_NAM
47  export TEST_NAME=DEF_TEST_NAME
48#
49# end of set up
50###############################################################
51#
52# change to the working directory
53#
54cd ${EXE_DIR}
55
56  echo Running on host `hostname`
57  echo Time is `date`
58  echo Directory is `pwd`
59#
60#  Run the parallel MPI executable
61#
62  echo "Running time ${MPIRUN} ./opa"
63#
64  if [ MPI_FLAG == "yes" ]; then
65     time ${MPIRUN} ./opa
66  else
67     time ./opa
68  fi
69
70#
71  post_test_tidyup
72
73# END_BODY
74# Don't remove neither change the previous line
75
76
77  exit
78
Note: See TracBrowser for help on using the repository browser.