diff --git a/docs.it4i/salomon/job-submission-and-execution.md b/docs.it4i/salomon/job-submission-and-execution.md index eda68470d38509ae6821cdb362cdf437137a0457..10b6484b85cc05ba9136390f31fb7988a51121c8 100644 --- a/docs.it4i/salomon/job-submission-and-execution.md +++ b/docs.it4i/salomon/job-submission-and-execution.md @@ -93,7 +93,7 @@ In this example, we allocate 2000GB of memory on the UV2000 for 72 hours. By req ### Useful tricks -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 @@ -155,7 +155,7 @@ $ qsub -A OPEN-0-0 -q qprod -l select=9:ncpus=24 -l place=group=switch ./myjob Not useful for ordinary computing, suitable for testing and management tasks. -Nodes directly connected to the specific Infiniband switch can be selected using the PBS resource attribute switch. +Nodes directly connected to the specific Infiniband switch can be selected using the PBS resource attribute *switch*. In this example, we request all 9 nodes directly connected to r4i1s0sw1 switch. @@ -449,6 +449,8 @@ In some cases, it may be impractical to copy the inputs to scratch and outputs t !!! Note "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