WriteNameFile: 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/WriteNameFile - from package: ncl

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

On Debian possible default full paths are:

/usr/bin/WriteNameFile - from package: ncl-ncarg

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