We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 38c47fa + ceb9259 commit d56ef3fCopy full SHA for d56ef3f
oshmem/runtime/oshmem_shmem_finalize.c
@@ -53,7 +53,7 @@
53
#include "oshmem/shmem/shmem_lock.h"
54
#include "oshmem/runtime/oshmem_shmem_preconnect.h"
55
56
-extern int oshmem_shmem_globalexit_status;
+extern int oshmem_shmem_inglobalexit;
57
58
static int _shmem_finalize(void);
59
@@ -79,7 +79,7 @@ int oshmem_shmem_finalize(void)
79
if ((OSHMEM_SUCCESS == ret) &&
80
(state >= OMPI_MPI_STATE_INIT_COMPLETED &&
81
state < OMPI_MPI_STATE_FINALIZE_PAST_COMM_SELF_DESTRUCT) &&
82
- oshmem_shmem_globalexit_status == 0) {
+ (oshmem_shmem_inglobalexit == 0)) {
83
PMPI_Comm_free(&oshmem_comm_world);
84
ret = ompi_mpi_finalize();
85
}
0 commit comments