Translations:GNU Parallel/37/fr

Revision as of 16:55, 27 May 2021 by Diane27 (talk | contribs) (Created page with "Par exemple, quand plusieurs tâches OpenMP/fr OpenMP sont soumises ensemble avec <tt>--nodes=N</tt>, <tt>--ntasks-per-node=5</tt> et <tt>--cpus-per-task=8</tt>, la comman...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Par exemple, quand plusieurs tâches OpenMP/fr OpenMP sont soumises ensemble avec --nodes=N, --ntasks-per-node=5 et --cpus-per-task=8, la commande suivante effectuera tous les processus à démarrer sur tous les noeuds rthe following command will take into account all processes to be started on all reserved nodes and the number of OpenMP threads per process:

Question.png
[name@server ~]$ parallel --jobs $SLURM_NTASKS_PER_NODE --sshloginfile ./node_list_${SLURM_JOB_ID} --workdir $PWD OMP_NUM_THREADS=$SLURM_CPUS_PER_TASK ./my_program

In this case, up to 5*N OpenMP processes are running simultaneously with a CPU usage of up to 800% each.