[MPICH] help self-defined datatype

llwaeva at 21cn.com llwaeva at 21cn.com
Wed Sep 28 08:24:29 CDT 2005


> What does the node 1 print code look like?
> Maybe it has a bug...
> 
The print code is very simple

if (myrank==1)
{
  for (i=0; i<NROWS; i++)
  {
    for (j=0; j<NCOLS; j++)
    {
      printf( "%2.0f ", data[i][j].v );
      fflush(stdout);
    }
    printf( "\n" ); fflush(stdout);
  }
}




More information about the mpich-discuss mailing list