GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
MPI_T_cvar_handle_alloc(3) Open MPI MPI_T_cvar_handle_alloc(3)

MPI_T_cvar_handle_alloc, MPI_T_cvar_handle_free - Allocate/free contol variable handles

#include <mpi.h>
int MPI_T_cvar_handle_alloc(int cvar_index, void *obj_handle,

MPI_T_cvar_handle *handle, int *count) int MPI_T_cvar_handle_free(MPI_T_cvar_handle *handle)

MPI_T_cvar_handle_alloc binds the control variable specified in cvar_index to the MPI object specified in obj_handle. If MPI_T_cvar_get_info returns MPI_T_BIND_NO_OBJECT as the binding of the variable the obj_handle argument is ignored. The number of values represented by this control variable is returned in the count parameter. If the control variable represents a string then count will be the maximum length of the string.

MPI_T_cvar_handle_free frees a handle allocated by MPI_T_cvar_handle_alloc and sets the handle argument to MPI_T_CVAR_HANDLE_NULL.

Open MPI does not currently support binding MPI objects to control variables so the obj_handle argument is always ignored.

MPI_T_cvar_handle_alloc() will fail if:

[MPI_T_ERR_NOT_INITIALIZED]
The MPI Tools interface not initialized
[MPI_T_ERR_INVALID_INDEX]
The control variable index is invalid
[MPI_T_ERR_OUT_OF_HANDLES]
No more handles available
[MPI_T_ERR_NOT_INITIALIZED]
The MPI Tools interface not initialized
[MPI_T_ERR_INVALID_HANDLE]
The handle is invalid

MPI_T_cvar_get_info
February 4, 2025 4.1.8

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.