Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable the LSF plm if CSM is detected #4439

Merged
merged 1 commit into from
Nov 29, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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