[mpich2-commits] r4167 - mpich2/trunk/src/pm/hydra/pm/pmiserv
balaji at mcs.anl.gov
balaji at mcs.anl.gov
Sun Mar 22 22:50:14 CDT 2009
Author: balaji
Date: 2009-03-22 22:50:14 -0500 (Sun, 22 Mar 2009)
New Revision: 4167
Modified:
mpich2/trunk/src/pm/hydra/pm/pmiserv/pmi_serv_launch.c
Log:
Bug fix for the case where the number of proxies to be launched is
lesser than our partition list (e.g., when the host file contains more
entries than needed).
Modified: mpich2/trunk/src/pm/hydra/pm/pmiserv/pmi_serv_launch.c
===================================================================
--- mpich2/trunk/src/pm/hydra/pm/pmiserv/pmi_serv_launch.c 2009-03-23 03:01:43 UTC (rev 4166)
+++ mpich2/trunk/src/pm/hydra/pm/pmiserv/pmi_serv_launch.c 2009-03-23 03:50:14 UTC (rev 4167)
@@ -105,6 +105,9 @@
process_id = 0;
for (partition = handle.partition_list; partition; partition = partition->next) {
+ if (partition->exec_list == NULL)
+ break;
+
arg = HYDU_strlist_lastidx(partition->proxy_args);
i = 0;
path_str[i++] = MPIU_Strdup(handle.base_path);
More information about the mpich2-commits
mailing list