As far as I remember, there should not be any "regcm" in your Bin directory. If you compiled in Serial, you should find regcmSerial, if in parallel regcmMPI. May be Your program did not run because either you compiled it in serial or you did not provide the right executable.

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>
À : Bamba Sylla <syllabamba@yahoo.fr>; regcm <RegCNET@lists.ictp.it>
Envoyé le : Lun 4 octobre 2010, 17h 48min 16s
Objet : 回复: Re : [RegCNET] Need a help in parallel run of Regcm4

Hi Bamba and others,
 
Thanks for your help. The run command I used is "mpirun -np 4 /home/ghh/regcm/Bin/regcm regcm.in >regcm.out". The problem remains.
 
The program could run used the command like "./regcm regcm.in".
 
Thank you very much!
Huanghe Gu
--- 10年10月4日,周一, Bamba Sylla <syllabamba@yahoo.fr> 写道:

发件人: Bamba Sylla <syllabamba@yahoo.fr>
主题: Re : [RegCNET] Need a help in parallel run of Regcm4
收件人: "黄河" <guhuanghe@yahoo.com.cn>, "regcm" <RegCNET@lists.ictp.it>
日期: 2010年10月4日,周一,下午11:12

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