| 167 | # Job Header for MPI - MPI/OMP with libIGCM # |
| 168 | ## Forced model ## |
| 169 | ### MPI ### |
| 170 | To launch a job on XXX MPI tasks |
| 171 | {{{ |
| 172 | #MSUB -r MyJob |
| 173 | #MSUB -o Script_Output_MyJob.000001 # standard output |
| 174 | #MSUB -e Script_Output_MyJob.000001 # error output |
| 175 | #MSUB -eo |
| 176 | #MSUB -n XXX # number of MPI task |
| 177 | #MSUB -T 86400 # Wall clock limit (seconds) |
| 178 | #MSUB -q standard # thin nodes |
| 179 | #MSUB -A gen**** |
| 180 | BATCH_NUM_PROC_TOT=$BRIDGE_MSUB_NPROC |
| 181 | }}} |
| 182 | |
| 183 | |
| 184 | ### hybrid MPI-OMP ### |
| 185 | To launch a job on XXX MPI tasks and YYY threads OMP on each task |
| 186 | {{{ |
| 187 | #MSUB -r MyJob |
| 188 | #MSUB -o Script_Output_MyJob.000001 # standard output |
| 189 | #MSUB -e Script_Output_MyJob.000001 # error output |
| 190 | #MSUB -eo |
| 191 | #MSUB -n XXX # number of MPI task |
| 192 | #MSUB -c YYY # number of threads OMP by task |
| 193 | #MSUB -T 86400 # Wall clock limit (seconds) |
| 194 | #MSUB -q standard # thin nodes |
| 195 | #MSUB -A gen**** |
| 196 | BATCH_NUM_PROC_TOT=XXX * YYY # number of MPI task * OMP threads |
| 197 | }}} |
| 198 | |
| 199 | |
| 200 | ## Coupled model ## |
| 201 | ### MPI ### |
| 202 | To launch a job on XXX MPI tasks |
| 203 | {{{ |
| 204 | #MSUB -r MyCoupledJob |
| 205 | #MSUB -o Script_Output_MyCoupledJob.000001 # standard output |
| 206 | #MSUB -e Script_Output_MyCoupledJob.000001 # error output |
| 207 | #MSUB -eo |
| 208 | #MSUB -n XXX # number of MPI task |
| 209 | #MSUB -T 86400 # Wall clock limit (seconds) |
| 210 | #MSUB -q standard # thin nodes |
| 211 | #MSUB -A gen**** |
| 212 | BATCH_NUM_PROC_TOT=$BRIDGE_MSUB_NPROC |
| 213 | }}} |
| 214 | |
| 215 | |
| 216 | ### hybrid MPI-OMP ### |
| 217 | To launch a job on XXX MPI tasks and YYY threads OMP on each task |
| 218 | {{{ |
| 219 | #MSUB -r MyCoupledJob |
| 220 | #MSUB -o Script_Output_MyCoupledJob.000001 # standard output |
| 221 | #MSUB -e Script_Output_MyCoupledJob.000001 # error output |
| 222 | #MSUB -eo |
| 223 | #MSUB -n XXX * YYY # Number of cores |
| 224 | #MSUB -N (XXX * YYY) / 16 # Number of nodes (16 cores per node) |
| 225 | #MSUB -x # exclusive node |
| 226 | #MSUB -E '--cpu_bind=none' |
| 227 | #MSUB -T 86400 # Wall clock limit (seconds) |
| 228 | #MSUB -q standard # thin nodes |
| 229 | #MSUB -A gen*** |
| 230 | }}} |
| 231 | |
| 232 | |
| 233 | |
| 234 | |