Commit 66c0370b authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Merge branch 'GEAR-hdf5-reading-fix' into 'master'

Gear hdf5 reading fix

Closes #701

See merge request !1144
parents e0750f24 10780ed3
......@@ -9,6 +9,7 @@ InternalUnitSystem:
Scheduler:
max_top_level_cells: 16
cell_extra_sparts: 5000 # (Optional) Number of spare sparts per top-level allocated at rebuild time for on-the-fly creation.
cell_extra_gparts: 5000 # (Optional) Number of spare sparts per top-level allocated at rebuild time for on-the-fly creation.
cell_max_size: 8000 # (Optional) Maximal number of interactions per task if we force the split (this is the default value).
cell_sub_size_pair_hydro: 2560 # (Optional) Maximal number of hydro-hydro interactions per sub-pair hydro/star task (this is the default value).
cell_sub_size_self_hydro: 3200 # (Optional) Maximal number of hydro-hydro interactions per sub-self hydro/star task (this is the default value).
......
File mode changed from 100644 to 100755
......@@ -80,7 +80,7 @@ io_read_string_array_attribute(hid_t grp, const char *name, void *data,
for (hsize_t i = 0; i < number_element; i++) {
char *src = tmp + i * sdim;
char *dest = data + i * size_per_element;
memcpy(dest, src, sdim);
memcpy(dest, src, sdim + 1);
}
/* Cleanup */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment