SHMEM_GLOBAL_EXIT(3)
πΈ NAME πΈ
Bestie, this is the <pink>SHMEM_GLOBAL_EXIT(3)</pink> page from the <purple>Open MPI</purple> manual, and the whole vibe is: shmem_global_exit β a routine that lets any PE force termination of an entire program. π₯
β¨ SYNOPSIS β¨
π C or C++
#include <mpp/shmem.h>
void shmem_global_exit(int status);
π¦ Fortran
include 'mpp/shmem.fh'
INTEGER STATUS
CALL SHMEM_GLOBAL_EXIT(status)
π DESCRIPTION π
Okay so <hotpink>shmem_global_exit()</hotpink> β yes, also shmem_global_exit β is a non-collective routine. It lets any one PE force termination of an Open-SHMEM program for all PEs, passing an exit status to the execution environment. This routine terminates the entire program, not just the OpenSHMEM portion. When any PE calls shmem_global_exit, it results in the immediate notification to all PEs to terminate. shmem_global_exit flushes I/O and releases resources in accordance with C/C++/Fortran language requirements for normal program termination. If more than one PE calls shmem_global_exit, then the exit status returned to the environment shall be one of the values passed to shmem_global_exit as the status argument. There is no return to the caller of shmem_global_exit; control is returned from the OpenSHMEM program to the execution environment for all PEs. Periodt. πβ¨
π¦ SEE ALSO π¦
footer tea: source <pink>gitclone</pink>, version <yellow>Unreleased developer copy</yellow>, and page label <cyan>SHMEM_GLOBAL_EXIT(3)</cyan> β no date listed in the footer, so Iβm not inventing one, bestie. Bye! ππ
π¦ where this page comes from
- arch rolling: nvhpc-comm-libs 26.9-1 Β· LicenseRef-NVIDIA-HPC-SDK
- Copyright (c) 2015 University of Houston. All rights reserved
- Copyright (c) 2015 Mellanox Technologies, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms