Last change
on this file since 1770 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 | |
---|
19 | cd $BRIDGE_MSUB_PWD |
---|
20 | module unload netcdf-c netcdf-fortran hdf5 flavor perl hdf5 boost blitz mpi gnu |
---|
21 | module load gnu |
---|
22 | module load mpi/intelmpi/2017.0.6.256 |
---|
23 | module load flavor/buildcompiler/intel/17 |
---|
24 | module load flavor/hdf5/parallel |
---|
25 | module load netcdf-fortran/4.4.4 |
---|
26 | module load hdf5/1.8.20 |
---|
27 | module load boost |
---|
28 | module load blitz |
---|
29 | module load feature/bridge/heterogenous_mpmd |
---|
30 | module load arm-forge |
---|
31 | module load nco |
---|
32 | module load cdo |
---|
33 | |
---|
34 | export KMP_STACKSIZE=3g |
---|
35 | export KMP_LIBRARY=turnaround |
---|
36 | export MKL_SERIAL=YES |
---|
37 | export OMP_NUM_THREADS=${BRIDGE_MSUB_NCORE} |
---|
38 | |
---|
39 | set -x |
---|
40 | |
---|
41 | export machine_name=irene |
---|
42 | export xios_dir=/ccc/cont003/home/gencmip6/wangyush/XIOS/dev_trunk_omp |
---|
43 | export build_dir=build_mpi_intelmpi_prod |
---|
44 | |
---|
45 | cp ../setup.py ./ |
---|
46 | cp ../run_sub_test.sh ./ |
---|
47 | |
---|
48 | python setup.py |
---|
49 | |
---|
50 | cmake . |
---|
51 | |
---|
52 | #ctest --output-on-failure #enable output only when test failed |
---|
53 | |
---|
54 | ctest -V #enable all output |
---|
55 | |
---|
56 | rm -f setup.py |
---|
57 | rm -f run_sub_test.sh |
---|
58 | rm -f run_test_*.py |
---|
59 | rm -f CMakeLists.txt |
---|
60 | rm -f context_grid_dynamico.xml |
---|
61 | rm -f dynamico_grid.nc |
---|
62 | rm -f default_param.pyc |
---|
63 | rm -f user_param.pyc |
---|
64 | rm -f user_param.py.* |
---|
Note: See
TracBrowser
for help on using the repository browser.