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

[netCDF #IOW-891263]: Compile problem



> On 07/22/2009 02:14 PM, Unidata netCDF Support wrote:
> > Howdy Orion!
> >
> > Looks like we are neighbours!
> 
> Indeed!
> 
> > Try setting -DpgiFortran in your CPPFLAGS.
> 
> Tried, no go.  I really think that it needs to get linked against
> libnetcdff90 instead of libnetcdff.
> 
> > Are you sure you want to take responsibility for setting -fPIC and any 
> > other shared library options? Use the --enable-shared configure option to 
> > see what libtool comes up with for your system.
> 
> Might be left over from pre 4.0 days.  Removed from now.
> 
> > If putting pgiFortran in the CPPFLAGS doesn't work, send me the config.log 
> > file as well as the full output from configure and make.
> 
> Attached.
> 
> > NetCDF-4 is known to work well with gfortran - it is tested daily. So there 
> > is a way to get this working for you.
> >
> > Thanks,
> >
> > Ed
> >
> > Ticket Details
> > ===================
> > Ticket ID: IOW-891263
> > Department: Support netCDF
> > Priority: Normal
> > Status: Closed
> 
> 
> --
> Orion Poplawski
> Technical Manager                     303-415-9701 x222
> NWRA/CoRA Division                    FAX: 303-415-9702
> 3380 Mitchell Lane                  address@hidden
> Boulder, CO 80301              http://www.cora.nwra.com
> 
> 

Can you try a build without setting any flags? That is, don't set CFLAGS, 
FCFLAGS, etc. Just run configure and make and see if it works.

If it does work, that tells us that it's your CFLAGS options that are messing 
things up.

Thanks,

Ed

Ticket Details
===================
Ticket ID: IOW-891263
Department: Support netCDF
Priority: Normal
Status: Open