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_IRENE_DEBUG in utils/CI/sette_top_pisces_lbc/BATCH_TEMPLATE – NEMO

source: utils/CI/sette_top_pisces_lbc/BATCH_TEMPLATE/batch-X64_IRENE_DEBUG @ 12129

Last change on this file since 12129 was 12129, checked in by cetlod, 4 years ago

Update batch file for IRENE

File size: 1.8 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#MSUB -n NPROCS              # Total number of mpi task to use
7#MSUB -A   gen7451          # project name
8#MSUB -q   skylake          # (queue name) only for thin nodes
9#MSUB -m store,work,scratch
10##########################################################################
11#
12# Test specific settings. Do not hand edit these lines; the fcm_job.sh script will set these
13# (via sed operating on this template job file).
14#
15  OCEANCORES=NPROCS
16  export SETTE_DIR=DEF_SETTE_DIR
17#
18# set up mpp computing environment
19#
20# Local settings for machine BULL (TITANE at CCRT France)
21#
22export MPIRUN="ccc_mprun -n $OCEANCORES"
23
24#
25# load sette functions (only post_test_tidyup needed)
26#
27  . ${SETTE_DIR}/all_functions.sh
28#
29
30# modules to load
31
32# Don't remove neither change the following line
33# BODY
34
35#
36# These variables are needed by post_test_tidyup function in all_functions.sh
37#
38  export EXE_DIR=DEF_EXE_DIR
39  export INPUT_DIR=DEF_INPUT_DIR
40  export CONFIG_DIR=DEF_CONFIG_DIR
41  export TOOLS_DIR=DEF_TOOLS_DIR
42  export NEMO_VALIDATION_DIR=DEF_NEMO_VALIDATION
43  export NEW_CONF=DEF_NEW_CONF
44  export CMP_NAM=DEF_CMP_NAM
45  export TEST_NAME=DEF_TEST_NAME
46#
47# end of set up
48###############################################################
49#
50# change to the working directory
51#
52cd ${EXE_DIR}
53
54  echo Running on host `hostname`
55  echo Time is `date`
56  echo Directory is `pwd`
57#
58#  Run the parallel MPI executable
59#
60  echo "Running time ${MPIRUN} ./nemo"
61#
62  if [ MPI_FLAG == "yes" ]; then
63     time ${MPIRUN} ./nemo
64  else
65     time ./nemo
66  fi
67
68#
69  post_test_tidyup
70
71# END_BODY
72# Don't remove neither change the previous line
73
74
75  exit
76
Note: See TracBrowser for help on using the repository browser.