g_rama: 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_rama - from package: gromacs

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

On Debian possible default full paths are:

/usr/bin/g_rama - from package: gromacs

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