/[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 2082 by ksteube, Thu Sep 25 23:11:13 2008 UTC revision 2083 by caltinay, Fri Nov 21 01:46:31 2008 UTC
# Line 45  int main( int argc, char **argv ) { Line 45  int main( int argc, char **argv ) {
45      {      {
46        char fname[256];        char fname[256];
47        sprintf( fname, "stdout_cpu_%04d.out", mpi_info->rank );        sprintf( fname, "stdout_cpu_%04d.out", mpi_info->rank );
48        FILE *fp_out = freopen( fname, "w+", stdout );        FILE *fp_out;
49          fp_out = freopen( fname, "w+", stdout );
50        sprintf( fname, "stdout_cpu_%04d.err", mpi_info->rank );        sprintf( fname, "stdout_cpu_%04d.err", mpi_info->rank );
51        FILE *fp_err = freopen( fname, "w+", stderr );        FILE *fp_err;
52          fp_err = freopen( fname, "w+", stderr );
53      }      }
54      /*      /*
55       * Start the python parser       * Start the python parser

Legend:
Removed from v.2082  
changed lines
  Added in v.2083

  ViewVC Help
Powered by ViewVC 1.1.26