KMR
|
Static-Spawning API. More...
Go to the source code of this file.
Classes | |
struct | kmr_spawn_hooks |
struct | kmr_spawn_next |
struct | kmr_spawn_none |
union | kmr_spawn_rpc |
struct | kmr_spawn_work |
Macros | |
#define | KMR_SPAWN_ARGS_SIZE (8 * 1024) |
#define | KMR_SPAWN_ICOMM_TAG (601) |
#define | KMR_SPAWN_MAGIC (20160904) |
#define | KMR_SPAWN_RPC_TAG (600) |
#define | KMR_SPAWN_SUBWORLDS (20) |
Enumerations | |
enum | kmr_spawn_req { KMR_SPAWN_NONE, KMR_SPAWN_WORK, KMR_SPAWN_NEXT } |
Functions | |
int | kmr_spawn_hookup (struct kmr_spawn_hooks *hooks) |
int | kmr_spawn_hookup_standin (struct kmr_spawn_hooks *hooks) |
int | kmr_spawn_mpi_comm_dup (MPI_Comm comm, MPI_Comm *newcomm) |
int | kmr_spawn_mpi_comm_free (MPI_Comm *comm) |
int | kmr_spawn_mpi_comm_get_name (MPI_Comm comm, char *name, int *len) |
int | kmr_spawn_mpi_comm_rank (MPI_Comm comm, int *rank) |
int | kmr_spawn_mpi_comm_remote_size (MPI_Comm comm, int *size) |
int | kmr_spawn_mpi_comm_set_name (MPI_Comm comm, char *name) |
int | kmr_spawn_mpi_comm_size (MPI_Comm comm, int *size) |
int | kmr_spawn_mpi_get_count (MPI_Status *status, MPI_Datatype dty, int *count) |
int | kmr_spawn_mpi_intercomm_create (MPI_Comm lcomm, int lleader, MPI_Comm pcomm, int pleader, int tag, MPI_Comm *icomm) |
int | kmr_spawn_mpi_recv (void *buf, int count, MPI_Datatype dty, int src, int tag, MPI_Comm comm, MPI_Status *status) |
int | kmr_spawn_mpi_send (void *buf, int count, MPI_Datatype dty, int dst, int tag, MPI_Comm comm) |
void | kmr_spawn_service (struct kmr_spawn_hooks *hooks, int status) |
void | kmr_spawn_service_standin (struct kmr_spawn_hooks *hooks, int status) |
void | kmr_spawn_set_verbosity (struct kmr_spawn_hooks *hooks, int level) |
void | kmr_spawn_set_verbosity_standin (struct kmr_spawn_hooks *hooks, int level) |
int | kmr_spawn_setup (struct kmr_spawn_hooks *hooks, MPI_Comm basecomm, int masterrank, int(*execfn)(struct kmr_spawn_hooks *, int, char **), int nsubworlds, MPI_Comm subworlds[], unsigned long colors[], size_t argssize) |
int | kmr_spawn_setup_standin (struct kmr_spawn_hooks *hooks, MPI_Comm basecomm, int masterrank, int(*execfn)(struct kmr_spawn_hooks *, int, char **), int nsubworlds, MPI_Comm subworlds[], unsigned long colors[], size_t argssize) |
int | kmr_spawn_true_execve (const char *file, char *const argv[], char *const envp[]) |
void | kmr_spawn_true_exit (int status) |
int | kmr_spawn_true_mpi_abort (MPI_Comm comm, int code) |
int | kmr_spawn_true_mpi_finalize (void) |
Static-Spawning API.
Definition in file kmrspawn.h.