Skip to content

Commit

Permalink
Merge pull request #4640 from jjhursey/fix/v3.0.x/lsf-csm-detection
Browse files Browse the repository at this point in the history
Disable the LSF plm if CSM is detected
  • Loading branch information
bwbarrett authored Jan 9, 2018
2 parents 39f3d68 + 3ea2483 commit 7d1e8b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions orte/mca/plm/lsf/plm_lsf_component.c
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ static int plm_lsf_close(void)
static int orte_plm_lsf_component_query(mca_base_module_t **module, int *priority)
{

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

0 comments on commit 7d1e8b9

Please sign in to comment.