Skip to content

Commit

Permalink
mtl/psm2: do not set PSM2_DEVICES env variable
Browse files Browse the repository at this point in the history
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 open-mpi#1559

Signed-off-by: Howard Pritchard <[email protected]>
  • Loading branch information
hppritcha committed Apr 25, 2016
1 parent da132f7 commit dbab676
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions ompi/mca/mtl/psm2/mtl_psm2_component.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit dbab676

Please sign in to comment.