g_dipoles: 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_dipoles - from package: gromacs

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

On Debian possible default full paths are:

/usr/bin/g_dipoles - from package: gromacs

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