source: XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/test_domain_algo/job_irene.sh @ 1781

Last change on this file since 1781 was 1743, checked in by yushan, 5 years ago

GENERIC_TESTCASE: add build_dir for job scripts

File size: 1.5 KB
Line 
1#!/bin/bash
2######################
3## CURIE   TGCC/CEA ##
4######################
5#MSUB -r XIOS
6#MSUB -o client_output.out    # standard output
7#MSUB -e client_error.err    #error output
8#MSUB -eo
9#MSUB -c 1
10#MSUB -n 16  # Number of MPI tasks (SPMD case) or cores (MPMD case)
11#MSUB -X
12#MSUB -x
13#MSUB -T 1800      # Wall clock limit (seconds)
14#MSUB -q skylake           # thin nodes
15#MSUB -A devcmip6
16#MSUB -Q test
17#MSUB -m work
18
19cd $BRIDGE_MSUB_PWD
20module unload netcdf-c netcdf-fortran hdf5 flavor perl hdf5 boost blitz mpi gnu
21module load gnu
22module load mpi/intelmpi/2017.0.6.256
23module load flavor/buildcompiler/intel/17
24module load flavor/hdf5/parallel
25module load netcdf-fortran/4.4.4
26module load hdf5/1.8.20
27module load boost
28module load blitz
29module load feature/bridge/heterogenous_mpmd
30module load arm-forge
31module load nco
32module load cdo
33
34export KMP_STACKSIZE=3g
35export KMP_LIBRARY=turnaround
36export MKL_SERIAL=YES
37export OMP_NUM_THREADS=${BRIDGE_MSUB_NCORE}
38
39set -x
40
41export machine_name=irene
42export xios_dir=/ccc/cont003/home/gencmip6/wangyush/XIOS/dev_trunk_omp
43export build_dir=build_mpi_intelmpi_prod
44
45cp ../setup.py ./
46cp ../run_sub_test.sh ./
47
48python setup.py
49
50cmake .
51
52#ctest --output-on-failure #enable output only when test failed
53
54ctest -V #enable all output
55
56rm -f setup.py
57rm -f run_sub_test.sh
58rm -f run_test_*.py
59rm -f CMakeLists.txt
60rm -f context_grid_dynamico.xml
61rm -f dynamico_grid.nc
62rm -f default_param.pyc
63rm -f user_param.pyc
64rm -f user_param.py.*
Note: See TracBrowser for help on using the repository browser.