Hi all,
I'm new to k-Wave and trying out the demos but I run into problems with the CUDA and C++ (OMP) code. I tried the example_cpp_running_simulations.m
demo and I just get:
$ ./kspaceFirstOrder-OMP -i /tmp/example_input.h5 -o /tmp/example_output.h5 --p_final --p_max
-snip-
Error: Invalid format of the input file: iostream error
-snip-
I have traced that down to the file:
kspaceFirstOrder-OMP/Hdf5/Hdf5FileHeader.cpp
where getFileType()
returns 3 and FileType::kInput
is 0 in the function:
void Hdf5FileHeader::readHeaderFromInputFile(Hdf5File& inputFile)
Is this an installation issue or a bug? (the pre-compiled binaries have the same problem).
/Fredrik