From f858c82469f22c1abc6e6736fab8555afc9a896c Mon Sep 17 00:00:00 2001 From: Andrey Lobanov Date: Wed, 23 Aug 2017 12:52:48 +0300 Subject: [PATCH] allow non-default launcher under job schedulers --- src/pm/hydra/mpiexec/mpiexec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pm/hydra/mpiexec/mpiexec.c b/src/pm/hydra/mpiexec/mpiexec.c index 9611a6be55d..8bd11ea4dfa 100644 --- a/src/pm/hydra/mpiexec/mpiexec.c +++ b/src/pm/hydra/mpiexec/mpiexec.c @@ -245,7 +245,7 @@ static HYD_status find_launcher(void) /* if there was an RMK set, see if we can use that as a launcher * as well */ if (mpiexec_params.rmk) - if (HYD_bstrap_query_avail(mpiexec_params.rmk)) + if (HYD_bstrap_query_avail(mpiexec_params.rmk) && !mpiexec_params.launcher) mpiexec_params.launcher = MPL_strdup(mpiexec_params.rmk); /* fallback to the default launcher */