Last change
on this file since 1805 was
1805,
checked in by ymipsl, 3 years ago
|
XIOS test suite : files for testing compilation
YM
|
-
Property svn:eol-style set to
native
-
Property svn:executable set to
*
|
File size:
743 bytes
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | ##SBATCH --nodes=2 |
---|
3 | #SBATCH --ntasks=8 # Nombre total de processus MPI |
---|
4 | #SBATCH --ntasks-per-node=16 |
---|
5 | #SBATCH --hint=nomultithread |
---|
6 | #SBATCH -t 00:30:00 # Temps elapsed maximum d'exécution |
---|
7 | #SBATCH -o output.out # Nom du fichier de sortie |
---|
8 | #SBATCH -e error.err # Nom du fichier d'erreur |
---|
9 | #SBATCH --account=psl@cpu |
---|
10 | |
---|
11 | #----------------- Compile job for Jean-Zay -------------- |
---|
12 | |
---|
13 | |
---|
14 | cd ${SLURM_SUBMIT_DIR} |
---|
15 | |
---|
16 | module load cmake |
---|
17 | |
---|
18 | ulimit -c 0 |
---|
19 | |
---|
20 | export machine=jeanzay |
---|
21 | export revision=$(svn info --show-item revision .. 2>&1) |
---|
22 | |
---|
23 | python config_compile.py |
---|
24 | |
---|
25 | cmake . |
---|
26 | ctest -V |
---|
27 | |
---|
28 | mkdir -p ../html |
---|
29 | mkdir -p ../html/build_${machine} |
---|
30 | |
---|
31 | mv build_*.txt ../html/build_${machine}/ |
---|
32 | |
---|
33 | bash -c "cd ../html && python generate_compile.py" |
---|
34 | |
---|
35 | |
---|
Note: See
TracBrowser
for help on using the repository browser.