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
The current "log" server module function was defined with
a void return. This contrasts with most of the other module
functions which characteristically return a pmix_status_t,
thereby supporting a return status that indicates if the
function is not supported or has been atomically completed.
Add a replacement "log2" function that is identical in signature
except for returning a pmix_status_t instead of void. Deprecate
the current "log" function.
Signed-off-by: Ralph Castain <[email protected]>
\argin{data}{Array of info structures (array of handles)}
3402
+
\argin{ndata}{Number of elements in the \refarg{data} array (integer)}
3403
+
\argin{directives}{Array of info structures (array of handles)}
3404
+
\argin{ndirs}{Number of elements in the \refarg{directives} array (integer)}
3405
+
\argin{cbfunc}{Callback function \refapi{pmix_op_cbfunc_t} (function reference)}
3406
+
\argin{cbdata}{Data to be passed to the callback function (memory reference)}
3407
+
\end{arglist}
3408
+
3409
+
Returns one of the following:
3410
+
3411
+
\begin{itemize}
3412
+
\item\refconst{PMIX_SUCCESS}, indicating that the request is being processed by the host environment - result will be returned in the provided \refarg{cbfunc}. Note that the host must not invoke the callback function prior to returning from the \ac{API}.
3413
+
\item\refconst{PMIX_OPERATION_SUCCEEDED}, indicating that the request was immediately processed and returned \textit{success} - the \refarg{cbfunc} will not be called
3414
+
\item\refconst{PMIX_ERR_NOT_SUPPORTED}, indicating that the host environment does not support the request, even though the function entry was provided in the server module - the \refarg{cbfunc} will not be called
3415
+
\item a PMIx error constant indicating either an error in the input or that the request was immediately processed and failed - the \refarg{cbfunc} will not be called
3416
+
\end{itemize}
3417
+
3418
+
\reqattrstart
3419
+
\ac{PMIx} libraries are required to pass any provided attributes to the host environment for processing. In addition, the following attributes are required to be included in the passed \refarg{info} array:
3420
+
3421
+
\pasteAttributeItem{PMIX_USERID}
3422
+
\pasteAttributeItem{PMIX_GRPID}
3423
+
3424
+
\divider
3425
+
3426
+
Host environments that provide this module entry point are required to support the following attributes:
3427
+
3428
+
\pasteAttributeItem{PMIX_LOG_STDERR}
3429
+
\pasteAttributeItem{PMIX_LOG_STDOUT}
3430
+
\pasteAttributeItem{PMIX_LOG_SYSLOG}
3431
+
3432
+
\reqattrend
3433
+
3434
+
\optattrstart
3435
+
The following attributes are optional for host environments that support this operation:
3436
+
3437
+
\pasteAttributeItem{PMIX_LOG_MSG}
3438
+
\pasteAttributeItem{PMIX_LOG_EMAIL}
3439
+
\pasteAttributeItem{PMIX_LOG_EMAIL_ADDR}
3440
+
\pasteAttributeItem{PMIX_LOG_EMAIL_SUBJECT}
3441
+
\pasteAttributeItem{PMIX_LOG_EMAIL_MSG}
3442
+
3443
+
\optattrend
3444
+
3445
+
%%%%
3446
+
\descr
3447
+
3448
+
Log data on behalf of a client. This function is not intended for output of computational results, but rather for reporting status and error messages. The host must not execute the callback function prior to returning from the \ac{API}.
Log data on behalf of a client. This function is not intended for output of computational results, but rather for reporting status and error messages. The host must not execute the callback function prior to returning from the \ac{API}.
3512
+
Log data on behalf of a client. This function module entry has been \textbf{DEPRECATED} in favor of \refapi{pmix_server_log2_fn_t}.
0 commit comments