test_mpi_mpich: 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/lib64/mpich/bin/test_mpi_mpich - from package: openmx-mpich

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