g_mdrun: 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/bin/g_mdrun - from package: gromacs

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