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

20041102: netcdf compilation error on linux using PGI Fortran



Cara-Lyn,

>Date: Tue, 2 Nov 2004 14:25:26 -0700
>From: Cara-Lyn Lappen <address@hidden>
>Organization: Colorado State University
>To: Steve Emmerson <address@hidden>
>Subject: Re: 20041102: netcdf compilation error on linux using PGI Fortran
>Keywords: 200411021745.iA2HjqvV020011 netCDF PDI

The above message contained the following:

> I am using csh
> 
> I set my environmental variables as follows:
> 
> setenv CC /usr/bin/gcc
> setenv FC /usr/pgi/linux86/5.2/bin/pgf90
> setenv CPPFLAGS '-DNDEBUG -DpgiFortran'
> setenv FFLAGS '-O -w'
> setenv CFLAGS '-O'
> setenv CXX /usr/bin/g++
> 
> Is this not correct?

That's exactly correct.  For some reason, the configure script didn't
see those definitions, however.

Please try the following:

    1.  Go to the top-level source directory.

    2.  Perform steps 3 and 4 described at

            
http://my.unidata.ucar.edu/content/software/netcdf/INSTALL.html#ReportingProblems

    3.  Set the environment variables just as you indicated above.

    4.  Perform steps 6 through 9 described at

            
http://my.unidata.ucar.edu/content/software/netcdf/INSTALL.html#ReportingProblems

Regards,
Steve Emmerson