[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20040225: error in compiling netcdf



Bernard,

>Date: Thu, 26 Feb 2004 12:04:41 +0100 (CET)
>From: Bernard Legras <address@hidden>
>Organization: Laboratoire de Meteorologie Dynamique
>To: Steve Emmerson <address@hidden>
>Subject: Re: 20040224: error in compiling netcdf 
> Keywords: 200402241106.i1OB6MrV006988 netCDF PGI Fortran

The above message contained the following:

> Thanks for your answer. I will send you a more detailed report
> about the #define problem when I am back in my lab next week.
> 
> As for PGI5.1, I agree it is probably a bug in their compiler
> and it appears only in this version. However, this compiler
> is one of the favorites to compile WRF that relies also heavily
> on netcdf for the output. 
> Hence, it would be desirable to fix the problem.
> I am ready to report to Portland but perhaps it would have 
> more weight coming from unidata.

We'll investigate this.

> Notice that the problem a priori affects only the new f90
> interface. One can probably live with.

Good.

> A lats question is about compiling netcdf on 64bit architecture,
> namely for AMD Opteron. PGI5.1 has a 64bit version that 
> provides impressive speedup (at least on my codes). I have
> not yet tried to compile netcdf. Has is been done it and is there
> any recommandation?

The following worked with version 3.5.1 of the netCDF package (the
latest release):

    CC=/usr/bin/c89
    CPPFLAGS=-Df2cFortran
    FC=/usr/bin/g77
    FFLAGS=-Wno-globals
    CXX=/usr/bin/g++

> Sincerely
> 
> Bernard Legras

Regards,
Steve Emmerson