Re: Gadget4: Postprocessing options: Not looking for correct files.

From: Volker Springel <vspringel_at_MPA-Garching.MPG.DE>
Date: Thu, 4 Feb 2021 10:45:16 +0100

Hi Swati,

Thanks. I think this happened because you did not use ICFormat=3, despite having input files in HDF5 format. Unfortunately "ICFormat" is somewhat of a confusing misnomer (for historical reasons). It would better be called "InputFileFormat", or something like this, because the code treats this as determining the input file format also for all postprocessing options.


> On 4. Feb 2021, at 10:12, Swati Gavas <> wrote:
> Hi,
> I ran a DM simulation with .hdf5 snapshot format.
> I got the following error when I try to postprocess (specifically run FOF).
> Code termination on task=1, function find_files(), file src/io/, line 222:
> Can't find files, neither as '/home/swati/gadget4_runs/L32_N32/ASMTH_1/output/snapshot_001.0'
> nor as '/home/swati/gadget4_runs/L32_N32/ASMTH_1/output/snapshot_001'
> It is not looking for the correct file format. I have fixed it for my purposes. But, I thought I should report this.
> Thank you
> ~Swati Gavas
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to
> with a subject of: unsubscribe gadget-list
> A web-archive of this mailing list is available here:
Received on 2021-02-04 10:45:17

This archive was generated by hypermail 2.3.0 : 2023-01-10 10:01:32 CET