Hi

You just forgot to run you executable file. It should be something like:
mpirun -np 4 /home/ghh/regcm/Bin/regcmMPI regcm.in > regcm.out &

Cheers
 
***************************************************
Mouhamadou Bamba SYLLA, PhD
Post-Doc Fellow, Earth System Physics
International Centre for Theoretical Physics
Strada Costiera 11, 34100 Trieste, Italy
Office tel: 0039 040 2240 385
Cell: 0039 34 71 94 06 55
emails: msylla@ictp.it, syllabamba@yahoo.fr
***************************************************



De : 黄河 <guhuanghe@yahoo.com.cn>
À : regcm <RegCNET@lists.ictp.it>
Envoyé le : Lun 4 octobre 2010, 17h 08min 07s
Objet : [RegCNET] Need a help in parallel run of Regcm4

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