Bureaucrats, cc_docs_admin, cc_staff
2,879
edits
No edit summary |
|||
Line 1: | Line 1: | ||
{{Draft}} | {{Draft}} | ||
Most users should submit MPI or distributed memory parallel jobs | Most users should submit MPI or distributed memory parallel jobs following the example | ||
at [[Running_jobs#MPI_job|Running jobs | given at [[Running_jobs#MPI_job|Running jobs]]. Simply request a number of | ||
processes with <code>--ntasks</code> or <code>-n</code> and trust the scheduler | processes with <code>--ntasks</code> or <code>-n</code> and trust the scheduler | ||
to allocate those processes in a way that balances the efficiency of your job | to allocate those processes in a way that balances the efficiency of your job | ||
with the overall efficiency of the cluster. | with the overall efficiency of the cluster. | ||
If you | If you want more control over how your job is allocated, then SchedMD's | ||
to | page on [https://slurm.schedmd.com/mc_support.html multicore support] is a good | ||
command | place to begin. It describes how many of the options to the | ||
[https://slurm.schedmd.com/sbatch.html <code>sbatch</code>] | |||
command interact to constrain the placement of processes. | |||
You may find this discussion of [https://slurm.schedmd.com/faq.html#cpu_count What exactly is considered a CPU?] in SLURM to be useful. | |||
=== Hybrid jobs: MPI and OpenMP, or MPI and threads === | === Hybrid jobs: MPI and OpenMP, or MPI and threads === | ||
To come | To come | ||
=== MPI and GPUs === | === MPI and GPUs === |