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

Martin Scarcia scarcia at sissa.it
Tue Oct 5 11:22:47 CEST 2010


---------- Forwarded message ----------
From: Martin Scarcia <scarcia at sissa.it>
Date: 2010/10/5
Subject: Re: [RegCNET] Re : Need a help in parallel run of Regcm4
To: 黄河 <guhuanghe at yahoo.com.cn>




On Mon, Oct 4, 2010 at 7:41 PM, 黄河 <guhuanghe at yahoo.com.cn> wrote:

>    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
>

Hi,

from the error log you have two problems:

- the pgi compiler binaries are not in your user's path. Assuming you are
using the BASH shell you should edit the
.bash_profile file in your home directory and add the following two lines

export PATH= "path to pgi binaries":$PATH
export LD_LIBRARY_PATH = "path to pgi libraries":$LD_LIBRARY_PATH

You will need to find the actual path on your system, by typing for example:

locate pgf90

it should be something like:

/opt/pgi/linux86-64/7.2-5/bin/ (for binaries)

and

/opt/pgi/linux86-64/7.2-5/lib/ (for libraries)
+
/opt/pgi/linux86-64/7.2-5/libso/


- you've hit a known bug in the RegCM configure script, to compile RegCM
with the PGI compiler in parallel you should edit the Makefile.inc file and
remove the leading # from the line :

#PARALLEL = MPP1

By the way PGI 7 compilers are not officially supported by RegCM. Compiling
should work, but the program was not tested with it. If you can upgrade your
PGI compiler or switch to GNU Gfortran 4.4 which is fully supported.

Hope I've been useful

Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ictp.it/pipermail/regcnet/attachments/20101005/6b10cf12/attachment.html>


More information about the RegCNET mailing list