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