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.
>From: "JaYeon Moon" <address@hidden> >Organization: University of Hawaii >Keywords: 200407012007.i61K7Cu5002924 netCDF JaYeon, >Institution: University of Hawaii >Package Version: netcdf3.5.1 >Operating System: Linux Redhat enterprise >Hardware Information: Linux 2.4.21-4 ELsmp >Inquiry: Could you help me to install netcdf on Linux redhat enterprise using > pgf90 compiler? >Please send me the options. >I have tried many options but none of them worked well. >Thanks. Please try setting the environment variables listed in: Installation instructions http://my.unidata.ucar.edu/content/software/netcdf/INSTALL.html under the Linux section: Linux http://my.unidata.ucar.edu/content/software/netcdf/INSTALL.html#linux The set that should work is: CC=/usr/bin/gcc CPPFLAGS='-DNDEBUG -DpgiFortran' CFLAGS=-O FC=/opt/pgi/linux86/bin/pgf90 FFLAGS='-O -w' CXX=/usr/bin/g++ After setting these environment variables, you will need to restart the netCDF build from the beginning: cd <where ever you are attempting the build> make distclean ./configure make Cheers, Tom Yoksas -- NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publically 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.