FLAMEGPU2
FLAMEGPU2 copied to clipboard
Hdf5 simulation data export/import
@ptheywood has been suggesting support HDF5 data import/export, especially for a standalone visualisation.
This is an experimental consideration at this stage, this issue will track notes/progress.
Licensing:
HDF5 uses 'szip', this is free for decoding, and non-commercial/education/research applications encoding, so I think we're ok.
Including source/binaries
They provide pre-built distributions. Less obvious from their website, they also have a bitbucket git repo, we could use this similar to google test (assuming it isn't difficult to build).
- Clone of the repo is ~138MB, so first cmake configure would be a bit slow
- Configure is very slow, does the thing where it checks for tens of headers, type availability and type size.
- Building initially failed for most items of 'ALL_BUILD', due to
H5public.h(32): fatal error C1083: Cannot open include file: 'H5version.h': No such file or directory
(This is supposed to be automatically generated)- There's a perl script to generate this, but I can't see any mention of this in the official CMake guide, which isn't very useful, the CTest is says to run errors (it appears to be trying to build a different version to what's checked out among other things).
Will attempt to use pre-built version instead
Static Linking
Static linking on Windows doesn't seem like a good idea, they don't support a static build that links against microsoft CRT.. So it won't link without changing from alot of FGPU2's default build settings.