h5repack: 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/h5repack - from package: hdf5-mpich
/usr/lib/mpich/bin/h5repack - from package: hdf5-mpich
/usr/lib64/openmpi/bin/h5repack - from package: hdf5-openmpi
/usr/lib/openmpi/bin/h5repack - from package: hdf5-openmpi
/usr/bin/h5repack - from package: hdf5

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/h5repack - from package: hdf5-tools

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