SimGrid
3.14.159
Versatile Simulation of Distributed Systems
|
#include "private.h"
#include "simgrid/msg.h"
#include "xbt/dict.h"
#include "xbt/log.h"
#include "xbt/sysdep.h"
Classes | |
struct | s_smpi_mpi_instance |
Typedefs | |
typedef struct s_smpi_mpi_instance | s_smpi_mpi_instance_t |
Functions | |
void | SMPI_app_instance_register (const char *name, xbt_main_func_t code, int num_processes) |
Registers a running instance of a MPI program. More... | |
void | smpi_deployment_register_process (const char *instance_id, int rank, int index, MPI_Comm **comm, msg_bar_t *bar) |
void | smpi_deployment_cleanup_instances () |
Variables | |
static xbt_dict_t | smpi_instances = nullptr |
int | process_count |
int * | index_to_process_data |
typedef struct s_smpi_mpi_instance s_smpi_mpi_instance_t |
void SMPI_app_instance_register | ( | const char * | name, |
xbt_main_func_t | code, | ||
int | num_processes | ||
) |
Registers a running instance of a MPI program.
FIXME : remove MSG from the loop at some point.
name | the reference name of the function. |
code | the main mpi function (must have a int ..(int argc, char *argv[])) prototype |
num_processes | the size of the instance we want to deploy |
void smpi_deployment_register_process | ( | const char * | instance_id, |
int | rank, | ||
int | index, | ||
MPI_Comm ** | comm, | ||
msg_bar_t * | bar | ||
) |
void smpi_deployment_cleanup_instances | ( | ) |
|
static |
int process_count |
int* index_to_process_data |