PMIX_CONSTANTS(7) - Linux man page online | Overview, conventions, and miscellany

pmix_constants(7) @VERSION@ pmix_constants(7)


PMIx Constants


#include <pmix_common.h>


PMIx relies on the following types of constants: Maximum Sizes : In order to minimize malloc performance penalties, PMIx utilizes con‐ stant-sized arrays wherever possible. These constants provide the user with the maximum size of the various array types. Attributes : . Errors : PMIx uses negative error constants, with 0 indicating "success".


The . PMIX_MAX_NSLEN : The maximum length of a namespace. Note that any declaration of an array to hold a key string must include one extra space for the terminating NULL. PMIX_MAX_KEYLEN : Maximum length of the key string used in structures such as the pmix‐ info_t_. Note that any declaration of an array to hold a key string must include one extra space for the terminating NULL.


Define a set of "standard" PMIx attributes that can be queried using the PMIx_Get func‐ tion. Implementations (and users) are free to extend as desired - thus, functions calling PMIx_Get must be capable of handling the "not found" condition. Note that these are attributes of the system and the job as opposed to values the application (or underlying programming library) might choose to expose - i.e., they are values provided by the resource manager as opposed to the application. Thus, these keys are RESERVED for use by PMIx, and users should avoid defining any attribute starting with the keyword PMIX. A list of the current PMIx attributes, and the type of their associated data value, is provided here. PMIX_ATTR_UNDEF (NULL) : Used to initialize an attribute field, indicating that the attribute has not yet been assigned. PMIX_USERID (uint32_t) : . PMIX_GRPID (uint32_t) : An access domain represents a single logical connection into a fabric. It may map to a single physical or virtual NIC or a port. An access domain defines the boundary across which fabric resources may be associated. Each access domain belongs to a single fabric domain. PMIX_CPUSET (char*) : .


. PMIX_SUCCESS : Indicates that the operation was successful. PMIX_ERROR : A general error code - an error occurred, but no specific reason can be pro‐ vided.




PMIx Programmer's Manual 2016-03-01 pmix_constants(7)
This manual Reference Other manuals
pmix_constants(7) referred by pmix_put(3)
refer to pmix(7)
Download raw manual
Index @VERSION@ (+148) PMIx Programmer[aq]s Manual (+8) № 7 (+1560)
Go top