cdmove-gfortran: 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/cdmove-gfortran - from package: cernlib-packlib-gfortran

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