jintonic/gears

Error using HDF5 output file

Closed this issue · 1 comments

Hi,

I love Gears and the concept behind it. Thanks for putting so much effort into it.

I'm having trouble using HDF5 as the output file. When I set the output file using
/analysis/setFileName test_output.hdf5

I get two error messages from Geant4: -

-------- WWWW ------- G4Exception-START -------- WWWW -------
*** G4Exception : Analysis_W001
issued by : G4GenericFileManager::CreateFileManager
Hdf5 type is not available.
*** This is just a warning message. ***
-------- WWWW -------- G4Exception-END --------- WWWW -------

-------- WWWW ------- G4Exception-START -------- WWWW -------
*** G4Exception : Analysis_W001
issued by : G4GenericFileManager::CreateNtupleFileManager
Failed to create ntuple file manager of hdf5 type.
Hdf5 is not available
*** This is just a warning message. ***
-------- WWWW -------- G4Exception-END --------- WWWW -------

after which the program halts for a few seconds, then closes. Do you have any idea what might be causing this? I've installed the HDF5 libraries separately to no avail. I wasn't sure whether this was maybe necessary to install to write HDF5 files, although I can work with HDF5 in Julia without doing this.

I'm using Windows 11, and HDF5 1.12.3 is installed. I installed Geant4 using the pre-compile binary binary option. Is it perhaps the case that the precompiled binaries aren't configured to support HDF5?

Thanks for any help you can give.

Apologies, I see this information is already in the Gears documentation and that HDF5 needs to be installed before Geant4.