Skip to content

Commit e45761d

Browse files
committed
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]>
1 parent b2b3da3 commit e45761d

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)