Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

MPP FUNCTION DESCRIPTIONS

Additional functions for use on SGI/Cray MPP machines (_CRAYMPP). These are used to set and inquire which PE is the base for MPP for a particular netCDF. These are only relevant when using the SGI/Cray ``global'' Flexible File I/O layer and desire to have only a subset of PEs to open the specific netCDF file. For technical reasons, these functions are available on all platforms. On a platform other than SGI/Cray MPP, it is as if only processor avail- able were processor 0.

To use this feature, you need to specify a communicator group and call glio_group_mpi() or glio_group_shmem() prior to the netCDF nc_open() and nc_create() calls.

int nc__create_mp(const char path[], int cmode, size_t ini- tialsize, int pe, size_t* chunksize, int* ncid)
Like nc__create() but allows the base PE to be set.

The argument pe sets the base PE at creation time. In the MPP environment, nc__create() and nc_create() set the base PE to processor zero by default.

int nc__open_mp(const char path[], int mode, int pe, size_t* chunksize, int* ncid)
Like nc__open() but allows the base PE to be set. The argument pe sets the base PE at creation time. In the MPP environment, nc__open() and nc_open() set the base PE to processor zero by default.

int nc_inq_base_pe(int ncid, int* pe)
Inquires of the netCDF dataset which PE is being used as the base for MPP use. This is safe to use at any time.

int nc_set_base_pe(int ncid, int pe)
Resets the base PE for the netCDF dataset. Only per- form this operation when the affected communicator group synchronizes before and after the call. This operation is very risky and should only be contemplated under only the most extreme cases.
 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Office of Programs University Corporation for Atmospheric Research (UCAR)   Unidata is a member of the UCAR Office of Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690