Skip to content

Commit

Permalink
Ignore status that is in fact ignored
Browse files Browse the repository at this point in the history
  • Loading branch information
lkotipal committed Apr 23, 2024
1 parent ac9b6e3 commit b0844ba
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions vlsv_writer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<char>(), &status) != MPI_SUCCESS) {
if (MPI_File_write_at(fileptr, offset, buffer.data(), totalBytes, MPI_Type<char>(), MPI_STATUS_IGNORE) != MPI_SUCCESS) {
success = false;
}
}
Expand Down

0 comments on commit b0844ba

Please sign in to comment.