1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-17 07:17:06 +01:00

HDF5 types static initialisation is mysteriously buggy on BG/Q, changing strategy

This commit is contained in:
2017-01-19 18:02:53 -08:00
parent 2c673666da
commit 6eea9e4da7
5 changed files with 16 additions and 22 deletions

View File

@ -12,7 +12,7 @@ Hdf5Writer::Hdf5Writer(const std::string &fileName)
{
group_ = file_.openGroup("/");
writeSingleAttribute(dataSetThres_, HDF5_GRID_GUARD "dataset_threshold",
*Hdf5Type<unsigned int>::type);
*Hdf5Type<unsigned int>::type());
}
void Hdf5Writer::push(const std::string &s)
@ -62,7 +62,7 @@ Hdf5Reader::Hdf5Reader(const std::string &fileName)
{
group_ = file_.openGroup("/");
readSingleAttribute(dataSetThres_, HDF5_GRID_GUARD "dataset_threshold",
*Hdf5Type<unsigned int>::type);
*Hdf5Type<unsigned int>::type());
}
void Hdf5Reader::push(const std::string &s)