I do see that the compiler is compatible with the 2003 Fortran in the configure output:
checking if Fortran compiler version compatible with Fortran 2003… yes
Now, when I compile my code using functions like h5awrite_f or h5dwrite_f, it fails and I need to code them as in the F90 version. Is there a way of fixing this? I’m working on Linux.
As you’ve noted, it compiles the F2003 code by default. When doing make check, did it run the Fortran 2003 test? You can cd into the fortran directory and run ‘make check’ from there if you don’t want to run all the C tests. What compiler are you using? I don’t see any reason why Fortran 2003 would not be available.
Hello!
Thank you so much for your answer. I actually realised that --enable-fortran2003 was no longer an option by reading the configure file. The reason I thought the compilation had gone wrong is because I was getting these messages that the subroutine call was not recognized. But when I used the old Fortran interface it would work correctly.
In the end, the problem was that I was not declaring the buffer correctly in h5awrite_f or h5dwrite_f, indeed in the 2003 interface HDF5 expects a type(c_ptr), which was not what I was doing.
Hope this will help other users encountering similar issues.
Best to all :).