OpenPMIx
  • 1. Quick start
  • 2. Getting help
  • 3. Release notes
  • 4. Exceptions to the PMIx Standard
  • 5. Building and installing PMIx
  • 6. How Things Work
  • 7. Release Notes
  • 8. History
  • 9. Version Numbers and Binary Compatibility
  • 10. The Modular Component Architecture (MCA)
  • 11. Building PMIx applications
  • 12. Developer’s guide
  • 13. Contributing to OpenPMIx
  • 14. OpenPMIx Community Code of Conduct
  • 15. License
  • 16. OpenPMIx Security Policy
  • 17. News
  • 18. OpenPMIx manual pages
    • 18.1. Commands (section 1)
    • 18.2. APIs (section 3)
      • 18.2.1. PMIx_Abort
      • 18.2.2. PMIx_Init
      • 18.2.3. PMIx_Initialized
      • 18.2.4. PMIx_Finalize
      • 18.2.5. PMIx_Put
      • 18.2.6. PMIx_Commit
      • 18.2.7. PMIx_Fence
      • 18.2.8. PMIx_Get
      • 18.2.9. PMIx_Publish
      • 18.2.10. PMIx_Lookup
      • 18.2.11. PMIx_Unpublish
      • 18.2.12. PMIx_Spawn
      • 18.2.13. PMIx_Connect
      • 18.2.14. PMIx_Disconnect
      • 18.2.15. PMIx_Resolve_peers
      • 18.2.16. PMIx_Resolve_nodes
      • 18.2.17. PMIx_Query_info
      • 18.2.18. PMIx_Log
      • 18.2.19. PMIx_Allocation_request
      • 18.2.20. PMIx_Resource_block
      • 18.2.21. PMIx_Session_control
      • 18.2.22. PMIx_Job_control
      • 18.2.23. PMIx_Process_monitor
      • 18.2.24. PMIx_Heartbeat
      • 18.2.25. PMIx_Get_credential
      • 18.2.26. PMIx_Validate_credential
      • 18.2.27. PMIx_Group_construct
      • 18.2.28. PMIx_Group_invite
      • 18.2.29. PMIx_Group_join
      • 18.2.30. PMIx_Group_leave
      • 18.2.31. PMIx_Group_destruct
      • 18.2.32. PMIx_Register_event_handler
      • 18.2.33. PMIx_Deregister_event_handler
      • 18.2.34. PMIx_Notify_event
      • 18.2.35. PMIx_Fabric_register
      • 18.2.36. PMIx_Fabric_update
      • 18.2.37. PMIx_Fabric_deregister
      • 18.2.38. PMIx_Compute_distances
      • 18.2.39. PMIx_Load_topology
      • 18.2.40. PMIx_Parse_cpuset_string
      • 18.2.41. PMIx_Get_cpuset
      • 18.2.42. PMIx_Get_relative_locality
      • 18.2.43. PMIx_Progress
      • 18.2.44. PMIx_Progress_thread_stop
      • 18.2.45. PMIx_Error_string
      • 18.2.46. PMIx_Error_code
      • 18.2.47. PMIx_Proc_state_string
      • 18.2.48. PMIx_Scope_string
      • 18.2.49. PMIx_Persistence_string
      • 18.2.50. PMIx_Data_range_string
      • 18.2.51. PMIx_Data_type_string
      • 18.2.52. PMIx_Alloc_directive_string
      • 18.2.53. PMIx_Resource_block_directive_string
      • 18.2.54. PMIx_Alloc_inheritance_string
      • 18.2.55. PMIx_IOF_channel_string
      • 18.2.56. PMIx_Job_state_string
      • 18.2.57. PMIx_Get_attribute_string
      • 18.2.58. PMIx_Get_attribute_name
      • 18.2.59. PMIx_Link_state_string
        • 18.2.59.1. SYNOPSIS
        • 18.2.59.2. INPUT PARAMETERS
        • 18.2.59.3. DESCRIPTION
        • 18.2.59.4. RETURN VALUE
      • 18.2.60. PMIx_Device_type_string
      • 18.2.61. PMIx_Value_comparison_string
      • 18.2.62. PMIx_Group_operation_string
      • 18.2.63. PMIx_Info_string
      • 18.2.64. PMIx_Value_string
      • 18.2.65. PMIx_Info_directives_string
      • 18.2.66. PMIx_App_string
      • 18.2.67. PMIx_Proc_string
      • 18.2.68. PMIx_Resource_unit_string
      • 18.2.69. PMIx_Get_version
      • 18.2.70. PMIx_Store_internal
      • 18.2.71. PMIx_Value_get_size
      • 18.2.72. PMIx_Info_get_size
      • 18.2.73. PMIx_Data_pack
      • 18.2.74. PMIx_Data_unpack
      • 18.2.75. PMIx_Data_copy
      • 18.2.76. PMIx_Data_print
      • 18.2.77. PMIx_Data_copy_payload
      • 18.2.78. PMIx_Data_unload
      • 18.2.79. PMIx_Data_load
      • 18.2.80. PMIx_Data_embed
      • 18.2.81. PMIx_Data_compress
      • 18.2.82. PMIx_Data_decompress
      • 18.2.83. PMIx_Data_buffer_construct
      • 18.2.84. PMIx_Data_buffer_destruct
      • 18.2.85. PMIx_Data_buffer_create
      • 18.2.86. PMIx_Data_buffer_release
      • 18.2.87. PMIx_Data_buffer_load
      • 18.2.88. PMIx_Data_buffer_unload
      • 18.2.89. PMIx_Info_construct
      • 18.2.90. PMIx_Info_create
      • 18.2.91. PMIx_Value_unload
      • 18.2.92. PMIx_Value_get_number
      • 18.2.93. PMIx_Value_construct
      • 18.2.94. PMIx_Value_create
      • 18.2.95. PMIx_Value_destruct
      • 18.2.96. PMIx_Value_free
      • 18.2.97. PMIx_Value_load
      • 18.2.98. PMIx_Value_xfer
      • 18.2.99. PMIx_Value_compare
      • 18.2.100. PMIx_Value_true
      • 18.2.101. PMIx_Info_list_release
      • 18.2.102. PMIx_Info_list_xfer
      • 18.2.103. PMIx_Info_list_add
      • 18.2.104. PMIx_Info_list_add_unique
      • 18.2.105. PMIx_Info_list_add_value
      • 18.2.106. PMIx_Info_list_add_value_unique
      • 18.2.107. PMIx_Info_list_convert
      • 18.2.108. PMIx_Info_list_get_info
      • 18.2.109. PMIx_Info_list_get_size
      • 18.2.110. PMIx_Info_list_insert
      • 18.2.111. PMIx_Info_list_prepend
      • 18.2.112. PMIx_Info_list_start
      • 18.2.113. PMIx_Info_list_xfer_unique
      • 18.2.114. PMIx_Info_is_end
      • 18.2.115. PMIx_Info_is_optional
      • 18.2.116. PMIx_Info_is_persistent
      • 18.2.117. PMIx_Info_is_qualifier
      • 18.2.118. PMIx_Info_is_required
      • 18.2.119. PMIx_Info_set_end
      • 18.2.120. PMIx_Info_was_processed
      • 18.2.121. PMIx_Info_destruct
      • 18.2.122. PMIx_Info_free
      • 18.2.123. PMIx_Info_load
      • 18.2.124. PMIx_Info_xfer
      • 18.2.125. PMIx_Info_true
      • 18.2.126. PMIx_Info_optional
      • 18.2.127. PMIx_Info_persistent
      • 18.2.128. PMIx_Info_processed
      • 18.2.129. PMIx_Info_qualifier
      • 18.2.130. PMIx_Info_required
      • 18.2.131. PMIx_Pdata_construct
      • 18.2.132. PMIx_Pdata_create
      • 18.2.133. PMIx_Pdata_destruct
      • 18.2.134. PMIx_Pdata_free
      • 18.2.135. PMIx_Pdata_load
      • 18.2.136. PMIx_Pdata_xfer
      • 18.2.137. PMIx_Data_array_construct
      • 18.2.138. PMIx_Data_array_create
      • 18.2.139. PMIx_Data_array_destruct
      • 18.2.140. PMIx_Data_array_free
      • 18.2.141. PMIx_Data_array_init
      • 18.2.142. PMIx_Proc_info_construct
      • 18.2.143. PMIx_Proc_info_create
      • 18.2.144. PMIx_Proc_info_destruct
      • 18.2.145. PMIx_Proc_info_free
      • 18.2.146. PMIx_Proc_construct
      • 18.2.147. PMIx_Proc_create
      • 18.2.148. PMIx_Proc_destruct
      • 18.2.149. PMIx_Proc_free
      • 18.2.150. PMIx_Proc_load
      • 18.2.151. PMIx_App_info_create
      • 18.2.152. PMIx_App_construct
      • 18.2.153. PMIx_App_create
      • 18.2.154. PMIx_App_destruct
      • 18.2.155. PMIx_App_free
      • 18.2.156. PMIx_App_release
      • 18.2.157. PMIx_Envar_construct
      • 18.2.158. PMIx_Envar_create
      • 18.2.159. PMIx_Envar_destruct
      • 18.2.160. PMIx_Envar_free
      • 18.2.161. PMIx_Envar_load
      • 18.2.162. PMIx_Query_qualifiers_create
      • 18.2.163. PMIx_Query_construct
      • 18.2.164. PMIx_Query_create
      • 18.2.165. PMIx_Query_destruct
      • 18.2.166. PMIx_Query_free
      • 18.2.167. PMIx_Query_release
      • 18.2.168. PMIx_Regattr_construct
      • 18.2.169. PMIx_Regattr_create
      • 18.2.170. PMIx_Regattr_destruct
      • 18.2.171. PMIx_Regattr_free
      • 18.2.172. PMIx_Regattr_load
      • 18.2.173. PMIx_Regattr_xfer
      • 18.2.174. PMIx_Byte_object_construct
      • 18.2.175. PMIx_Byte_object_create
      • 18.2.176. PMIx_Byte_object_destruct
      • 18.2.177. PMIx_Byte_object_free
      • 18.2.178. PMIx_Byte_object_load
      • 18.2.179. PMIx_Coord_construct
      • 18.2.180. PMIx_Coord_create
      • 18.2.181. PMIx_Coord_destruct
      • 18.2.182. PMIx_Coord_free
      • 18.2.183. PMIx_Cpuset_construct
      • 18.2.184. PMIx_Cpuset_create
      • 18.2.185. PMIx_Cpuset_destruct
      • 18.2.186. PMIx_Cpuset_free
      • 18.2.187. PMIx_Geometry_construct
      • 18.2.188. PMIx_Geometry_create
      • 18.2.189. PMIx_Geometry_destruct
      • 18.2.190. PMIx_Geometry_free
      • 18.2.191. PMIx_Topology_construct
      • 18.2.192. PMIx_Topology_create
      • 18.2.193. PMIx_Topology_destruct
      • 18.2.194. PMIx_Topology_free
      • 18.2.195. PMIx_Device_distance_construct
      • 18.2.196. PMIx_Device_distance_create
      • 18.2.197. PMIx_Device_distance_destruct
      • 18.2.198. PMIx_Device_distance_free
      • 18.2.199. PMIx_Device_construct
      • 18.2.200. PMIx_Device_create
      • 18.2.201. PMIx_Device_destruct
      • 18.2.202. PMIx_Device_free
      • 18.2.203. PMIx_Endpoint_construct
      • 18.2.204. PMIx_Endpoint_create
      • 18.2.205. PMIx_Endpoint_destruct
      • 18.2.206. PMIx_Endpoint_free
      • 18.2.207. PMIx_Node_pid_construct
      • 18.2.208. PMIx_Node_pid_create
      • 18.2.209. PMIx_Node_pid_destruct
      • 18.2.210. PMIx_Node_pid_free
      • 18.2.211. PMIx_Resource_unit_construct
      • 18.2.212. PMIx_Resource_unit_create
      • 18.2.213. PMIx_Resource_unit_destruct
      • 18.2.214. PMIx_Resource_unit_free
      • 18.2.215. PMIx_Fabric_construct
      • 18.2.216. PMIx_Regex2_construct
      • 18.2.217. PMIx_Regex2_create
      • 18.2.218. PMIx_Regex2_destruct
      • 18.2.219. PMIx_Regex2_free
      • 18.2.220. PMIx_Argv_free
      • 18.2.221. PMIx_Argv_append_nosize
      • 18.2.222. PMIx_Argv_append_unique_nosize
      • 18.2.223. PMIx_Argv_copy
      • 18.2.224. PMIx_Argv_count
      • 18.2.225. PMIx_Argv_join
      • 18.2.226. PMIx_Argv_prepend_nosize
      • 18.2.227. PMIx_Argv_split
      • 18.2.228. PMIx_Argv_split_inter
      • 18.2.229. PMIx_Argv_split_with_empty
      • 18.2.230. PMIx_Load_key
      • 18.2.231. PMIx_Load_nspace
      • 18.2.232. PMIx_Load_procid
      • 18.2.233. PMIx_Check_reserved_key
      • 18.2.234. PMIx_Check_key
      • 18.2.235. PMIx_Check_nspace
      • 18.2.236. PMIx_Check_procid
      • 18.2.237. PMIx_Check_rank
      • 18.2.238. PMIx_Xfer_procid
      • 18.2.239. PMIx_Nspace_invalid
      • 18.2.240. PMIx_Procid_invalid
      • 18.2.241. PMIx_Rank_valid
      • 18.2.242. PMIx_Multicluster_nspace_construct
      • 18.2.243. PMIx_Multicluster_nspace_parse
      • 18.2.244. PMIx_Setenv
      • 18.2.245. PMIx_server_init
      • 18.2.246. PMIx_server_finalize
      • 18.2.247. PMIx_server_register_nspace
      • 18.2.248. PMIx_server_deregister_nspace
      • 18.2.249. PMIx_server_register_client
      • 18.2.250. PMIx_server_deregister_client
      • 18.2.251. PMIx_server_setup_fork
      • 18.2.252. PMIx_server_setup_application
      • 18.2.253. PMIx_server_setup_local_support
      • 18.2.254. PMIx_server_register_resources
      • 18.2.255. PMIx_server_deregister_resources
      • 18.2.256. PMIx_Register_attributes
      • 18.2.257. PMIx_server_dmodex_request
      • 18.2.258. PMIx_server_collect_inventory
      • 18.2.259. PMIx_server_deliver_inventory
      • 18.2.260. PMIx_server_collect_job_info
      • 18.2.261. PMIx_server_IOF_deliver
      • 18.2.262. PMIx_server_generate_cpuset
      • 18.2.263. PMIx_server_generate_cpuset_string
      • 18.2.264. PMIx_server_generate_locality_string
      • 18.2.265. PMIx_server_define_process_set
      • 18.2.266. PMIx_server_delete_process_set
      • 18.2.267. PMIx_generate_regex2
      • 18.2.268. PMIx_parse_regex2
      • 18.2.269. PMIx_tool_init
      • 18.2.270. PMIx_tool_finalize
      • 18.2.271. PMIx_tool_attach_to_server
      • 18.2.272. PMIx_tool_disconnect
      • 18.2.273. PMIx_tool_get_servers
      • 18.2.274. PMIx_tool_is_connected
      • 18.2.275. PMIx_tool_set_server
      • 18.2.276. PMIx_tool_set_server_module
      • 18.2.277. PMIx_IOF_pull
      • 18.2.278. PMIx_IOF_push
      • 18.2.279. PMIx_IOF_deregister
    • 18.3. Config file manual pages (section 5)
