Last change
on this file since 2326 was
1792,
checked in by yushan, 5 years ago
|
dev_trunk_omp : update and cleanup of unit tests
|
-
Property svn:executable set to
*
|
File size:
742 bytes
|
Rev | Line | |
---|
[1792] | 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 | |
---|
Note: See
TracBrowser
for help on using the repository browser.