This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Hi Sebastian, Could you tell us if this recently fixed bug sounds like what you found? https://bugtracking.unidata.ucar.edu/browse/NCF-250 If so, the fix will be in netCDF release 4.3.1, a release candidate for which will soon be announced. --Russ > Hi everybody, > > I just figured out that using collective MPI/IO in variables with > unlimited dimensions can lead to deadlocks or wrong files. > > I have attached a small example program which can reproduce deadlock > (and wrong output files depending on the variable "count"). > > Did I do anything wrong or is this a known bug? > > My configuration: > hdf5 1.8.11 > netcdf 4.3 > openmpi (default ubuntu installation) > > Compile command: > mpicxx test.cpp -I/usr/local/include -L/usr/local/lib -lnetcdf -lhdf5_hl > -lhdf5 -lz > (netcdf and hdf5 are installed in /usr/local) > > Best regards, > Sebastian > > -- > Sebastian Rettenberger, M.Sc. > Technische Universität München > Department of Informatics > Chair of Scientific Computing > Boltzmannstrasse 3, 85748 Garching, Germany > http://www5.in.tum.de/ > > Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: RQB-854711 Department: Support netCDF Priority: Normal Status: Closed