| 87 | |
| 88 | === LMDZ en OpenMP/MPI avec sorties différentes par tâche MPI === |
| 89 | |
| 90 | {{{ |
| 91 | #!/usr/bin/ksh |
| 92 | ###################### |
| 93 | ## CURIE TGCC/CEA ## |
| 94 | ###################### |
| 95 | #MSUB -r NEWCON32CM6 # nom de la requete |
| 96 | #MSUB -o Script_Output_NEWCON32CM6.000001 # nom du fichier de sortie |
| 97 | #MSUB -e Script_Output_NEWCON32CM6.000001 # nom du fichier de sortie |
| 98 | #MSUB -eo |
| 99 | #MSUB -c 8 |
| 100 | #MSUB -n 4 |
| 101 | #MSUB -q standard |
| 102 | #MSUB -x |
| 103 | #MSUB -T 3600 # Limite temps (en secondes) |
| 104 | ##MSUB -p XXXXXXX |
| 105 | BATCH_NUM_PROC_TOT=32 |
| 106 | }}} |
| 107 | {{{ |
| 108 | cat <<-EOF > script_lmdz.x.ksh |
| 109 | #!/bin/ksh |
| 110 | export KMP_STACKSIZE=3g |
| 111 | export KMP_LIBRARY=turnaround |
| 112 | export MKL_SERIAL=YES |
| 113 | export OMP_NUM_THREADS=8 |
| 114 | ./lmdz.x > out_lmdz.x.out.\${SLURM_PROCID} 2>out_lmdz.x.err.\${SLURM_PROCID} |
| 115 | EOF |
| 116 | chmod +x script_lmdz.x.ksh |
| 117 | /usr/bin/time ccc_mprun -n 4 ./script_lmdz.x.ksh >> ${Exe_Output} 2>&1 |
| 118 | }}} |
| 119 | |