ycompar-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/ycompar-gfortran - from package: patchy-gfortran

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