diff --git a/src/utils/Stop.cpp b/src/utils/Stop.cpp index 61e4b2ad0ca7933a7e6484e29effa9cf56946faf..c789beb3a848afcabf8cd21e0b6e85879e1a7407 100644 --- a/src/utils/Stop.cpp +++ b/src/utils/Stop.cpp @@ -14,7 +14,7 @@ bool stop() { - bool must_stop = false; + bool stop = false; if (parallel::rank() == 0) { std::filesystem::path stop_file("stop"); @@ -26,7 +26,7 @@ stop() std::filesystem::last_write_time(stop_file)) .count(); - must_stop = elapse_time > stop_file_age; + stop = elapse_time > stop_file_age; } #ifdef PUGS_HAS_SLURM @@ -36,7 +36,7 @@ stop() int slurm_job_id = std::atoi(env); if (slurm_get_rem_time(slurm_job_id) < 150) { - must_stop = true; + stop = true; } slurm_fini(); @@ -44,7 +44,7 @@ stop() #endif // PUGS_HAS_SLURM } - parallel::broadcast(must_stop, 0); + parallel::broadcast(stop, 0); - return must_stop; + return stop; } diff --git a/src/utils/checkpointing/WriteArray.hpp b/src/utils/checkpointing/WriteArray.hpp index 495fc5fcd916e3cfc8d5dad0862f701968cb6fda..5cff412b80e111716a680d0db0ff43d64b53d39e 100644 --- a/src/utils/checkpointing/WriteArray.hpp +++ b/src/utils/checkpointing/WriteArray.hpp @@ -29,9 +29,9 @@ write(HighFive::Group& group, const std::string& name, const Array<DataType>& ar using data_type = std::remove_const_t<DataType>; HighFive::DataSetCreateProps properties; - properties.add(HighFive::Chunking(std::vector<hsize_t>{std::min(4ul * 1024ul * 1024ul, global_size)})); - properties.add(HighFive::Shuffle()); - properties.add(HighFive::Deflate(3)); + // properties.add(HighFive::Chunking(std::vector<hsize_t>{std::min(4ul * 1024ul * 1024ul, global_size)})); + // properties.add(HighFive::Shuffle()); + // properties.add(HighFive::Deflate(3)); auto xfer_props = HighFive::DataTransferProps{}; xfer_props.add(HighFive::UseCollectiveIO{}); diff --git a/src/utils/checkpointing/WriteTable.hpp b/src/utils/checkpointing/WriteTable.hpp index ad1336a6f7d90479fbbcf28c7622470778dfbe8f..b52455950081a784bf440afa8cab84c0842bb5a7 100644 --- a/src/utils/checkpointing/WriteTable.hpp +++ b/src/utils/checkpointing/WriteTable.hpp @@ -36,9 +36,9 @@ write(HighFive::Group& group, const std::string& name, const Table<DataType>& ta using data_type = std::remove_const_t<DataType>; HighFive::DataSetCreateProps properties; - properties.add(HighFive::Chunking(std::vector<hsize_t>{std::min(4ul * 1024ul * 1024ul, global_size)})); - properties.add(HighFive::Shuffle()); - properties.add(HighFive::Deflate(3)); + // properties.add(HighFive::Chunking(std::vector<hsize_t>{std::min(4ul * 1024ul * 1024ul, global_size)})); + // properties.add(HighFive::Shuffle()); + // properties.add(HighFive::Deflate(3)); auto xfer_props = HighFive::DataTransferProps{}; xfer_props.add(HighFive::UseCollectiveIO{});