source: XIOS/trunk/xios_test_suite/COMPILE/job_compile_irene.sh @ 1805

Last change on this file since 1805 was 1805, checked in by ymipsl, 2 years ago

XIOS test suite : files for testing compilation

YM

  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 971 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 48
10#MSUB -n 1  # 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 gen0826
16#MSUB -Q test
17#MSUB -m work
18
19# ------------- Compile job for Irene------------
20
21cd $BRIDGE_MSUB_PWD
22
23set -x
24
25export revision=$(svn info --show-item revision .. 2>&1)
26
27python config_compile.py
28
29cmake .
30ctest -V
31
32build_dir=${xios_test_suite_repository}/BUILD
33mkdir -p $build_dir
34chmod --quiet ug+rwX $build_dir
35mkdir -p ${build_dir}/build_${xios_machine_name}
36
37cp build_*.txt ${build_dir}/build_${xios_machine_name}
38chmod -R ug+rwX ${build_dir}/build_${xios_machine_name}
39
40bash -c "python ./generate_compile.py"
41
42copy_to_thredds compile_${xios_machine_name}_info.js
43
44exit
Note: See TracBrowser for help on using the repository browser.