I have a simulation of size 256 x 243 x 256, with 3506 time steps. I have included the line
sensor.record_start_index = kgrid.Nt - periodSteps + 1;
so that it only records the last period, corresponding to the last 29 time steps in my case. I wish to record p and p_max and use the former as an input for a thermal simulation.
My terminal input is
./k-Wave/binaries/kspaceFirstOrder-OMP -i before.h5 -o after.h5 --p_max_all -p
however I receive Error: Cannot write into dataset .: iostream error
, along with an incomplete .h5 file at over 11GB. I am on a machine with limited allotted space, but I expected my p output file to be size 256 x 243 x 256 x 29 = 461.8 MB, and the p_max_all to be significantly smaller.
Can you suggest what might be wrong here? Thanks for your help.