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

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