From dbab67612bbde5c0c43bcb9d67ede6c13b47a165 Mon Sep 17 00:00:00 2001 From: Howard Pritchard Date: Mon, 25 Apr 2016 11:13:08 -0600 Subject: [PATCH] mtl/psm2: do not set PSM2_DEVICES env variable The PSM2 MTL was setting the PSM2_DEVICES environment variable to self,shm for single node jobs. This is causing single node/single process jobs to fail on some omnipath systems. Not setting this environment variable fixes these issues. This fix is needed as part of bringup of omnipath clusters at several customer sites. Fixes issue #1559 Signed-off-by: Howard Pritchard --- ompi/mca/mtl/psm2/mtl_psm2_component.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ompi/mca/mtl/psm2/mtl_psm2_component.c b/ompi/mca/mtl/psm2/mtl_psm2_component.c index 3ae41513602..a835dbd0801 100644 --- a/ompi/mca/mtl/psm2/mtl_psm2_component.c +++ b/ompi/mca/mtl/psm2/mtl_psm2_component.c @@ -198,10 +198,6 @@ ompi_mtl_psm2_component_init(bool enable_progress_threads, return NULL; } - if (num_local_procs == num_total_procs) { - setenv("PSM2_DEVICES", "self,shm", 0); - } - err = psm2_init(&verno_major, &verno_minor); if (err) { opal_show_help("help-mtl-psm2.txt",