source: trunk/NEMOGCM/SETTE/BATCH_TEMPLATE/batch-X64_CURIE @ 8468

Last change on this file since 8468 was 8468, checked in by flavoni, 4 years ago

#1936: add in sette_rpt.sh difference of SAS restart_ice files

  • Property svn:executable set to *
File size: 2.0 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 -ra2286             # 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="mpirun -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 unload netcdf
34module unload hdf5
35module load netcdf/4.3.3.1_hdf5_parallel
36module load hdf5/1.8.12_parallel
37
38# Don't remove neither change the following line
39# BODY
40
41#
42# These variables are needed by post_test_tidyup function in all_functions.sh
43#
44  export EXE_DIR=DEF_EXE_DIR
45  export INPUT_DIR=DEF_INPUT_DIR
46  export CONFIG_DIR=DEF_CONFIG_DIR
47  export TOOLS_DIR=DEF_TOOLS_DIR
48  export NEMO_VALIDATION_DIR=DEF_NEMO_VALIDATION
49  export NEW_CONF=DEF_NEW_CONF
50  export CMP_NAM=DEF_CMP_NAM
51  export TEST_NAME=DEF_TEST_NAME
52#
53# end of set up
54###############################################################
55#
56# change to the working directory
57#
58cd ${EXE_DIR}
59
60  echo Running on host `hostname`
61  echo Time is `date`
62  echo Directory is `pwd`
63#
64#  Run the parallel MPI executable
65#
66  echo "Running time ${MPIRUN} ./opa"
67#
68  if [ MPI_FLAG == "yes" ]; then
69     time ${MPIRUN} ./opa
70  else
71     time ./opa
72  fi
73
74#
75  post_test_tidyup
76
77# END_BODY
78# Don't remove neither change the previous line
79
80
81  exit
82
Note: See TracBrowser for help on using the repository browser.