title: Error opening a file with h5fopen_f in FORTRAN / MPI / HDF5 ( 1.10.1 )
body: <p>I am using a Fortran code that uses HDF5 (1.<strong>10</strong>.1). At some point there is a call to open a file using <code>h5fopen_f</code>:</p>
  
  <pre><code>H5FileName = "+hdf5/Temperature_00000_00001.h5"
  CALL h5fopen_f(H5FileName, H5F_ACC_RDWR_F, file, hdferr)
  Scalardataset = 'Temperature_00001_0000'
  call h5ltget_dataset_info_f(file, Scalardataset, dimstmp, type_class, type_size, hdferr)
  call h5fclose_f(file,hdferr)
  </code></pre>
  
  <p>which is giving me an error:</p>
  
  <pre><code>HDF5-DIAG: Error detected in HDF5 (1.10.1) MPI-process 0:
    #000: H5F.c line 586 in H5Fopen(): unable to open file
      major: File accessibilty
      minor: Unable to open file
    #001: H5Fint.c line 1305 in H5F_open(): unable to lock the file
      major: File accessibilty
      minor: Unable to open file
    #002: H5FD.c line 1839 in H5FD_lock(): driver lock request failed
      major: Virtual File Layer
      minor: Can't update object
    #003: H5FDsec2.c line 940 in H5FD_sec2_lock(): unable to lock file, errno = 11, error message = 'Resource temporarily unavailable'
      major: File accessibilty
      minor: Bad file ID accessed
  </code></pre>
  
  <p>I have checked that the file exists, it's where it should and that I have the right permissions. Also, the code works fine when I just use one process, and when I use more than one, one of the processes is able to open the file ( <code>err=0</code> ), but the rest can't ( <code>err=-1</code> ). Finally, I have this same code installed somewhere else and it works just fine (with version 1.<strong>8</strong>.14).</p>
  
  <p>Can this be a problem with the version?</p>