h5pfc: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/lib64/mpich/bin/h5pfc - from package: hdf5-mpich-devel
/usr/lib/mpich/bin/h5pfc - from package: hdf5-mpich-devel
/usr/lib64/openmpi/bin/h5pfc - from package: hdf5-openmpi-devel
/usr/lib/openmpi/bin/h5pfc - from package: hdf5-openmpi-devel

You may install the required package with command yum install {package}
Error in other languages:
h5pfc: bevel nie gevind nie
h5pfc: comandă negăsită
h5pfc: comando não encontrado
h5pfc: commande introuvable
h5pfc: command not found
h5pfc: käsku ei ole
h5pfc: không tìm thấy lệnh
h5pfc: komanda nerasta
h5pfc: Kommando nicht gefunden.
h5pfc: kommandot finns inte
h5pfc: komut yok
h5pfc: nie znaleziono polecenia
h5pfc: níor aimsíodh an t-ordú
h5pfc: no se encontró la orden
h5pfc: no s'ha trobat l'ordre
h5pfc: opdracht niet gevonden
h5pfc: parancs nem található
h5pfc: perintah tidak ditemukan
h5pfc: príkaz nenájdený
h5pfc: příkaz nenalezen
h5pfc: команда не найдена
h5pfc: командата не е открита
h5pfc: 命令找不到
h5pfc: コマンドが見つかりません