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

[netCDF #XNG-578851]: nf_strerror reference when compiling WRF



Ok, so the code is there and accessible.
So let me make sure I understand. When you say this:
> while compiling wrf_io.f I got a lot undef references to nf_*
Do you mean at compile time, or at link time? Can you send me
a couple of the error messages to look at? Also include the 20 or
so lines before the error messages if possible.


> 
> There is one T line and one U line in nm output. Seems that thats ok. And
> libnetcdff.a is located in lib directory mentioned in line 219 and include
> dir in line 201 of configure.wrf
> 
> And still while compiling wrf_io.f I got a lot undef references to nf_*
> starting from nf_strerror_ and a lot more.
> 
> Regards,
> Fedor Loktev.
> IAP RAS
> 
> 
> address@hidden> wrote:
> 
> > Assuming you are under linux, let's make sure that e.g. nf_strerror
> > is defined in the library.
> > 1. Locate the netcdff.a file
> > 2. execute this command:
> >     nm netcdff.a |fgrep nf_strerror
> > This should show some lines one of which should have
> > the character 'T' indicating it is defined and is global.
> > If you only see lines with 'U', then it is missing.
> >
> >
> > > Package Version: 4.4.1
> > > Operating System: Ubuntu 18.04
> > > Hardware: Intel PCSD Server
> > > Description of problem: When installing WRF with netcdf and
> > netcdf-fortran libs appears a lot
> > >
> > > undefined references to 'nf_*' which leads to fail.
> > >
> > > netcdf.inc is built, netcdff.a is also built, wrf config file has right
> > paths to libraries. Stuck in that place for weeks.
> > >
> > >
> > > Regards,
> > > Fedor Loktev.
> > >
> > >
> > >
> >
> > =Dennis Heimbigner
> >   Unidata
> >
> >
> > Ticket Details
> > ===================
> > Ticket ID: XNG-578851
> > Department: Support netCDF
> > Priority: Normal
> > Status: Open
> > ===================
> > NOTE: All email exchanges with Unidata User Support are recorded in the
> > Unidata inquiry tracking system and then made publicly available through
> > the web.  If you do not want to have your interactions made available in
> > this way, you must let us know in each email you send to us.
> >
> >
> >
> 
> 

=Dennis Heimbigner
  Unidata


Ticket Details
===================
Ticket ID: XNG-578851
Department: Support netCDF
Priority: Normal
Status: Open
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.