Skip to content
Snippets Groups Projects

Corrected the IC generation scripts

Merged Matthieu Schaller requested to merge correct_ICs into master

IC generation scripts now create files that can be read without problems with the MPI parallel version of the HDF5 library.

Solves bug #23 (closed).

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Tried to run the updated SedovBlast with the result:

     > mpirun -np 2 ./test_fixdt_mpi -r 10 -t 2 -f SedovBlast/sedov.hdf5 -m 0.1 -w 5000 -d 5e-5
    [000] main: MPI is up and running with 2 nodes.
    [000] main: maximum h set to 1.000000e-01.
    [000] main: sub size set to 5000.
    [000] main: dt set to 5.000000e-05.
    [000] main: sizeof(struct part) is 128 bytes.
    [000] main: sizeof(struct gpart) is 64 bytes.
    [000] main: Unit system: U_M = 1.000000e+00 g.
    [000] main: Unit system: U_L = 1.000000e+00 cm.
    [000] main: Unit system: U_t = 0.000000e+00 s.
    [000] main: Unit system: U_I = 1.000000e+00 A.
    [000] main: Unit system: U_T = 1.000000e+00 K.
    [000] main: Density units: 1.000000e+00 a^-3.000000 h^2.000000.
    [000] main: Entropy units: inf a^4.000000 h^-1.333333.
    HDF5-DIAG: Error detected in HDF5 (1.8.14) MPI-process 0:
      #000: H5Dio.c line 173 in H5Dread(): can't read data
        major: Dataset
        minor: Read failed
      #001: H5Dio.c line 436 in H5D__read(): src and dest data spaces have different sizes
        major: Invalid arguments to routine
        minor: Bad value
    [000] parallel_io.c:readArrayBackEnd():154: Error while reading data array 'Masses'.
    application called MPI_Abort(MPI_COMM_WORLD, -1) - process 0
    HDF5-DIAG: Error detected in HDF5 (1.8.14) MPI-process 1:
      #000: H5Dio.c line 173 in H5Dread(): can't read data
        major: Dataset
        minor: Read failed
      #001: H5Dio.c line 436 in H5D__read(): src and dest data spaces have different sizes
        major: Invalid arguments to routine
        minor: Bad value
    [000] parallel_io.c:readArrayBackEnd():154: Error while reading data array 'Masses'.
    application called MPI_Abort(MPI_COMM_WORLD, -1) - process 1

    Pretty sure I've run the updates, so can you check this as well.

  • Matthieu Schaller Status changed to closed

    Status changed to closed

  • Matthieu Schaller Status changed to reopened

    Status changed to reopened

  • Thanks ddc3c793 fixes this. Accepting.

Please register or sign in to reply
Loading