[mpich-commits] r10695 - in mpich2/trunk/src/pm/hydra: pm/pmiserv ui/mpich

balaji at mcs.anl.gov balaji at mcs.anl.gov
Fri Nov 30 01:48:46 CST 2012


Author: balaji
Date: 2012-11-30 01:48:46 -0600 (Fri, 30 Nov 2012)
New Revision: 10695

Modified:
   mpich2/trunk/src/pm/hydra/pm/pmiserv/pmip_cb.c
   mpich2/trunk/src/pm/hydra/ui/mpich/utils.c
Log:
White-space cleanup.

Modified: mpich2/trunk/src/pm/hydra/pm/pmiserv/pmip_cb.c
===================================================================
--- mpich2/trunk/src/pm/hydra/pm/pmiserv/pmip_cb.c	2012-11-30 07:48:43 UTC (rev 10694)
+++ mpich2/trunk/src/pm/hydra/pm/pmiserv/pmip_cb.c	2012-11-30 07:48:46 UTC (rev 10695)
@@ -143,7 +143,8 @@
             }
         }
         else {  /* multi commands */
-            for (bufptr = sptr; bufptr < sptr + pmi_storage_len - strlen("endcmd\n") + 1; bufptr++) {
+            for (bufptr = sptr; bufptr < sptr + pmi_storage_len - strlen("endcmd\n") + 1;
+                 bufptr++) {
                 if (bufptr[0] == 'e' && bufptr[1] == 'n' && bufptr[2] == 'd' &&
                     bufptr[3] == 'c' && bufptr[4] == 'm' && bufptr[5] == 'd' &&
                     bufptr[6] == '\n') {
@@ -222,8 +223,9 @@
      * we can, parse out full PMI commands from it, and process
      * them. When we don't have a full PMI command, we store the
      * rest. */
-    status = HYDU_sock_read(fd, pmi_storage + pmi_storage_len, HYD_TMPBUF_SIZE - pmi_storage_len,
-                            &linelen, &closed, HYDU_SOCK_COMM_NONE);
+    status =
+        HYDU_sock_read(fd, pmi_storage + pmi_storage_len, HYD_TMPBUF_SIZE - pmi_storage_len,
+                       &linelen, &closed, HYDU_SOCK_COMM_NONE);
     HYDU_ERR_POP(status, "unable to read PMI command\n");
 
     /* Try to find the PMI FD */

Modified: mpich2/trunk/src/pm/hydra/ui/mpich/utils.c
===================================================================
--- mpich2/trunk/src/pm/hydra/ui/mpich/utils.c	2012-11-30 07:48:43 UTC (rev 10694)
+++ mpich2/trunk/src/pm/hydra/ui/mpich/utils.c	2012-11-30 07:48:46 UTC (rev 10695)
@@ -1440,7 +1440,8 @@
 {
     printf("\n");
     printf("-usize: Universe size (SYSTEM, INFINITE, <value>\n");
-    printf("   SYSTEM: Number of cores passed to mpiexec through hostfile or resource manager\n");
+    printf
+        ("   SYSTEM: Number of cores passed to mpiexec through hostfile or resource manager\n");
     printf("   INFINITE: No limit\n");
     printf("   <value>: Numeric value >= 0\n\n");
 }



More information about the commits mailing list