Do you have more than one compiler installed on your system?
If you did a parallel build of HDF5, maybe your MPI install was built using a different compiler version then what your other programs used.
I would double-check that all your builds are using the same compiler, and explicitly set the FC ENV if needed.