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

Diff of /trunk/pythonMPI/src/ScriptMPI.cpp

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

revision 2375 by gross, Thu Mar 19 03:19:41 2009 UTC revision 2376 by gross, Tue Apr 7 06:21:31 2009 UTC
# Line 43  int main( int argc, char **argv ) { Line 43  int main( int argc, char **argv ) {
43    
44      if( mpi_info->rank )      if( mpi_info->rank )
45      {      {
       char fname[256];  
       sprintf( fname, "stdout_%04d.out", mpi_info->rank );  
46        FILE *fp_out;        FILE *fp_out;
47        fp_out = freopen( fname, "w+", stdout );        fp_out = freopen( "/dev/null", "w+", stdout );
       sprintf( fname, "stdout_%04d.err", mpi_info->rank );  
       FILE *fp_err;  
       fp_err = freopen( fname, "w+", stderr );  
48      }      }
49      /*      /*
50       * Start the python parser       * Start the python parser

Legend:
Removed from v.2375  
changed lines
  Added in v.2376

  ViewVC Help
Powered by ViewVC 1.1.26