source: configs/testing/benchmark/job.sh @ 994

Last change on this file since 994 was 994, checked in by dubos, 4 years ago

testing : update benchmark scripts

File size: 1.4 KB
Line 
1#!/bin/bash
2## Request name
3#MSUB -r DYN_bench
4#MSUB -E '--exclude=irene[1325-1346]'
5## Number of tasks (=MPI processes) to use
6#MSUB -n NUM_MPI
7## Number of OpenMP threads
8#MSUB -c NUM_OMP
9## Elapsed time limit in seconds
10#MSUB -T 1800
11# account, partition (Xeon/KNL)
12#MSUB -A gen0239
13#MSUB -q skylake
14# Mount  on compute node
15#MSUB -m work
16
17function run_standard()
18{
19    date > gcm.log
20    ccc_mprun /ccc/work/cont003/gen7548/dubosth/IRENE/testing/build_mpi_omp/bin/icosa_gcm.exe >> gcm.log
21    date >> gcm.log
22}
23
24function run_mpmd()
25{
26    ln -s dynamico.0000.out gcm.log
27    ccc_mprun -f mpmd.conf
28}
29
30function run_hmpmd()
31{
32    module load feature/bridge/heterogenous_mpmd
33    ln -s dynamico.0000.out gcm.log
34    ccc_mprun -f hmpmd.conf
35}
36
37cd ${BRIDGE_MSUB_PWD} 
38
39source  /ccc/work/cont003/gen7548/dubosth/IRENE/testing/build_mpi_omp/arch.env
40module load ipm
41export IPM_REPORT=full
42export OMP_NUM_THREADS=$BRIDGE_MSUB_NCORE
43export OMP_STACKSIZE=128M
44
45rm -rf dynamico.* gcm.log logs *.nc netcdf
46ulimit -s unlimited
47
48#run_standard
49run_mpmd
50#run_hmpmd
51
52grep MAIN gcm.log
53tail -n 50 gcm.log
54
55mkdir -p netcdf
56cp gcm.log *.def netcdf
57mv *.nc netcdf
58
59mkdir -p logs
60cp *.xml logs
61cp -pr /ccc/work/cont003/gen7548/dubosth/IRENE/testing/build_mpi_omp/bin/icosa_gcm.exe logs
62cp -pr /ccc/work/cont003/gen7548/dubosth/IRENE/testing/DYNAMICO_trunk/src logs
63mv gcm.log xios_client_*.err xios_client_*.out dynamico.* logs
64
65touch already_done
Note: See TracBrowser for help on using the repository browser.