Skip to content
Snippets Groups Projects
Commit fd72330f authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Removed compression in parallel HDF5 mode.

parents 6900cedd dd5c60cf
No related branches found
No related tags found
2 merge requests!136Master,!98Compressed i/o
......@@ -508,7 +508,8 @@ void write_output_parallel(struct engine* e, struct UnitSystem* us,
/* Open header to write simulation properties */
/* message("Writing runtime parameters..."); */
h_grp = H5Gcreate(h_file, "/RuntimePars", H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
h_grp =
H5Gcreate(h_file, "/RuntimePars", H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
if (h_grp < 0) error("Error while creating runtime parameters group\n");
/* Write the relevant information */
......@@ -556,7 +557,8 @@ void write_output_parallel(struct engine* e, struct UnitSystem* us,
/* Create SPH particles group */
/* message("Writing particle arrays..."); */
h_grp = H5Gcreate(h_file, "/PartType0", H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
h_grp =
H5Gcreate(h_file, "/PartType0", H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
if (h_grp < 0) error("Error while creating particle group.\n");
/* Write particle fields from the particle structure */
......
......
......@@ -586,7 +586,8 @@ void write_output_serial(struct engine* e, struct UnitSystem* us, int mpi_rank,
/* Open header to write simulation properties */
/* message("Writing runtime parameters..."); */
h_grp = H5Gcreate(h_file, "/RuntimePars", H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
h_grp = H5Gcreate(h_file, "/RuntimePars", H5P_DEFAULT, H5P_DEFAULT,
H5P_DEFAULT);
if (h_grp < 0) error("Error while creating runtime parameters group\n");
/* Write the relevant information */
......@@ -634,7 +635,8 @@ void write_output_serial(struct engine* e, struct UnitSystem* us, int mpi_rank,
/* Create SPH particles group */
/* message("Writing particle arrays..."); */
h_grp = H5Gcreate(h_file, "/PartType0", H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
h_grp =
H5Gcreate(h_file, "/PartType0", H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
if (h_grp < 0) error("Error while creating particle group.\n");
/* Close particle group */
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment