flux_shell_rpc_pack(3)

SYNOPSIS

#include <flux/shell.h>
#include <errno.h>

flux_future_t *flux_shell_rpc_pack (flux_shell_t *shell,
                                    const char *method,
                                    int shell_rank,
                                    int flags,
                                    const char *fmt,
                                    ...);

Link with -lflux-core.

DESCRIPTION

Send a remote procedure call method to another shell in the same job at shell rank shell_rank.

RETURN VALUE

Returns NULL on failure.

ERRORS

EINVAL

shell, method or fmt are NULL, or if rank is less than 0.

RESOURCES

Flux: http://flux-framework.org

Flux RFC: https://flux-framework.readthedocs.io/projects/flux-rfc