Parallel-NetCDF / PnetCDF

Source code repository of PnetCDF library and utilities
https://parallel-netcdf.github.io
Other
82 stars 23 forks source link

Stop using file striping size to automatically set header extent size #124

Closed wkliao closed 9 months ago

wkliao commented 9 months ago

Automatically set the size of file header extent using the file striping size obtained from MPI-IO hint striping_unit may yield an unexpectedly large file header extent and cause movement of data sections if new metadata is added when the program re-enter the define mode. With this commit, file striping size will no longer be used to set the file header alignment size. However, users can still set nc_header_align_size in PNETCDF_HINTS environment variable or v_align in ncmpi__enddef() to customize the size of header extent.