/[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 3489 by caltinay, Thu Oct 28 00:50:41 2010 UTC revision 3490 by caltinay, Wed Mar 30 02:24:33 2011 UTC
# Line 41  int main( int argc, char **argv ) { Line 41  int main( int argc, char **argv ) {
41    
42      if( mpi_info->rank )      if( mpi_info->rank )
43      {      {
44        FILE *fp_out;        //FILE *fp_out;
45        #ifdef _WIN32        #ifdef _WIN32
46        fp_out = freopen( "NUL", "w+", stdout );        /*fp_out =*/ freopen( "NUL", "w+", stdout );
47        #else        #else
48        fp_out = freopen( "/dev/null", "w+", stdout );        /*fp_out =*/ freopen( "/dev/null", "w+", stdout );
49        #endif        #endif
50      }      }
51      /*      /*

Legend:
Removed from v.3489  
changed lines
  Added in v.3490

  ViewVC Help
Powered by ViewVC 1.1.26