source: utils/CI/sette/BATCH_TEMPLATE/batch-X64_IRENE_GCC_DEBUG @ 13559

Last change on this file since 13559 was 13559, checked in by smasson, 5 months ago

sette: update sette for DEBUG mode, see #2535

File size: 2.1 KB
Line 
1#!/bin/bash
2#MSUB -T 1790                # 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  set +vx
21  module purge
22  module load gnu/8.3.0
23  module load flavor/buildcompiler/gcc/8
24  module load flavor/buildmpi/openmpi/2.0
25  module load flavor/hdf5/parallel
26  module load mpi/openmpi/2.0.4
27  module load hdf5/1.8.20
28  module load netcdf-c/4.6.0
29  module load netcdf-fortran/4.4.4
30#
31# Local settings for machine BULL (TITANE at CCRT France)
32#
33  export MPIRUN="ccc_mprun -n $OCEANCORES"
34
35#
36# load sette functions (only post_test_tidyup needed)
37#
38  . ${SETTE_DIR}/all_functions.sh
39#
40
41# modules to load
42
43# Don't remove neither change the following line
44# BODY
45
46#
47# These variables are needed by post_test_tidyup function in all_functions.sh
48#
49  export EXE_DIR=DEF_EXE_DIR
50  export INPUT_DIR=DEF_INPUT_DIR
51  export CONFIG_DIR=DEF_CONFIG_DIR
52  export TOOLS_DIR=DEF_TOOLS_DIR
53  export NEMO_VALIDATION_DIR=DEF_NEMO_VALIDATION
54  export NEW_CONF=DEF_NEW_CONF
55  export CMP_NAM=DEF_CMP_NAM
56  export TEST_NAME=DEF_TEST_NAME
57#
58# end of set up
59###############################################################
60#
61# change to the working directory
62#
63cd ${EXE_DIR}
64
65  echo Running on host `hostname`
66  echo Time is `date`
67  echo Directory is `pwd`
68#
69#  Run the parallel MPI executable
70#
71  echo "Running time ${MPIRUN} ./nemo"
72#
73  if [ MPI_FLAG == "yes" ]; then
74     time ${MPIRUN} ./nemo
75  else
76     time ./nemo
77  fi
78
79#
80  post_test_tidyup
81
82# END_BODY
83# Don't remove neither change the previous line
84
85
86  exit
87
Note: See TracBrowser for help on using the repository browser.