command not found error
I installed mpi(mpich-1.2.7) on my linux cluster. Its working only if i execute the programs like..
$./usr/local/mpich-1.2.7/bin/mpiCC -o filename filename.cpp
$./usr/local/mpich-1.2.7/bin/mpirun -np 5 filename
the commands mpicc, mpiCC and mpirun has to be given with the entire path! is there anyway of specifying the path from where it has to take the command ? so that just
$mpirun -np 5 filename