[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.1-177-ge6674c8
Service Account
noreply at mpich.org
Fri Apr 25 14:11:41 CDT 2014
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "MPICH primary repository".
The branch, master has been updated
via e6674c803348a1299832e066d3fe4f1bdb0623a5 (commit)
from 99ecd73f801af841dbd4d36bf0054129c5cbeff7 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.mpich.org/mpich.git/commitdiff/e6674c803348a1299832e066d3fe4f1bdb0623a5
commit e6674c803348a1299832e066d3fe4f1bdb0623a5
Author: Pavan Balaji <balaji at anl.gov>
Date: Wed Apr 23 22:39:24 2014 -0500
Update environment variables controlling the mpiexec port range.
We need a better way to maintain consistency between environment
variables common to the MPICH library and mpiexec. This patch doesn't
do that, but manually moves all of the variables controlling the port
range to mpiexec as well.
Signed-off-by: Ken Raffenetti <raffenet at mcs.anl.gov>
diff --git a/src/pm/hydra/ui/mpich/mpiexec.c b/src/pm/hydra/ui/mpich/mpiexec.c
index 282eaba..39586b4 100644
--- a/src/pm/hydra/ui/mpich/mpiexec.c
+++ b/src/pm/hydra/ui/mpich/mpiexec.c
@@ -314,9 +314,17 @@ int main(int argc, char **argv)
/* Check if the user wants us to use a port within a certain
* range. */
- if (MPL_env2str("MPIEXEC_PORTRANGE", (const char **) &HYD_server_info.port_range) ||
- MPL_env2str("MPIEXEC_PORT_RANGE", (const char **) &HYD_server_info.port_range) ||
- MPL_env2str("MPIR_CVAR_CH3_PORT_RANGE", (const char **) &HYD_server_info.port_range))
+ if (MPL_env2str("MPIR_CVAR_CH3_PORT_RANGE", (const char **) &HYD_server_info.port_range) ||
+ MPL_env2str("MPIR_PARAM_CH3_PORT_RANGE", (const char **) &HYD_server_info.port_range) ||
+ MPL_env2str("MPICH_CH3_PORT_RANGE", (const char **) &HYD_server_info.port_range) ||
+ MPL_env2str("MPIR_CVAR_PORTRANGE", (const char **) &HYD_server_info.port_range) ||
+ MPL_env2str("MPIR_CVAR_PORT_RANGE", (const char **) &HYD_server_info.port_range) ||
+ MPL_env2str("MPIR_PARAM_PORTRANGE", (const char **) &HYD_server_info.port_range) ||
+ MPL_env2str("MPIR_PARAM_PORT_RANGE", (const char **) &HYD_server_info.port_range) ||
+ MPL_env2str("MPICH_PORTRANGE", (const char **) &HYD_server_info.port_range) ||
+ MPL_env2str("MPICH_PORT_RANGE", (const char **) &HYD_server_info.port_range) ||
+ MPL_env2str("MPIEXEC_PORTRANGE", (const char **) &HYD_server_info.port_range) ||
+ MPL_env2str("MPIEXEC_PORT_RANGE", (const char **) &HYD_server_info.port_range))
HYD_server_info.port_range = HYDU_strdup(HYD_server_info.port_range);
/* Add the stdout/stderr callback handlers */
-----------------------------------------------------------------------
Summary of changes:
src/pm/hydra/ui/mpich/mpiexec.c | 14 +++++++++++---
1 files changed, 11 insertions(+), 3 deletions(-)
hooks/post-receive
--
MPICH primary repository
More information about the commits
mailing list