Setup the communication resources and configurations.
More...
|
| LCI device |
| A device is a physical or logical resource that can be used for communication. Communications that use the same device share a resource and may affect each other's performance.
|
|
| LCI property list |
| A property list is a collection of properties used to create an endpoint.
|
|
| LCI endpoint |
| Currently, a LCI endpoint is not associated with any low-level communication resources, it is just a way to specify a bunch of configurations.
|
|
Setup the communication resources and configurations.
In order to use LCI, users need to first setup a few communication resources and configurations, including devices and endpoints.
◆ LCI_barrier()
Invoke a barrier across all LCI processes in the same job. The call will block the calling thread until the barrier completes. This is not thread-safe.
- Returns
- Should always be LCI_OK. All the other errors are fatal as defined by LCI_error_t.
◆ LCI_finalize()
Finalize the LCI runtime. No LCI calls are allowed to be called after LCI_finalize except LCI_initialized.
- Returns
- Should always be LCI_OK. All the other errors are fatal as defined by LCI_error_t.
◆ LCI_initialize()
Initialize the LCI runtime. No LCI calls are allowed to be called before LCI_initialize except LCI_initialized.
- Returns
- Should always be LCI_OK. All the other errors are fatal as defined by LCI_error_t.
◆ LCI_initialized()
Check whether the LCI runtime has been initialized.
- Parameters
-
[in] | flag | If the runtime has been initialized, it will be set to true. Otherwise, it will be set to false. |
- Returns
- Should always be LCI_OK. All the other errors are fatal as defined by LCI_error_t.
◆ LCI_DEFAULT_TABLE_LENGTH
int LCI_DEFAULT_TABLE_LENGTH |
Initial number of entries in a default matching table.
- Note
- The matching table width is fixed in current implementation, but the number of entries is unlimited due to list-based buckets.
◆ LCI_MAX_TABLE_LENGTH
Maximum number of entries in a matching table.
- Note
- The matching table width is fixed in current implementation, but the number of entries is unlimited due to list-based buckets.
◆ LCI_NUM_PROCESSES
The number of processes in this job.
◆ LCI_RANK
The rank of the current process w.r.t the job.