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

[netCDF #PAB-223364]: HOW COMPILER NETCDF



> NOTE: email originally sent to address@hidden and CCed to support
>
> Hello, I'm meteorolgyst from IDEAM-Colombia and I am also a begginner in the
> installation and use of WRF model, The Institution gave me a PC with this
> features:
>
> Architecture x86_64 Intel(R)Xeon(R)with OS Linux Suse Enterprise Server 10.
> I download the pgilinux86-64-707[1].tar.gz tryal version and I make the
> istallation which is located in /opt/pgi/linux86-64/7.0/bin/pgf90.
>
> In the handbook of WRF, it asks for complie NetCDF which the same compiler
> which I am going to use to compile WRF ARW. I download netcdf-3.6.2.tar.gz
> and I asummed that madding this:
>
> ./configure
>
> also I have made
>
> ./configure /opt/pgi/linux86-64/7.0/bin/pgf90
>
> set CPPFLAGS=-DpgiFortran
>
> or domethig like that, the NetCDF would be installed. I put this instruction
> as well
>
> set NETCDF /usr/local/netcdf as you recommend in the handbook.
>
> However I think this is the reason WRF is not istalling well, beacuse when I
> check main/directory I do not see the *.exe, I see the same name but *.F for
> example I see nup.F by see nup.exe as manual say.
>
> Maybe I am not compiling well the NetCDF. Can you give any idea??
>
> Best regards
>
> Franklyn Ruiz
> Section of Meteorology
> IDEAM
> Colombia
>
>
>
>
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.5.476 / Virus Database: 269.11.19/953 - Release Date: 14/08/2007
> 05:19 p.m.
>
>

Howdy Franklyn!

Instructions can be found here:
http://www.unidata.ucar.edu/software/netcdf/docs/netcdf-install/Quick-Instructions-for-Installing-NetCDF-on-Unix.html

If you want to set the fortran compiler, set the environment variable FC, like
this:

FC=/opt/pgi/linux86-64/7.0/bin/pgf90 ./configure --prefix=/some/place && make
check install

If this doesn't work, please let me know.

Thanks!

Ed

Ticket Details
===================
Ticket ID: PAB-223364
Department: Support netCDF
Priority: Normal
Status: Closed