[RegCNET] 回复: Re : Need a help in parallel run of Regcm4

黄河 guhuanghe at yahoo.com.cn
Mon Oct 4 17:48:16 CEST 2010


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 at yahoo.fr> 写道:


发件人: Bamba Sylla <syllabamba at yahoo.fr>
主题: Re : [RegCNET] Need a help in parallel run of Regcm4
收件人: "黄河" <guhuanghe at yahoo.com.cn>, "regcm" <RegCNET at 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 at ictp.it, syllabamba at yahoo.fr 
***************************************************






De : 榛勬渤 <guhuanghe at yahoo.com.cn>
脌 : regcm <RegCNET at 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
 



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ictp.it/pipermail/regcnet/attachments/20101004/648eec4f/attachment.html>


More information about the RegCNET mailing list