Skip to content

issue when reading beam from file  #472

@MaxThevenet

Description

@MaxThevenet

Encountered two issues:

When using beam.input_file = beam_input/openpmd_000000.h5

I get error

HDF5-DIAG: Error detected in HDF5 (1.10.7) MPI-process 0:
  #000: H5F.c line 429 in H5Fopen(): unable to open file
    major: File accessibility
    minor: Unable to open file
  #001: H5Fint.c line 1644 in H5F_open(): unable to open file: time = Sat May  1 08:25:19 2021
, name = 'beam_input/0.h5', tent_flags = 0
    major: File accessibility
    minor: Unable to open file
  #002: H5FD.c line 741 in H5FD_open(): open failed
    major: Virtual File Layer
    minor: Unable to initialize object
  #003: H5FDsec2.c line 360 in H5FD__sec2_open(): unable to open file: name = 'beam_input/0.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0
    major: File accessibility
    minor: Unable to open file
libc++abi.dylib: terminating with uncaught exception of type openPMD::no_such_file_error: [HDF5] Failed to open HDF5 file beam_input/0.h5
SIGABRT
See Backtrace.0 file for details

When using beam.input_file = openpmd_000000.h5

The code prints millions of 0and I had to kill the run. I used this input file to generate the beam, and then tried to re-run the same simulation loading the beam. The beam file is ~2 MB.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions