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.
Xingrong Li,
> To: address@hidden
> From: xingrongli <address@hidden>
> Subject: from China
> Organization: UCAR/Unidata
The above message contained the following:
> When installing netcdf, how to set environment variables using pgf90
> and pgcc as compilation utilities under linux?
Try the following:
1. Go to the top-level source directory.
2. Perform steps 3 and 4 described near the end of the file
INSTALL.html
3. Use the following settings for the indicated environment
variables:
CC=pgcc
CPPFLAGS='-DNDEBUG -DpgiFortran'
CFLAGS=-O
FC=pgf90
FFLAGS="-O -w"
CXX=/usr/bin/g++
4. Perform steps 6 through 9 described near the end of the file
INSTALL.html
Please let me know if this helps.
> Thank you very much!
>
> Xingrong Li
Regards,
Steve Emmerson