OpenPMIx
  • 18. OpenPMIx manual pages
  • 18.2. APIs (section 3)
  • 18.2.59. PMIx_Link_state_string
  • View page source

18.2.59. PMIx_Link_state_string

PMIx_Link_state_string — Return the string representation of a pmix_link_state_t value.

18.2.59.1. SYNOPSIS

#include <pmix.h>

const char* PMIx_Link_state_string(pmix_link_state_t state);

18.2.59.1.1. Python Syntax

from pmix import *

foo = PMIxClient()
name = foo.link_state_string(PMIX_LINK_UP)

18.2.59.2. INPUT PARAMETERS

  • state: A fabric link state value of type pmix_link_state_t. Recognized values are PMIX_LINK_STATE_UNKNOWN, PMIX_LINK_DOWN, and PMIX_LINK_UP.

18.2.59.3. DESCRIPTION

Return a human-readable, statically-allocated string describing the given fabric link state. The recognized states map as follows: PMIX_LINK_DOWN yields "INACTIVE", PMIX_LINK_UP yields "ACTIVE", and PMIX_LINK_STATE_UNKNOWN yields "UNKNOWN". Any value that does not correspond to a recognized link state also returns the fallback string "UNKNOWN".

The returned pointer refers to constant storage owned by the PMIx library. The caller must not modify or free it.

18.2.59.4. RETURN VALUE

Returns a pointer to a constant, statically-allocated character string. The pointer is always non-NULL and must not be freed by the caller.

See also

PMIx_Job_state_string(3), PMIx_Device_type_string(3), pmix_link_state_t(5)

Previous Next

© Copyright 2014-2026, OpenPMIx Community. Last updated on 2026-07-24 02:46:15 UTC.

Built with Sphinx using a theme provided by Read the Docs.