SimGrid
3.18
Versatile Simulation of Distributed Systems
|
#include "private.hpp"
#include "smpi_coll.hpp"
#include "smpi_comm.hpp"
#include "smpi_datatype.hpp"
#include "smpi_group.hpp"
#include "smpi_process.hpp"
#include "smpi_request.hpp"
#include "xbt/replay.hpp"
#include <unordered_map>
#include <vector>
Namespaces | |
simgrid | |
Alltoall Bruck. | |
simgrid::smpi | |
Macros | |
#define | KEY_SIZE (sizeof(int) * 2 + 1) |
#define | CHECK_ACTION_PARAMS(action, mandatory, optional) |
Functions | |
XBT_LOG_NEW_DEFAULT_SUBCATEGORY (smpi_replay, smpi,"Trace Replay with SMPI") | |
static void | log_timed_action (const char *const *action, double clock) |
static std::vector< MPI_Request > * | get_reqq_self () |
static void | set_reqq_self (std::vector< MPI_Request > *mpi_request) |
void * | smpi_get_tmp_sendbuffer (int size) |
void * | smpi_get_tmp_recvbuffer (int size) |
void | smpi_free_tmp_buffer (void *buf) |
static double | parse_double (const char *string) |
static MPI_Datatype | decode_datatype (const char *const action) |
const char * | encode_datatype (MPI_Datatype datatype) |
static void | simgrid::smpi::action_init (const char *const *action) |
static void | simgrid::smpi::action_finalize (const char *const *action) |
static void | simgrid::smpi::action_comm_size (const char *const *action) |
static void | simgrid::smpi::action_comm_split (const char *const *action) |
static void | simgrid::smpi::action_comm_dup (const char *const *action) |
static void | simgrid::smpi::action_compute (const char *const *action) |
static void | simgrid::smpi::action_send (const char *const *action) |
static void | simgrid::smpi::action_Isend (const char *const *action) |
static void | simgrid::smpi::action_recv (const char *const *action) |
static void | simgrid::smpi::action_Irecv (const char *const *action) |
static void | simgrid::smpi::action_test (const char *const *action) |
static void | simgrid::smpi::action_wait (const char *const *action) |
static void | simgrid::smpi::action_waitall (const char *const *action) |
static void | simgrid::smpi::action_barrier (const char *const *action) |
static void | simgrid::smpi::action_bcast (const char *const *action) |
static void | simgrid::smpi::action_reduce (const char *const *action) |
static void | simgrid::smpi::action_allReduce (const char *const *action) |
static void | simgrid::smpi::action_allToAll (const char *const *action) |
static void | simgrid::smpi::action_gather (const char *const *action) |
static void | simgrid::smpi::action_scatter (const char *const *action) |
static void | simgrid::smpi::action_gatherv (const char *const *action) |
static void | simgrid::smpi::action_scatterv (const char *const *action) |
static void | simgrid::smpi::action_reducescatter (const char *const *action) |
static void | simgrid::smpi::action_allgather (const char *const *action) |
static void | simgrid::smpi::action_allgatherv (const char *const *action) |
static void | simgrid::smpi::action_allToAllv (const char *const *action) |
void | smpi_replay_init (int *argc, char ***argv) |
Only initialize the replay, don't do it for real. More... | |
void | smpi_replay_main (int *argc, char ***argv) |
actually run the replay after initialization More... | |
void | smpi_replay_run (int *argc, char ***argv) |
chain a replay initialization and a replay start More... | |
Variables | |
int | communicator_size = 0 |
static int | active_processes = 0 |
std::unordered_map< int, std::vector< MPI_Request > * > | reqq |
MPI_Datatype | MPI_DEFAULT_TYPE |
MPI_Datatype | MPI_CURRENT_TYPE |
static int | sendbuffer_size =0 |
char * | sendbuffer =nullptr |
static int | recvbuffer_size =0 |
char * | recvbuffer =nullptr |
#define KEY_SIZE (sizeof(int) * 2 + 1) |
#define CHECK_ACTION_PARAMS | ( | action, | |
mandatory, | |||
optional | |||
) |
XBT_LOG_NEW_DEFAULT_SUBCATEGORY | ( | smpi_replay | , |
smpi | , | ||
"Trace Replay with SMPI" | |||
) |
|
static |
|
static |
|
static |
void* smpi_get_tmp_sendbuffer | ( | int | size | ) |
void* smpi_get_tmp_recvbuffer | ( | int | size | ) |
|
static |
|
static |
const char* encode_datatype | ( | MPI_Datatype | datatype | ) |
void smpi_replay_init | ( | int * | argc, |
char *** | argv | ||
) |
Only initialize the replay, don't do it for real.
void smpi_replay_main | ( | int * | argc, |
char *** | argv | ||
) |
actually run the replay after initialization
void smpi_replay_run | ( | int * | argc, |
char *** | argv | ||
) |
chain a replay initialization and a replay start
int communicator_size = 0 |
|
static |
std::unordered_map<int,std::vector<MPI_Request>*> reqq |
MPI_Datatype MPI_DEFAULT_TYPE |
MPI_Datatype MPI_CURRENT_TYPE |
|
static |
char* sendbuffer =nullptr |
|
static |
char* recvbuffer =nullptr |