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/2015/dev_r5092_CNRS_SETTE/NEMOGCM/SETTE/batch – NEMO

source: branches/2015/dev_r5092_CNRS_SETTE/NEMOGCM/SETTE/batch/batch-X64_TITANE @ 5356

Last change on this file since 5356 was 3608, checked in by acc, 11 years ago

Branch dev_NOC_2012_r3555. #1006. Step 3: Merge in trunk changes between revision 3322 and 3337

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