diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2021-08-25 23:35:25 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-25 23:35:25 (GMT) |
commit | 32cb23fe7e5f0a29d113960a36039adfde8398d8 (patch) | |
tree | 271a5ce6b755bcd95deb355426efe9246498fde4 /testpar/t_shapesame.c | |
parent | e367c80b39529c9a863c3236e25bfb46b707b815 (diff) | |
download | hdf5-32cb23fe7e5f0a29d113960a36039adfde8398d8.zip hdf5-32cb23fe7e5f0a29d113960a36039adfde8398d8.tar.gz hdf5-32cb23fe7e5f0a29d113960a36039adfde8398d8.tar.bz2 |
Merge of mostly clang-tidy changes from 1.12 (#965)
Diffstat (limited to 'testpar/t_shapesame.c')
-rw-r--r-- | testpar/t_shapesame.c | 22 |
1 files changed, 6 insertions, 16 deletions
diff --git a/testpar/t_shapesame.c b/testpar/t_shapesame.c index 16226ee..ab9ce26 100644 --- a/testpar/t_shapesame.c +++ b/testpar/t_shapesame.c @@ -446,11 +446,8 @@ hs_dr_pio_test__setup(const int test_num, const int edge_size, const int checker VRFY((ret >= 0), "H5Dwrite() small_dataset initial write succeeded"); /* sync with the other processes before checking data */ - if (!use_collective_io) { - - mrc = MPI_Barrier(MPI_COMM_WORLD); - VRFY((mrc == MPI_SUCCESS), "Sync after small dataset writes"); - } + mrc = MPI_Barrier(MPI_COMM_WORLD); + VRFY((mrc == MPI_SUCCESS), "Sync after small dataset writes"); /* read the small data set back to verify that it contains the * expected data. Note that each process reads in the entire @@ -520,11 +517,8 @@ hs_dr_pio_test__setup(const int test_num, const int edge_size, const int checker VRFY((ret >= 0), "H5Dwrite() large_dataset initial write succeeded"); /* sync with the other processes before checking data */ - if (!use_collective_io) { - - mrc = MPI_Barrier(MPI_COMM_WORLD); - VRFY((mrc == MPI_SUCCESS), "Sync after large dataset writes"); - } + mrc = MPI_Barrier(MPI_COMM_WORLD); + VRFY((mrc == MPI_SUCCESS), "Sync after large dataset writes"); /* read the large data set back to verify that it contains the * expected data. Note that each process reads in the entire @@ -552,12 +546,8 @@ hs_dr_pio_test__setup(const int test_num, const int edge_size, const int checker VRFY((mis_match == FALSE), "large ds init data good."); /* sync with the other processes before changing data */ - - if (!use_collective_io) { - - mrc = MPI_Barrier(MPI_COMM_WORLD); - VRFY((mrc == MPI_SUCCESS), "Sync initial values check"); - } + mrc = MPI_Barrier(MPI_COMM_WORLD); + VRFY((mrc == MPI_SUCCESS), "Sync initial values check"); return; |