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

Last change on this file since 1805 was 1805, checked in by ymipsl, 4 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
14cd ${SLURM_SUBMIT_DIR}
15
16module load cmake
17
18ulimit -c 0
19
20export machine=jeanzay
21export revision=$(svn info --show-item revision .. 2>&1)
22
23python config_compile.py
24
25cmake .
26ctest -V
27
28mkdir -p ../html
29mkdir -p ../html/build_${machine}
30
31mv build_*.txt ../html/build_${machine}/
32
33bash -c "cd ../html && python generate_compile.py"
34
35
Note: See TracBrowser for help on using the repository browser.