[RegCNET] Re : Need a help in parallel run of Regcm4
黄河
guhuanghe at yahoo.com.cn
Mon Oct 4 19:41:50 CEST 2010
Hi Bamba and others,
Bamba, you have got it. There are some wrong when I compile the program. All the errors when compile the program is attached in a DOC file.
Some basic operation system information of my computer:
1. Red Hat Enterprise Linux WS release 3 (Taroon Update 2)
2. PGI 7
3. NetCDF 4
4. MPI
Whether is because the system is not compatible with the RegCM4?
Much obliged!
Huanghe Gu
--- 10年10月4日,周一, Bamba Sylla <syllabamba at yahoo.fr> 写道:
发件人: Bamba Sylla <syllabamba at yahoo.fr>
主题: Re : 回复: 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:58
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 at ictp.it, syllabamba at yahoo.fr
***************************************************
De : 黄河 <guhuanghe at yahoo.com.cn>
À : Bamba Sylla <syllabamba at yahoo.fr>; regcm <RegCNET at 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 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/20101005/a2e86977/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: errors_make.doc
Type: application/octet-stream
Size: 52736 bytes
Desc: not available
URL: <https://lists.ictp.it/pipermail/regcnet/attachments/20101005/a2e86977/attachment-0002.obj>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Makefile.inc
URL: <https://lists.ictp.it/pipermail/regcnet/attachments/20101005/a2e86977/attachment.ksh>
More information about the RegCNET
mailing list