diff --git a/vlsv_writer.cpp b/vlsv_writer.cpp index b9d3b27..7c72144 100644 --- a/vlsv_writer.cpp +++ b/vlsv_writer.cpp @@ -733,10 +733,9 @@ namespace vlsv { // Write data at master if (myrank == masterRank) { - MPI_Status status; const double t_start = MPI_Wtime(); if(!dryRunning) { - if (MPI_File_write_at(fileptr, offset, buffer.data(), totalBytes, MPI_Type(), &status) != MPI_SUCCESS) { + if (MPI_File_write_at(fileptr, offset, buffer.data(), totalBytes, MPI_Type(), MPI_STATUS_IGNORE) != MPI_SUCCESS) { success = false; } }