NSF Unidata

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

[netCDF #QGU-910017]: error makeing NetCDF

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.



Howdy!

The fortran build is complaining because it can't figure out how to map C 
functions into fortran.

On the xlf compilers I test on, this works, but those are AIX-based, I don't 
have a mac XLF compiler.

If you don't need the fortran API, the easiest things to do would be to set 
FC='' and try again, and it will skip the fortran build.

If you do need fortran, then try setting CPPFLAGS to -Df2cFortran and trying 
again. If that doesn't work, try setting it to -DpgiFortran.

In all cases do a "make distclean" before rerunning configure to make sure you 
are starting clean each time.

Let me know if this works for you.

Thanks!

Ed

Ticket Details
===================
Ticket ID: QGU-910017
Department: Support netCDF
Priority: Normal
Status: Open