Last change
on this file since 1781 was
1743,
checked in by yushan, 5 years ago
|
GENERIC_TESTCASE: add build_dir for job scripts
|
-
Property svn:executable set to
*
|
File size:
1.4 KB
|
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 --cpus-per-task=1 |
---|
6 | #SBATCH --hint=nomultithread |
---|
7 | #SBATCH -t 00:10:00 # Temps elapsed maximum d'exécution |
---|
8 | #SBATCH -o test_client.out # Nom du fichier de sortie |
---|
9 | #SBATCH -e test_client.err # Nom du fichier d'erreur |
---|
10 | ##SBATCH -p cpu_port # Nom de la partition d'exécution |
---|
11 | ##SBATCH -A sos@cpu |
---|
12 | ##SBATCH --distribution=arbitrary |
---|
13 | #SBATCH --account=psl@cpu |
---|
14 | |
---|
15 | |
---|
16 | cd ${SLURM_SUBMIT_DIR} |
---|
17 | |
---|
18 | module purge |
---|
19 | module load intel-all/19.0.4 |
---|
20 | module load netcdf/4.7.0/intel-19.0.4-mpi |
---|
21 | module load netcdf-cxx/4.2/intel-19.0.4-mpi |
---|
22 | module load netcdf-fortran/4.4.5/intel-19.0.4-mpi |
---|
23 | module load gcc/6.5.0/gcc-4.8.5 |
---|
24 | module load cmake |
---|
25 | module load cdo |
---|
26 | #module load arm-forge |
---|
27 | |
---|
28 | ulimit -c 0 |
---|
29 | #export ALLINEA_NO_TIMEOUT=1 |
---|
30 | |
---|
31 | #ddt --connect srun --mpi=pmi2 -K1 -m block:block --multi-prog ./mpmd_srun.conf |
---|
32 | #srun --mpi=pmi2 -K1 --multi-prog -m cyclic ./mpmd_srun.conf |
---|
33 | export machine_name=jeanzay |
---|
34 | export xios_dir=/gpfswork/rech/psl/rpsl954/xios/dev_trunk_omp |
---|
35 | export build_dir=build_prod |
---|
36 | |
---|
37 | cp ../setup.py ./ |
---|
38 | cp ../run_sub_test.sh ./ |
---|
39 | |
---|
40 | python setup.py |
---|
41 | |
---|
42 | cmake . |
---|
43 | |
---|
44 | #ctest --output-on-failure #enable output only when test failed |
---|
45 | |
---|
46 | ctest -V #enable all output |
---|
47 | |
---|
48 | rm -f setup.py |
---|
49 | rm -f run_sub_test.sh |
---|
50 | rm -f run_test_*.py |
---|
51 | rm -f CMakeLists.txt |
---|
52 | rm -f context_grid_dynamico.xml |
---|
53 | rm -f dynamico_grid.nc |
---|
54 | rm -f default_param.pyc |
---|
55 | rm -f user_param.pyc |
---|
56 | rm -f user_param.py.* |
---|
Note: See
TracBrowser
for help on using the repository browser.