Skip to content

Commit

Permalink
Merge branch 'develop' into pgrete/histogram-outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
Yurlungur authored Nov 7, 2023
2 parents 4dad9bb + 2857394 commit 028bcfb
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
- [[PR 868]](https://github.com/parthenon-hpc-lab/parthenon/pull/868) Add block-local face, edge, and nodal fields and allow for packing

### Changed (changing behavior/API/variables/...)
- [[PR 965]](https://github.com/parthenon-hpc-lab/parthenon/pull/965) Allow leading whitespace in input parameters
- [[PR 926]](https://github.com/parthenon-hpc-lab/parthenon/pull/926) Internal refinement op registration
- [[PR 897]](https://github.com/parthenon-hpc-lab/parthenon/pull/897) Deflate compression filter is not called any more if compression is soft disabled
- [[PR 896]](https://github.com/parthenon-hpc-lab/parthenon/pull/896) Update Kokkos integration to support installed version. Use `serial` (flat MPI) host parallelization by default (instead of OpenMP)
Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ include(cmake/Format.cmake)
include(cmake/Lint.cmake)

# regression test reference data
set(REGRESSION_GOLD_STANDARD_VER 19 CACHE STRING "Version of gold standard to download and use")
set(REGRESSION_GOLD_STANDARD_VER 20 CACHE STRING "Version of gold standard to download and use")
set(REGRESSION_GOLD_STANDARD_HASH
"SHA512=e1d1a06b9cf9b761d42d0b6b241056ac75658db90138b6b867b1ca7ead4308af4f980285af092b40aee1dbbfb68b4e8cb15efcc9b83d7930c18bf992ae95c729"
"SHA512=e5e421f3c0be01e4708965542bb8b1b79b5c96de97091e46972e375c7616588d026a9a8e29226d9c7ef75346bc859fd9af72acdc7e95e0d783b5ef29aa4630b1"
CACHE STRING "Hash of default gold standard file to download")
option(REGRESSION_GOLD_STANDARD_SYNC "Automatically sync gold standard files." ON)

Expand Down
2 changes: 1 addition & 1 deletion src/outputs/parthenon_hdf5.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -820,7 +820,7 @@ HDF5GetAttributeInfo(hid_t location, const std::string &name, H5A &attr) {
// template specializations for std::string and bool
void HDF5WriteAttribute(const std::string &name, const std::string &value,
hid_t location) {
HDF5WriteAttribute(name, value.size(), value.c_str(), location);
HDF5WriteAttribute(name, value.c_str(), location);
}

template <>
Expand Down
2 changes: 1 addition & 1 deletion src/parameter_input.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ bool ParameterInput::ParseLine(InputBlock *pib, std::string line, std::string &n
name.assign(line, first_char, len);
last_char = name.find_last_not_of(" ");
name.erase(last_char + 1, std::string::npos);
line.erase(0, len + 1);
line.erase(0, equal_char + 1);
}

cont_char = line.find_first_of("&"); // find "&" continuation character
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ nx2 = 64
nx3 = 64

<parthenon/time>
tlim = 1.0
nlim = 20
tlim = 1.0 # Test that leading whitespace is correctly sanitized
nlim = 20 # Test that leading tab is correctly sanitized
integrator = rk2
perf_cycle_offset = 2

Expand Down

0 comments on commit 028bcfb

Please sign in to comment.