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_LOCEAN_2011/NEMOGCM/SETTE/BATCH_TEMPLATE – NEMO

source: branches/2011/dev_LOCEAN_2011/NEMOGCM/SETTE/BATCH_TEMPLATE/batch-X64_TITANE @ 3021

Last change on this file since 3021 was 3011, checked in by flavoni, 12 years ago

update SETTE

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