Skip to content

Commit 48ee00c

Browse files
committed
plm/base: fix spawn of MPI task
Fixes #3080 Signed-off-by: Gilles Gouaillardet <[email protected]>
1 parent 3a4e28b commit 48ee00c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

orte/mca/plm/base/plm_base_launch_support.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* et Automatique. All rights reserved.
1515
* Copyright (c) 2011-2012 Los Alamos National Security, LLC.
1616
* Copyright (c) 2013-2017 Intel, Inc. All rights reserved.
17-
* Copyright (c) 2014-2015 Research Organization for Information Science
17+
* Copyright (c) 2014-2017 Research Organization for Information Science
1818
* and Technology (RIST). All rights reserved.
1919
* Copyright (c) 2016 IBM Corporation. All rights reserved.
2020
* $COPYRIGHT$
@@ -625,9 +625,9 @@ void orte_plm_base_post_launch(int fd, short args, void *cbdata)
625625
* it won't register and we need to send the response now.
626626
* Otherwise, it is an MPI job and we should wait for it
627627
* to register */
628-
if (orte_get_attribute(&jdata->attributes, ORTE_JOB_NON_ORTE_JOB, NULL, OPAL_BOOL)) {
628+
if (!orte_get_attribute(&jdata->attributes, ORTE_JOB_NON_ORTE_JOB, NULL, OPAL_BOOL)) {
629629
OPAL_OUTPUT_VERBOSE((5, orte_plm_base_framework.framework_output,
630-
"%s plm:base:launch job %s is not MPI",
630+
"%s plm:base:launch job %s is MPI",
631631
ORTE_NAME_PRINT(ORTE_PROC_MY_NAME),
632632
ORTE_JOBID_PRINT(jdata->jobid)));
633633
goto cleanup;

0 commit comments

Comments
 (0)