Last change
on this file since 1738 was
1738,
checked in by yushan, 5 years ago
|
GENERIC_TESTCASE : generate job scripts for each config (Jean-Zay and Irene)
|
File size:
1.6 KB
|
Rev | Line | |
---|
[1718] | 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 1 |
---|
| 10 | #MSUB -n 16 # 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 devcmip6 |
---|
| 16 | #MSUB -Q test |
---|
| 17 | #MSUB -m work |
---|
| 18 | |
---|
| 19 | cd $BRIDGE_MSUB_PWD |
---|
| 20 | module unload netcdf-c netcdf-fortran hdf5 flavor perl hdf5 boost blitz mpi gnu |
---|
| 21 | module load gnu |
---|
| 22 | module load mpi/intelmpi/2017.0.6.256 |
---|
| 23 | module load flavor/buildcompiler/intel/17 |
---|
| 24 | module load flavor/hdf5/parallel |
---|
| 25 | module load netcdf-fortran/4.4.4 |
---|
| 26 | module load hdf5/1.8.20 |
---|
| 27 | module load boost |
---|
| 28 | module load blitz |
---|
| 29 | module load feature/bridge/heterogenous_mpmd |
---|
| 30 | module load arm-forge |
---|
| 31 | module load nco |
---|
| 32 | module load cdo |
---|
| 33 | |
---|
| 34 | export KMP_STACKSIZE=3g |
---|
| 35 | export KMP_LIBRARY=turnaround |
---|
| 36 | export MKL_SERIAL=YES |
---|
| 37 | export OMP_NUM_THREADS=${BRIDGE_MSUB_NCORE} |
---|
| 38 | |
---|
| 39 | set -x |
---|
| 40 | |
---|
| 41 | export machine_name=irene |
---|
| 42 | #export GMON_OUT_PREFIX='gmon.out' |
---|
| 43 | |
---|
| 44 | #export TAU_MAKEFILE=$TAU_MAKEFILEDIR/Makefile.tau-icpc-papi-mpi-pdt-openmp-opari-scorep |
---|
| 45 | #ccc_mprun -E '--enable_perf' amplxe-cl -collect hotspots -r ${PWD}/1omp_vtune/vtune_results ../../bin/test_send.exe |
---|
| 46 | |
---|
| 47 | #ccc_mprun ../build_prod/bin/test_omp.exe 4 |
---|
| 48 | #ccc_mprun tau_exec -io ../../bin/test_send.exe |
---|
| 49 | #ddt -start -n 8 ../buile_intelmpi/bin/test_omp.exe |
---|
[1738] | 50 | cp ../setup.py ./ |
---|
| 51 | cp ../run_sub_test.sh ./ |
---|
| 52 | |
---|
[1729] | 53 | python setup.py |
---|
[1738] | 54 | |
---|
[1718] | 55 | cmake . |
---|
[1738] | 56 | |
---|
| 57 | #ctest --output-on-failure #enable output only when test failed |
---|
| 58 | |
---|
| 59 | ctest -V #enable all output |
---|
| 60 | |
---|
| 61 | rm -f setup.py run_sub_test.sh |
---|
| 62 | rm -f run_test_*.py |
---|
| 63 | rm -f user_param.py.* |
---|
Note: See
TracBrowser
for help on using the repository browser.