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.
batch-X64_CURIE in branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/SETTE/BATCH_TEMPLATE – NEMO

source: branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/SETTE/BATCH_TEMPLATE/batch-X64_CURIE @ 5403

Last change on this file since 5403 was 5403, checked in by smasson, 9 years ago

dev_r5218_CNRS17_coupling: sette ok

  • 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 NEMO_VALIDATION_DIR=DEF_NEMO_VALIDATION
48  export NEW_CONF=DEF_NEW_CONF
49  export CMP_NAM=DEF_CMP_NAM
50  export TEST_NAME=DEF_TEST_NAME
51#
52# end of set up
53###############################################################
54#
55# change to the working directory
56#
57cd ${EXE_DIR}
58
59  echo Running on host `hostname`
60  echo Time is `date`
61  echo Directory is `pwd`
62#
63#  Run the parallel MPI executable
64#
65  echo "Running time ${MPIRUN} ./opa"
66#
67  if [ MPI_FLAG == "yes" ]; then
68     time ${MPIRUN} ./opa
69  else
70     time ./opa
71  fi
72
73#
74  post_test_tidyup
75
76# END_BODY
77# Don't remove neither change the previous line
78
79
80  exit
81
Note: See TracBrowser for help on using the repository browser.