NCAR / ParallelIO

A high-level Parallel I/O Library for structured grid applications
Apache License 2.0
134 stars 52 forks source link

BUG in pio2_5_5 subset decomp #1910

Closed jedwards4b closed 1 year ago

jedwards4b commented 2 years ago

Using a decomposition such as

version 2001 npes 4 ndims 3 
4 5 3
0 20
0 0 0 0 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
1 20
0 0 0 0 0 16 17 18 19 20 21 22 23 23 25 26 27 28 29 30
2 20
0 0 0 0 0 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
3 20
0 0 0 0 0 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 

with PIO_REARR_SUBSET in version 2.5.5 produces incorrect results.

jedwards4b commented 2 years ago

Note that there is a problem in the decomp above, value 23 is repeated, the second should be 24.