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

Also allow the writing of large spart and bpart arrays (>2GB / node) in parallel-io.

parent dd4008f9
No related branches found
No related tags found
1 merge request!990Distributed snapshots
......@@ -345,6 +345,8 @@ void read_array_parallel(hid_t grp, struct io_props props, size_t N,
props.parts += max_chunk_size; /* part* on the part */
props.xparts += max_chunk_size; /* xpart* on the xpart */
props.gparts += max_chunk_size; /* gpart* on the gpart */
props.sparts += max_chunk_size; /* spart* on the spart */
props.bparts += max_chunk_size; /* bpart* on the bpart */
offset += max_chunk_size;
redo = 1;
} else {
......@@ -652,6 +654,8 @@ void write_array_parallel(struct engine* e, hid_t grp, char* fileName,
props.parts += max_chunk_size; /* part* on the part */
props.xparts += max_chunk_size; /* xpart* on the xpart */
props.gparts += max_chunk_size; /* gpart* on the gpart */
props.sparts += max_chunk_size; /* spart* on the spart */
props.bparts += max_chunk_size; /* bpart* on the bpart */
offset += max_chunk_size;
redo = 1;
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment