From 3a73f2663763b41b257d4307ea8d4da4dfe13b10 Mon Sep 17 00:00:00 2001 From: Danny Auble <da@schedmd.com> Date: Tue, 5 Mar 2013 10:30:43 -0800 Subject: [PATCH] BGQ - minor fix for --launch-cmd to print runjob instead of srun --- src/plugins/launch/runjob/launch_runjob.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/launch/runjob/launch_runjob.c b/src/plugins/launch/runjob/launch_runjob.c index 314d8848a9e..0b78f553d62 100644 --- a/src/plugins/launch/runjob/launch_runjob.c +++ b/src/plugins/launch/runjob/launch_runjob.c @@ -320,10 +320,10 @@ extern int launch_p_setup_srun_opt(char **rest) if (!opt.test_only) { int i = 0; /* First arg has to be something when sending it to the - runjob api. This can be anything, srun seemed most - logical, but it doesn't matter. + runjob api. This can be anything, we put runjob + here so --launch-cmd looks nice :), but it doesn't matter. */ - opt.argv[i++] = xstrdup("srun"); + opt.argv[i++] = xstrdup("runjob"); /* srun launches tasks using runjob API. Slurmd is not used */ /* We are always going to set ntasks_per_node and ntasks */ // if (opt.ntasks_per_node != NO_VAL) { -- GitLab