diff --git a/contribs/pmi2/pmi2_api.c b/contribs/pmi2/pmi2_api.c index d4fad362721b10dcf98a7ab7cdb3f1953cff72c5..fc36ed2cdca7ace72a0f35814dff86d5c4e63d5e 100644 --- a/contribs/pmi2/pmi2_api.c +++ b/contribs/pmi2/pmi2_api.c @@ -207,6 +207,9 @@ int PMI2_Init(int *spawned, int *size, int *rank, int *appnum) PMI2_size = 1; PMI2_rank = 0; *spawned = 0; + *size = PMI2_size; + *rank = PMI2_rank; + *appnum = -1; PMI2_initialized = SINGLETON_INIT_BUT_NO_PM; goto fn_exit;