[mpich2-commits] r4120 - mpich2/trunk/src/pm/hydra/pm/central

balaji at mcs.anl.gov balaji at mcs.anl.gov
Wed Mar 18 14:14:41 CDT 2009


Author: balaji
Date: 2009-03-18 14:14:41 -0500 (Wed, 18 Mar 2009)
New Revision: 4120

Modified:
   mpich2/trunk/src/pm/hydra/pm/central/proxy.c
Log:
Minor bug in the stdin code, that was causing stdin tests with more
than one process to fail. This commit should fix ticket #442.


Modified: mpich2/trunk/src/pm/hydra/pm/central/proxy.c
===================================================================
--- mpich2/trunk/src/pm/hydra/pm/central/proxy.c	2009-03-18 19:13:45 UTC (rev 4119)
+++ mpich2/trunk/src/pm/hydra/pm/central/proxy.c	2009-03-18 19:14:41 UTC (rev 4120)
@@ -78,7 +78,7 @@
             client_args[arg++] = MPIU_Strdup(HYD_Proxy_params.args[j]);
         client_args[arg++] = NULL;
 
-        if ((i & HYD_Proxy_params.pmi_id) == 0) {
+        if ((i + HYD_Proxy_params.pmi_id) == 0) {
             status = HYDU_Create_process(client_args, &HYD_Proxy_params.in,
                                          &HYD_Proxy_params.out[i], &HYD_Proxy_params.err[i],
                                          &HYD_Proxy_params.pid[i]);



More information about the mpich2-commits mailing list