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.
Hi Hongyan, > I'm installing netCDF 3.6.2, I'm using the following configue: > > ./configure CC=pgcc CFLAGS="-Msignextend -V" FC=pgf90 F90=pgf90 FFLAGS="-02 > -w -V" CXX=pgCC CPP="pgCC -E" CPPFLAGS="-DNDEBUG -DpgiFortran > -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE" > --prefix=/work/h3dang/angel/M3HOME/netcdf-3.6.2 > > It succeed, but it couldn't get through "make", the error is: > > PGC-F-0249-#error -- "ix_float implementation" (ncx.c: 1213) > PGC/x86-64 Linux/x86-64 6.1-6: compilation aborted > make[2]: *** [ncx.lo] Error 1 > make[2]: Leaving directory `/work/h3dang/angel/M3HOME/netcdf-3.6.2/libsrc' > > Just wondering if you have met such problem, and if there's some obvious > problem in the flags I used for "configue". Thank you. I think the problem is CPP="pgCC -E". You may not even need to set CPP, but if you do, a better setting would be CPP="pgcc -E". --Russ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: FQR-828359 Department: Support netCDF Priority: Normal Status: Closed