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

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