~njansson/dolfin/hpc

« back to all changes in this revision

Viewing changes to src/io/Checkpoint.cpp

  • Committer: Niclas Jansson
  • Date: 2011-07-14 09:52:41 UTC
  • Revision ID: njansson@csc.kth.se-20110714095241-jtwvh45d07usaqth
Minor fix

Show diffs side-by-side

added added

removed removed

Lines of Context:
108
108
  MPI_File out;
109
109
  MPI_File_open(dolfin::MPI::DOLFIN_COMM, (char *) _fname.str().c_str(),
110
110
                MPI_MODE_WRONLY | MPI_MODE_CREATE, MPI_INFO_NULL, &out);
111
 
  MPI_File_set_size(out, 0);
112
111
  
113
112
  byte_offset = 0;
114
113
  MPI_File_write_all(out, &id, 1, MPI_UNSIGNED, MPI_STATUS_IGNORE);