Skip to content
Snippets Groups Projects
Commit 8780c8f2 authored by Jan Siwiec's avatar Jan Siwiec
Browse files

added slurm job arrays

parent 524da8ff
No related branches found
No related tags found
No related merge requests found
Pipeline #43855 failed
......@@ -58,7 +58,7 @@ tasklist file. We copy the input file to a scratch directory `/scratch/project/
execute the myprog.x and copy the output file back to the submit directory, under the `$TASK.out` name. The myprog.x executable runs on one node only and must use threads to run in parallel.
Be aware, that if the myprog.x **is not multithreaded or multi-process (MPI)**, then all the **jobs are run as single-thread programs, wasting node resources**.
## Submiting Job Array
## Submitting Job Array
To submit the job array, use the `sbatch --array` command. The 900 jobs of the [example above][2] may be submitted like this:
......
......@@ -109,7 +109,7 @@ nav:
# - Slurm Job Submission and Execution: general/slurm-job-submission-and-execution.md
- Capacity Computing:
- Introduction: general/capacity-computing.md
# - Job Arrays: general/job-arrays.md
- Job Arrays: general/job-arrays.md
- HyperQueue: general/hyperqueue.md
# - Parallel Computing and MPI: general/karolina-mpi.md
- Tools:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment