There is a question when I continue running the command "mpirun -np 4 /home/ghh/regcm/Bin regcm.in >regcm.out". The error like the following.
---------------------------------------------------------------------
It seems that [at least] one of processes that was started with mpirun did not invoke MPI_INIT before quitting (it is possible that more than one process did not invoke MPI_INIT -- mpirun was only notified of the first one, which was on onde n0).
 
mpirun can *only* be used with MPI programs (i. e., programs that invoke MPI_INIT and MPI_FINALIZE). You can use the "lamexec" program to run non-MPI programs over the lambooted nodes.
----------------------------------------------------------------------
How to invoke MPI_INIT to all processes? Please help me out with this problem.
Thank you very much!
 
Huanghe Gu