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

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



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.