Sponsor:

Your company here, and a link to your site. Click to find out more.

PMIx_Abort - Man Page

PMIx_Abort - Abort the specified processes

Synopsis

#include <pmix.h>

pmix_status_t PMIx_Abort(int status, const char msg[],
                         pmix_proc_t procs[], size_t nprocs);

Arguments

Description

Request that the provided array of procs be aborted, returning the provided status and printing the provided message. A NULL for the procs array indicates that all processes in the caller’s namespace are to be aborted.

The response to this request is somewhat dependent on the specific resource manager and its configuration (e.g., some resource managers will not abort the application if the provided status is zero unless specifically configured to do so), and thus lies outside the control of PMIx itself. However, the client will inform the RM of the request that the application be aborted, regardless of the value of the provided status.

Passing a NULL msg parameter is allowed. Note that race conditions caused by multiple processes calling PMIx_Abort are left to the server implementation to resolve with regard to which status is returned and what messages (if any) are printed.

Return Value

Returns PMIX_SUCCESS on success. On error, a negative value corresponding to a PMIx errno is returned.

Errors

PMIx errno values are defined in pmix_common.h.

SEE ALSO:

PMIx_Commit(3), PMIx_Finalize(3), PMIx_Init(3), PMIx_Initialized(3), PMIx_Put(3), pmiAddInstance(3), pmiAddMetric(3)

Referenced By

PMIx_Finalize(3), PMIx_Init(3).

Dec 19, 2023 OpenPMIx