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_TITANE in branches/2011/dev_r2855_LOCEAN7_SETTE/NEMOGCM/SETTE/BATCH_TEMPLATE – NEMO

source: branches/2011/dev_r2855_LOCEAN7_SETTE/NEMOGCM/SETTE/BATCH_TEMPLATE/batch-X64_TITANE @ 2890

Last change on this file since 2890 was 2890, checked in by flavoni, 13 years ago

update SETTE

  • Property svn:executable set to *
File size: 1.4 KB
Line 
1#!/bin/bash
2#!
3#MSUB -r DEF_TEST_NAME          # Nom du job               
4#MSUB -n NPROCS                 # Reservation de 16 processus
5#MSUB -T 10                     # Limite de temps elapsed du job ici 10 min     
6#MSUB -q test
7###############################################################
8#
9# set up mpp computing environment
10#
11# Local settings for machine BULL (TITANE at CCRT France)
12#
13export MPIRUN="mpirun -np"
14#
15# Test specific settings. Do not hand edit these lines; the fcm_job.sh script will set these
16# (via sed operating on this template job file).
17#
18  OCEANCORES=NPROCS
19  export SETTE_DIR=DEF_SETTE_DIR
20#
21# These variables are needed by post_test_tidyup function in all_functions.sh
22#
23  export EXE_DIR=DEF_EXE_DIR
24  export INPUT_DIR=DEF_INPUT_DIR
25  export CONFIG_DIR=DEF_CONFIG_DIR
26  export NEMO_VALIDATION_DIR=DEF_NEMO_VALIDATION
27  export NEW_CONF=DEF_NEW_CONF
28  export CMP_NAM=DEF_CMP_NAM
29  export TEST_NAME=DEF_TEST_NAME
30# modules to load
31module load netcdf
32#
33# end of set up
34###############################################################
35#
36# change to the working directory
37#
38cd ${EXE_DIR}
39
40#
41# load sette functions (only post_test_tidyup needed)
42#
43  . ${SETTE_DIR}/all_functions.sh
44#
45  echo Running on host `hostname`
46  echo Time is `date`
47  echo Directory is `pwd`
48#
49#  Run the parallel MPI executable
50#
51  echo "Running time ${MPIRUN} " $OCEANCORES " ./opa"
52#
53  time ${MPIRUN} " $OCEANCORES" ./opa
54#
55  post_test_tidyup
56  exit
57
Note: See TracBrowser for help on using the repository browser.