i-RIC / iriclib

1 stars 3 forks source link

When writing solutions using IRIC_OPTION_DIVIDESOLUTIONS mode files aren't closed #30

Closed scharlton2 closed 6 years ago

scharlton2 commented 6 years ago

When writing solutions in IRIC_OPTION_DIVIDESOLUTIONS mode and using HDF5 the files are still open after cg_close() is called. When files are ADF all files are closed.

This seems to be a bug in either cgns 3.2.1 or hdf5 1.8.14.

I think it might have to do with the code ifdef'd out at: https://github.com/CGNS/CGNS/blob/v3.2.1/src/adfh/ADFH.c#L2349

But, the latest version still has it ifdef'd out at: https://github.com/CGNS/CGNS/blob/v3.3.1/src/adfh/ADFH.c#L2426

It looks like it's a Windows only problem, Linux doesn't seem to have it.