You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
shmem: fix oshmem_shmem_finalize() when main() returns not zero value.
Example:
int main(void) {
int rc = 0;
shmem_init();
if (0 == shmem_my_pe())
rc = 1;
shmem_finalize();
return rc;
}
If the user wants to return not-zero status, this leads to
`ompi_mpi_finalize()` won't be called and the program terminates
abnormally.
Signed-off-by: Boris Karasev <karasev.b@gmail.com>
0 commit comments