cpp -traditional -DLinux -DIfort -P -I../netcdf_ifc/ -IROMSFILES/AGRIF_INC -I/usr/local/include main.F | ./mpc > ROMSFILES/main.F
/bin/sh: 1: ./mpc: not found
make: *** [main.o] error 127
I cannot figure out where I'm wrong.Someone help me?

jerry19890126 wrote:Thank God~Thank everyone.It finally works.I put "source /opt/intel/bin/ifortvars.csh ia32" in the head of the jobcomp file, and it ran smoothly!But I still don't know why I have to add this line.On my terminal, when I typed "which ifort",it gave the right path.While in the jobcomp script, I added "echo `which ifort`" and compiled the code ,it suggested that no such command.In other words, the $PATH is different when compiling the program.Forgive my poor English expression.