NetCDF
Category: Libraries-IO
Description
Network Common Data Form (NetCDF) is an interface for array-oriented data access and a library that provides an implementation of the interface.
More information is available at the NetCDF Unidata Homepage.
Use
netcdf is available as a module.
Cray provides netcdf builds as well as NICS. The Cray compiler wrappers
will automatically attempt to link to the Cray built netcdf libraries
if a Cray netcdf modulefile is loaded.
Note: The Cray wrappers automatically
link against the netcdf libraries when an environment variable is set
(currently, NETCDF_DIR) and will "process" the path in this environment
variable. If you don't want to have the Cray netcdf libraries linked
against automatically (even if the module is not loaded), make sure
this environment variable is not set.
On the other hand, if a NICS-built netcdf module is loaded (from /sw),
then the following examples can be used as reference to compile and link
your program (example.f90) to the netcdf libraries.
FORTRAN
ftn example.f90 ${NETCDF_FLIB}
The environment variables given above are set in the module file - they are locally defined.
C
cc -o example.x example.c ${NETCDF_CLIB}
Note the difference between NETCDF_FLIB and NETCDF_CLIB for Fortran and C, respectively.
Support
This package has the following support level : Supported
Available Versions
Version |
Available Builds |
pgi |
gnu |
pathscale |
Other |
4.0.1 |
|
|
|
|
3.6.2 |
pgi7.2.3 | v | pgi8.0.5 | v | pgi9.0.1 | v |
|
gnu4.3.2 | v | gnu4.1.2_shared | v | gnu4.2.0 | v |
|
|
|
4.0.0 |
pgi7.2.3 | v | pgi7.2.3_par | u | pgi9.0.1 | v | pgi8.0.5_par | u | pgi8.0.5 | v | pgi9.0.1_par | u |
|
|
pathscale3.2_par | u | pathscale3.2 | u |
|
|
3.6.3 |
|
gnu4.3.3 | v | gnu4.1.2_shared | v |
|
|
|