NetCDF  4.8.1
netcdf_par.h File Reference
#include <mpi.h>

Go to the source code of this file.

Macros

#define NC_COLLECTIVE   1
 Use with nc_var_par_access() to set parallel access to collective. More...
 
#define NC_INDEPENDENT   0
 Use with nc_var_par_access() to set parallel access to independent. More...
 

Functions

EXTERNL int nc_create_par (const char *path, int cmode, MPI_Comm comm, MPI_Info info, int *ncidp)
 Create a netCDF file for parallel I/O. More...
 
EXTERNL int nc_create_par_fortran (const char *path, int cmode, int comm, int info, int *ncidp)
 Create a netCDF file for parallel access from the Fortran API. More...
 
EXTERNL int nc_open_par (const char *path, int mode, MPI_Comm comm, MPI_Info info, int *ncidp)
 Open an existing netCDF file for parallel I/O. More...
 
EXTERNL int nc_open_par_fortran (const char *path, int mode, int comm, int info, int *ncidp)
 This is the same as nc_open_par(), but accepts the MPI comm/info as integers. More...
 
EXTERNL int nc_var_par_access (int ncid, int varid, int par_access)
 

Detailed Description

Main header file for the Parallel C API.

Copyright 2018 University Corporation for Atmospheric Research/Unidata. See COPYRIGHT file for more info.

This header file is for the parallel I/O functions of netCDF.

Author
Ed Hartnett

Definition in file netcdf_par.h.

Macro Definition Documentation

◆ NC_COLLECTIVE

#define NC_COLLECTIVE   1

Use with nc_var_par_access() to set parallel access to collective.

Definition at line 29 of file netcdf_par.h.

◆ NC_INDEPENDENT

#define NC_INDEPENDENT   0

Use with nc_var_par_access() to set parallel access to independent.

Definition at line 27 of file netcdf_par.h.