E3SM-Project / scorpio

A high-level Parallel I/O Library for structured grid applications
18 stars 16 forks source link

Replace ncmpi_enddef() with ncmpi__enddef() to avoid potential hanging issues #567

Closed dqwu closed 4 months ago

dqwu commented 4 months ago

This workaround addresses a potential hanging issue (for PnetCDF versions prior to 1.13.0) with ncmpi_enddef() when opening large files for writing on Lustre file systems.

Fixes #566