Commit 9d92a618 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 8b98d65a
......@@ -342,6 +342,8 @@ void readArray(hid_t grp, struct io_props props, size_t N, long long N_total,
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 {
......@@ -646,6 +648,8 @@ void writeArray(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 {
......
Supports Markdown
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