source: XIOS/dev/dev_trunk_omp/Compile/job_compile_irene.sh @ 2288

Last change on this file since 2288 was 1795, checked in by yushan, 5 years ago

dev_trunk_omp : corrections

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