[mpich2-commits] r4018 - mpich2/trunk/src/pm/hydra/utils/sock
balaji at mcs.anl.gov
balaji at mcs.anl.gov
Wed Mar 11 15:51:47 CDT 2009
Author: balaji
Date: 2009-03-11 15:51:47 -0500 (Wed, 11 Mar 2009)
New Revision: 4018
Modified:
mpich2/trunk/src/pm/hydra/utils/sock/sock.c
Log:
Missed a socket close call when there is no stdin data. This was causing
mpiexec to continuously poll.
Modified: mpich2/trunk/src/pm/hydra/utils/sock/sock.c
===================================================================
--- mpich2/trunk/src/pm/hydra/utils/sock/sock.c 2009-03-11 18:55:58 UTC (rev 4017)
+++ mpich2/trunk/src/pm/hydra/utils/sock/sock.c 2009-03-11 20:51:47 UTC (rev 4018)
@@ -476,6 +476,7 @@
if (count < 0) {
if (errno == EINTR || errno == EAGAIN) {
/* This call was interrupted or there was no data to read; just break out. */
+ *closed = 1;
break;
}
More information about the mpich2-commits
mailing list