PnetCDF

Parallel-NetCDF (Parallel I/O Library for NetCDF Files also knows as pnetcdf) is a library providing high-performance I/O while still maintaining file-format compatibility with Unidata's NetCDF (Network Common Data Form). Parallel netCDF (officially abbreviated PnetCDF) is a library for parallel I/O providing higher-level data structures (e.g. multi-dimensional arrays of typed data). PnetCDF creates, writes, and reads the same file format as the serial netCDF library, meaning PnetCDF can operate on existing datasets, and existing serial analysis tools can process PnetCDF-generated files. PnetCDF is built on top of MPI-IO, which guarentees the portability across various platforms and high performance.

Installation of NetCDF on LRZ platforms

For SuperMUC-NG and CoolMUC 2 please refer to the NetCDF-Dokumentation how the modules are named/organised.

Other Linux based HPC Systems

On older systems we provide only parallel-netcdf version1.8.1 for GCC and INTEL compiler:

parallel-netcdf/1.8.1-impi  parallel-netcdf/1.8.1-intel-impi  

Both versions are configured for intel-mpi.

To make use of PnetCDF, please load the appropriate Environment Module, e.g.

module load parallel-netcdf/1.8.1-intel-impi

You can then compile your code with

[mpicc/mpif90] -c $PARALLEL_NETCDF_INC my_example.[c|cc|f90]

and then link it with

[mpicc|mpif90] -o my_example.exe my_example.o -L$PARALLEL_NETCDF_LIBDIR -lpnetcdf

Documentation

Please refer to the Parallel-NetCDF Web Site for documentation of the interface.