Skip to content

Commit 698e6bb

Browse files
authored
Merge pull request #7708 from mwheinz/master-7700
PSM2 update to use PRRTE instead of ORTE
2 parents ac87e81 + 42b3541 commit 698e6bb

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

ompi/mca/mtl/psm2/help-mtl-psm2.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ active on the node and the hardware is functioning.
2525
Error: %s
2626
#
2727
[no uuid present]
28-
Error obtaining unique transport key from ORTE (orte_precondition_transports %s
28+
Error obtaining unique transport key from PMIX (PMIX_MCA_opa_precondition_transports %s
2929
the environment).
3030

3131
Local host: %s

ompi/mca/mtl/psm2/mtl_psm2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ int ompi_mtl_psm2_module_init(int local_rank, int num_local_procs) {
101101
char env_string[256];
102102
int rc;
103103

104-
generated_key = getenv(OPAL_MCA_PREFIX"orte_precondition_transports");
104+
generated_key = getenv("OPA_TRANSPORT_KEY");
105105
memset(uu, 0, sizeof(psm2_uuid_t));
106106

107107
if (!generated_key || (strlen(generated_key) != 33) ||

ompi/mca/mtl/psm2/mtl_psm2_component.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ get_local_rank(int *out_rank)
348348
{
349349
*out_rank = 0;
350350

351-
if (OMPI_NODE_RANK_INVALID == ompi_process_info.my_node_rank) {
351+
if (UINT16_MAX == ompi_process_info.my_node_rank) {
352352
return OMPI_ERROR;
353353
}
354354
*out_rank = (int)ompi_process_info.my_node_rank;

0 commit comments

Comments
 (0)