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

[netCDF #MXF-256225]: make check: undefined references to nf_*

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: [netCDF #MXF-256225]: make check: undefined references to nf_*
  • Date: Fri, 13 May 2011 07:10:13 -0600

> Dear Russ,
> 
> thanks for the swift reply. The command yields
> 
> root@suzukaze:/media/d/backup/Software/Linux/INSTALL/NetCDF/netcdf-4.1.2# nm
> ./fortran/.libs/libnetcdff.a | grep nf_open
> 0000000000000250 T nf_open__
> 0000000000000130 T nf_open_par__
> U nf_open_
> U nf_open_par_
> 
> I tried to specify -DpgiFortran and repeated the command set below,
> unfortunately however with the same failure in make check (see
> attached zip).
> 
> Cheers,
> Marcus
> 
> 
Howdy Marcus!

Check the output of configure: is it using the correct fortran compiler, with 
the correct flags? If not, set them in environmental vars before rerunning 
configure.

Do the netCDF fortran tests work? Go into subdirectory nf_test and do a make 
check. If they work, then the fortran API is working and the problem lies in 
how it is being called by your programs.

Can you get the latest daily snapshot for you next attempt?
ftp://ftp.unidata.ucar.edu/pub/netcdf/snapshot/netcdf-4-daily.tar.gz

Install according to instructions here:
http://www.unidata.ucar.edu/software/netcdf/docs_snapshot/netcdf-install.html#Quick-Instructions

Thanks,

Ed


Ticket Details
===================
Ticket ID: MXF-256225
Department: Support netCDF
Priority: Critical
Status: Closed