Skip to content

Commit 8496044

Browse files
authored
Merge pull request #4639 from jjhursey/fix/v3.1.x/lsf-csm-detection
Disable the LSF plm if CSM is detected
2 parents 88bf7d7 + 5378272 commit 8496044

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

orte/mca/plm/lsf/plm_lsf_component.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ static int plm_lsf_close(void)
104104
static int orte_plm_lsf_component_query(mca_base_module_t **module, int *priority)
105105
{
106106

107-
/* check if lsf is running here */
108-
if (NULL == getenv("LSB_JOBID") || lsb_init("ORTE launcher") < 0) {
107+
/* check if lsf is running here and make sure IBM CSM is NOT enabled */
108+
if (NULL == getenv("LSB_JOBID") || getenv("CSM_ALLOCATION_ID") || lsb_init("ORTE launcher") < 0) {
109109
/* nope, not here */
110110
opal_output_verbose(10, orte_plm_base_framework.framework_output,
111111
"plm:lsf: NOT available for selection");

0 commit comments

Comments
 (0)