source: XIOS/trunk/Compile/job_compile_irene.sh @ 1832

Last change on this file since 1832 was 1789, checked in by yushan, 4 years ago

trunk : add test suite scripts

File size: 965 bytes
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 -A gen0826
17#MSUB -Q test
18#MSUB -m work
19
20# ------------- Compile job for Irene------------
21
22cd $BRIDGE_MSUB_PWD
23module load subversion
24module load cmake
25
26export KMP_STACKSIZE=3g
27export KMP_LIBRARY=turnaround
28export MKL_SERIAL=YES
29export OMP_NUM_THREADS=${BRIDGE_MSUB_NCORE}
30
31set -x
32
33export machine=irene
34export revision=$(svn info --show-item revision .. 2>&1)
35
36python config_compile.py
37
38cmake .
39ctest -V
40
41
42mkdir -p ../html
43mkdir -p ../html/build_${machine}
44
45cp build_*.txt ../html/build_${machine}/
46bash -c "cd ../html && python generate_compile.py"
47
48exit
Note: See TracBrowser for help on using the repository browser.