NetCDF

NetCDF is a set of software libraries and machine-independent data formats that support the creation, access, and sharing of array-oriented scientific data.

Once the NetCDF module is loaded, you can use the nc-config program to determine the correct compiler flags for compiling and linking.

Command Output
> nc-config --cflags
Include flag and options for compiling against C programs
> nc-config --fflags
Include flag and options for compiling against Fortran programs
> nc-config --libs
Linker flag and library

 

Use nc-config on its own to see a list of all available options.

Find out more

For more information, see the NetCDF Documentation

Share this page: