File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
applications/HDF5Application/custom_io Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1099,18 +1099,18 @@ void File::ReadDataSetImpl(
1099
1099
}
1100
1100
} else {
1101
1101
#ifdef KRATOS_USING_MPI
1102
- bool read = true ;
1102
+ bool read_data = true ;
1103
1103
#if H5_VERS_MAJOR < 2 && ((H5_VERS_MINOR == 14 && H5_VERS_RELEASE < 2) || H5_VERS_MINOR < 14)
1104
1104
/* *
1105
1105
* Until hdf5 1.14.2, if someone tries to read/write empty containers from every rank, it throws an error. This is
1106
1106
* fixed in the later versions.
1107
1107
*
1108
1108
* TODO: Remove this pre-compiler directive once we move to compatible versions.
1109
1109
*/
1110
- read &= mpDataCommunicator->SumAll (TypeTraits::Size (rData)) > 0 ;
1110
+ read_data &= mpDataCommunicator->SumAll (TypeTraits::Size (rData)) > 0 ;
1111
1111
#endif
1112
1112
1113
- if (read ) {
1113
+ if (read_data ) {
1114
1114
hid_t dxpl_id;
1115
1115
KRATOS_HDF5_CALL_WITH_RETURN (dxpl_id, H5Pcreate, H5P_DATASET_XFER)
1116
1116
if constexpr (TDataTransferMode == DataTransferMode::Collective) {
You can’t perform that action at this time.
0 commit comments