14 #define NETCDF_PAR_H 1
18 #if defined(__cplusplus)
23 #define NC_INDEPENDENT 0
25 #define NC_COLLECTIVE 1
29 nc_create_par(
const char *path,
int cmode, MPI_Comm comm, MPI_Info info,
34 nc_open_par(
const char *path,
int mode, MPI_Comm comm, MPI_Info info,
44 int info,
int *ncidp);
47 int info,
int *ncidp);
49 #if defined(__cplusplus)
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.
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.
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.
int nc_var_par_access(int ncid, int varid, int par_access)
This function will change the parallel access of a variable from independent to collective and vice v...
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.