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

[netCDF #MHL-409307]: Build Netcdf with the PGI 19.10 compiler

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.


  • Subject: [netCDF #MHL-409307]: Build Netcdf with the PGI 19.10 compiler
  • Date: Thu, 28 Jan 2021 11:11:57 -0700

Hello,

Assuming you have downloaded and uncompressed the source code, you should be 
able to invoke the standard configure script as follows:

    $ CC=pgicc ./configure [system specific options]
    $ make

The general instructions can be found here: 
https://www.unidata.ucar.edu/software/netcdf/docs/getting_and_building_netcdf.html

These instructions should work for you; the only difference will be using pgicc 
instead of gcc, and this is controlled by setting the 'CC' environmental 
variable.

I hope this helps, if you have any follow up questions, please let us know!

-Ward

Ticket Details
===================
Ticket ID: MHL-409307
Department: Support netCDF
Priority: Normal
Status: Closed
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly 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.