PIO  2.5.4
Functions
Check IOSystem

Is the IO system active (in C)? More...

Functions

int PIOc_iosystem_is_active (int iosysid, bool *active)
 Check to see if PIO has been initialized. More...
 
int PIOc_iam_iotask (int iosysid, bool *ioproc)
 Return a logical indicating whether this task is an IO task. More...
 
int PIOc_iotask_rank (int iosysid, int *iorank)
 Return the rank of this task in the IO communicator or -1 if this task is not in the communicator. More...
 

Detailed Description

Is the IO system active (in C)?

Function Documentation

◆ PIOc_iam_iotask()

int PIOc_iam_iotask ( int  iosysid,
bool *  ioproc 
)

Return a logical indicating whether this task is an IO task.

Parameters
iosysidthe io system ID
ioproca pointer that gets 1 if task is an IO task, 0 otherwise. Ignored if NULL.
Returns
0 for success, or PIO_BADID if iosysid can't be found.
Author
Jim Edwards

◆ PIOc_iosystem_is_active()

int PIOc_iosystem_is_active ( int  iosysid,
bool *  active 
)

Check to see if PIO has been initialized.

Parameters
iosysidthe IO system ID
activepointer that gets true if IO system is active, false otherwise.
Returns
0 on success, error code otherwise
Author
Jim Edwards

◆ PIOc_iotask_rank()

int PIOc_iotask_rank ( int  iosysid,
int *  iorank 
)

Return the rank of this task in the IO communicator or -1 if this task is not in the communicator.

Parameters
iosysidthe io system ID
ioranka pointer that gets the io rank, or -1 if task is not in the IO communicator. Ignored if NULL.
Returns
0 for success, or PIO_BADID if iosysid can't be found.
Author
Jim Edwards