/[escript]/trunk-mpi-branch/pythonMPI/src/ScriptMPI.cpp
ViewVC logotype

Diff of /trunk-mpi-branch/pythonMPI/src/ScriptMPI.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1015 by gross, Wed Mar 7 09:55:41 2007 UTC revision 1016 by gross, Thu Mar 8 06:31:28 2007 UTC
# Line 26  int main( int argc, char **argv ) { Line 26  int main( int argc, char **argv ) {
26      if( mpi_info->rank )      if( mpi_info->rank )
27      {      {
28        char fname[256];        char fname[256];
   
29        sprintf( fname, "log_P%d.txt", mpi_info->rank );        sprintf( fname, "log_P%d.txt", mpi_info->rank );
30        FILE *fp = freopen( fname, "w+", stdout );        FILE *fp = freopen( fname, "w+", stdout );
31      }      }

Legend:
Removed from v.1015  
changed lines
  Added in v.1016

  ViewVC Help
Powered by ViewVC 1.1.26