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