Recent inconsistencies with Pnetcdf and MPI

Divyanshu Gola divyans at umich.edu
Fri Jul 11 09:47:28 CDT 2025


Hi,

This is a shot in the dark but I thought why not.

The exact same code that I had been using until a few weeks ago gives me an
error when I am trying to read restart files using PNetcdf. The error is *Index
exceeds dimension bounds, or Start+Count exceeds dimension bounds. *Based
on days of debugging, I have narrowed it down to some problem during the
writing of the restart files (and not the reading itself). All of these
errors seem to originate from the way PNetcdf is built and the MPI file
system used on the cluster (because I can run the same code on a different
cluster), but I can't seem to identify the root cause. The error also
doesn't appear when I use fewer processes on a single node on the cluster.

I know this is most likely not a bug in the PNetcdf library but something
else, but I was wondering if people on this mailing list have encountered a
similar issue.

Apologies for the long email and thanks

Divyanshu

Postdoctoral Researcher
University of Michigan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/parallel-netcdf/attachments/20250711/3d994767/attachment.html>


More information about the parallel-netcdf mailing list