From 1449b27e9feb49ac88024bdf4e84bb69b6629a62 Mon Sep 17 00:00:00 2001 From: Ralph Castain Date: Thu, 26 Jan 2012 19:23:15 +0000 Subject: [PATCH] Ensure that slurm only launches one orted/node, regardless of how the allocation was obtained. This commit was SVN r25790. --- orte/mca/plm/slurm/plm_slurm_module.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/orte/mca/plm/slurm/plm_slurm_module.c b/orte/mca/plm/slurm/plm_slurm_module.c index 7f6c9236c3..264c19a9d4 100644 --- a/orte/mca/plm/slurm/plm_slurm_module.c +++ b/orte/mca/plm/slurm/plm_slurm_module.c @@ -257,6 +257,9 @@ static int plm_slurm_launch_job(orte_job_t *jdata) /* add the srun command */ opal_argv_append(&argc, &argv, "srun"); + /* ensure we only launch one daemon/node */ + opal_argv_append(&argc, &argv, "--ntasks-per-node=1"); + /* alert us if any orteds die during startup */ opal_argv_append(&argc, &argv, "--kill-on-bad-exit");