You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, COLLAPSO1D output the checkpoints in unformatted binary, which then need to be converted to human-readable text files with readout.f90.
This works only if both the code output and readout have the exact same structure as how the checkpoint files are structured. If a user adds or removes observables, they also need to edit the readout.f90. As a result, there is a lot of potential for older binary checkpoints to become unusable and impossible to read and process. No internal organization or metadata.
Impossible to manipulate the binary, e.g., cannot be appended to - every restart is a separate file
The binary and readable redundancy is completely unnecessary, clogging up disk space.
Cannot run in parallel, which can be useful during debugging with frequent dumps.
ifort is having a lot of trouble processing unformatted binary files.
Solution
Convert readini and printout subroutines to write and load checkpoints with HDF5. It addresses all of the issues pointed out above, and the format is widely accepted in the CFD community. In addition, COLLAPSO1D already requires HDF5 installation to read the EOS Tables, e.g., SFHo, so there won't be new package dependencies.
The text was updated successfully, but these errors were encountered:
Problem
Currently, COLLAPSO1D output the checkpoints in unformatted binary, which then need to be converted to human-readable text files with
readout.f90
.readout.f90
. As a result, there is a lot of potential for older binary checkpoints to become unusable and impossible to read and process. No internal organization or metadata.ifort
is having a lot of trouble processing unformatted binary files.Solution
Convert
readini
andprintout
subroutines to write and load checkpoints with HDF5. It addresses all of the issues pointed out above, and the format is widely accepted in the CFD community. In addition, COLLAPSO1D already requires HDF5 installation to read the EOS Tables, e.g., SFHo, so there won't be new package dependencies.The text was updated successfully, but these errors were encountered: