Skip to content

Commit 3ea2483

Browse files
mattaezelljjhursey
authored andcommitted
Disable the LSF plm if CSM is detected
LSF running on top of CSM does not provide LSF daemons on the compute nodes. Signed-off-by: Matt Ezell <[email protected]> (cherry picked from commit e45761d) Signed-off-by: Joshua Hursey <[email protected]>
1 parent 4e36835 commit 3ea2483

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)