diff --git a/src/clib/pioc.c b/src/clib/pioc.c index f944d92c4ff..f52d7a50e21 100644 --- a/src/clib/pioc.c +++ b/src/clib/pioc.c @@ -869,7 +869,7 @@ PIOc_InitDecomp_bc(int iosysid, int pio_type, int ndims, const int *gdimlen, } for (i = 0; i < maplen; i++) { - compmap[i] = 0; + compmap[i] = 1; for (n = ndims - 1; n >= 0; n--) compmap[i] += (start[n] + loc[n]) * prod[n];