source:
branches/2016/dev_HPC_Gyre_benchmark_test/NEMOGCM/BENCHMARK/BATCH_TEMPLATE/batch-XC40_METO_perf_tools
@
7230
Last change on this file since 7230 was 7230, checked in by timgraham, 7 years ago | |
---|---|
|
|
File size: 1.8 KB |
Line | |
---|---|
1 | #/bin/bash |
2 | #! |
3 | #PBS -N nemo_sette |
4 | #PBS -l walltime=00:08:00 |
5 | #PBS -j oe |
6 | #PBS -q shared |
7 | #PBS -l select=1:ncpus=32 |
8 | |
9 | export PBS_O_WORKDIR=$(readlink -f $PBS_O_WORKDIR) |
10 | export OMP_NUM_THREADS=1 |
11 | cd $PBS_O_WORKDIR |
12 | export XIO_HOME=/projects/ocean/nemo/xios/xios_1.0_r618_20150619/XIOS |
13 | # |
14 | echo " "; |
15 | export OMP_NUM_THREADS=1 |
16 | O_PER_NODE=32 |
17 | X_PER_NODE=4 |
18 | OCORES=NPROCS |
19 | XCORES=NXIOPROCS |
20 | if [ $OCORES -le 32 ] ; then O_PER_NODE=$OCORES; fi |
21 | export SETTE_DIR=DEF_SETTE_DIR |
22 | |
23 | export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:DEF_LD_LIB |
24 | export LIST_COUNTERS=DEF_COUNTERS |
25 | |
26 | ############################################################### |
27 | # |
28 | # |
29 | # load sette functions (only post_test_tidyup needed) |
30 | # |
31 | . ${SETTE_DIR}/all_functions.sh |
32 | ############################################################### |
33 | # |
34 | # Don't remove neither change the following line |
35 | # BODY |
36 | # |
37 | # Test specific settings. Do not hand edit these lines; the fcm_job.sh script will set these |
38 | # (via sed operating on this template job file). Note that the number of compute nodes required |
39 | # is also set by the fcm_job.sh on the PBS select header line above. |
40 | # |
41 | # These variables are needed by post_test_tidyup function in all_functions.sh |
42 | # |
43 | export INPUT_DIR=DEF_INPUT_DIR |
44 | export CONFIG_DIR=DEF_CONFIG_DIR |
45 | export NEMO_VALIDATION_DIR=DEF_NEMO_VALIDATION |
46 | export NEW_CONF=DEF_NEW_CONF |
47 | export CMP_NAM=DEF_CMP_NAM |
48 | export TEST_NAME=DEF_TEST_NAME |
49 | export EXE_DIR=DEF_EXE_DIR |
50 | ulimit -c unlimited |
51 | ulimit -s unlimited |
52 | export FORT_FMT_RECL=132 |
53 | # |
54 | # end of set up |
55 | ############################################################### |
56 | # |
57 | # change to the working directory |
58 | # |
59 | cd $EXE_DIR |
60 | proc=1 |
61 | hostname |
62 | for proc in `seq 1 DEF_CORES_PER_NODE`; |
63 | do |
64 | date |
65 | echo Directory is `pwd` |
66 | taskset -c $proc ./opa & |
67 | date |
68 | # ./opa & |
69 | done |
70 | wait |
71 | |
72 | # |
73 | # END_BODY |
74 | # Don't remove neither change the previous line |
75 | exit |
76 |
Note: See TracBrowser
for help on using the repository browser.