Merge pull request #4439 from mattaezell/lsf_csm
Disable the LSF plm if CSM is detected
Этот коммит содержится в:
Коммит
38aefd2ec4
@ -104,8 +104,8 @@ static int plm_lsf_close(void)
|
|||||||
static int orte_plm_lsf_component_query(mca_base_module_t **module, int *priority)
|
static int orte_plm_lsf_component_query(mca_base_module_t **module, int *priority)
|
||||||
{
|
{
|
||||||
|
|
||||||
/* check if lsf is running here */
|
/* check if lsf is running here and make sure IBM CSM is NOT enabled */
|
||||||
if (NULL == getenv("LSB_JOBID") || lsb_init("ORTE launcher") < 0) {
|
if (NULL == getenv("LSB_JOBID") || getenv("CSM_ALLOCATION_ID") || lsb_init("ORTE launcher") < 0) {
|
||||||
/* nope, not here */
|
/* nope, not here */
|
||||||
opal_output_verbose(10, orte_plm_base_framework.framework_output,
|
opal_output_verbose(10, orte_plm_base_framework.framework_output,
|
||||||
"plm:lsf: NOT available for selection");
|
"plm:lsf: NOT available for selection");
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user