Hello!
It is hard to provide a MWE, since this is a pattern I observe when running a simulation in Julia. I time the different operation and I see that closing a file through HDF5.jl
takes up more time than I think it should:
To save time while running my simulation I store output file identifiers in a vector and then close them all at the end of the simulation, which is why only one call is present. Still, it takes ~7 seconds to close 201 files, which is quite a long time compared to the other operations. Because file closing is slow, I cannot close a file instantly when I am done with it, would stall simulation time.
Does anyone know if this is;
- Specific to Windows?
- Specific to HDF5.jl?
- Specific to HDF it self?
And does anyone know how to close files faster?
Kind regards