diff --git a/docs.it4i/anselm/job-submission-and-execution.md b/docs.it4i/anselm/job-submission-and-execution.md index 1c530e3e949b358111e41db370aeaa753412126c..b0ea19bd17cecb7fb2199c6112e0e0340a1d0b1a 100644 --- a/docs.it4i/anselm/job-submission-and-execution.md +++ b/docs.it4i/anselm/job-submission-and-execution.md @@ -48,7 +48,7 @@ $ qsub -A OPEN-0-0 -q qfree -l select=10:ncpus=16 ./myjob In this example, we allocate 10 nodes, 16 cores per node, for 12 hours. We allocate these resources via the qfree queue. It is not required that the project OPEN-0-0 has any available resources left. Consumed resources are still accounted for. Jobscript myjob will be executed on the first node in the allocation. -All qsub options may be [saved directly into the jobscript](job-submission-and-execution/#PBSsaved). In such a case, no options to qsub are needed. +All qsub options may be [saved directly into the jobscript](#example-jobscript-for-mpi-calculation-with-preloaded-inputs). In such a case, no options to qsub are needed. ```bash $ qsub ./myjob @@ -345,6 +345,8 @@ In some cases, it may be impractical to copy the inputs to scratch and outputs t !!! note Store the qsub options within the jobscript. Use **mpiprocs** and **ompthreads** qsub options to control the MPI job execution. +### Example Jobscript for MPI Calculation With Preloaded Inputs + Example jobscript for an MPI job with preloaded inputs and executables, options for qsub are stored within the script : ```bash