From 3e3b64dbc1d57ef32b9a6f94d75a22e62df2c9fd Mon Sep 17 00:00:00 2001 From: Moe Jette <jette1@llnl.gov> Date: Sun, 1 Dec 2002 22:50:20 +0000 Subject: [PATCH] Make cyclic task distribution the default at all times. --- src/srun/opt.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/srun/opt.c b/src/srun/opt.c index 3963683c971..95d71b6bd33 100644 --- a/src/srun/opt.c +++ b/src/srun/opt.c @@ -874,12 +874,8 @@ _opt_verify(poptContext optctx) verified = false; } - if (opt.distribution == SRUN_DIST_UNKNOWN) { - if (opt.nprocs <= opt.nodes) - opt.distribution = SRUN_DIST_CYCLIC; - else - opt.distribution = SRUN_DIST_BLOCK; - } + if (opt.distribution == SRUN_DIST_UNKNOWN) + opt.distribution = SRUN_DIST_CYCLIC; if (opt.mincpus < opt.cpus_per_task) opt.mincpus = opt.cpus_per_task; -- GitLab