Licensing

Licensing

I am running a VOF to DPM simulation with PUMA mesh adaption, and having trouble writing HDF5 files. There is a sporadic file access error during the writing of the HDF5 files HDF5-DIAG: Error detected in HDF5 (1.10.5) MPI-process 0: #000: H5F.c line 509 in H5Fopen(): unable to open file major: File accessibilty minor: Unable to open file #001: H5Fint.c line 1567 in H5F_open(): unable to lock the file major: File accessibilty minor: Unable to open file #002: H5FD.c line 1640 in H5FD_lock(): driver lock request failed major: Virtual File Layer minor: Can’t update object #003: H5FDsec2.c line 959 in H5FD_sec2_lock(): unable to lock file, errno = 11, error message = ‘Resource temporarily unavailable’ major: File accessibilty minor: Bad file ID accessed Error at Node 0: HDF Error occurred! at IO/Hdf/src/HdfFile_impl.hpp:163 during a call to HDF5 library function H5Fopen The fluent process could not be started.

    • FAQFAQ
      Participant

      There is a third party defect with the h5fopen_f function with MPI / HDF5 ( version 1.10.1 ), which affects Fluent 2020 R1. This defect triggers file locking, making files inaccessible and causing the error. The fix will appear in Fluent 2021 R1, which uses a newer HDF5 version. The workaround is to an environment variable that disables file locking: export HDF5_USE_FILE_LOCKING=”FALSE” The command needed may vary for each OS/shell. The value “FALSE” has to be capitalized. Double quotes may be optional,(ie: for C Shell)