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.
Yevgeniy, With netCDF version 3.6.2, the configure script is supposed to automatically make sure CPPFLAGS includes -DpgiFortran when the compiler is ifort. If this didn't work, you may have to run make distclean CPPFLAGS=-DpgiFortran ./configure ... make check to make sure that flag gets included on the C compile lines. The above assumes you are using sh, bash, or ksh. If using csh or tcsh, use setenv CPPFLAGS -DpgiFortran before rerunning configure. --Russ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: PAW-153847 Department: Support netCDF Priority: Normal Status: Closed