SimGrid  3.16
Versatile Simulation of Distributed Systems
smpi_coll.cpp File Reference

Namespaces

 simgrid
 Alltoall Bruck.
 
 simgrid::smpi
 

Macros

#define COLL_SETTER(cat, ret, args, args2)
 
#define SET_COLL(coll)
 

Functions

 XBT_LOG_NEW_DEFAULT_SUBCATEGORY (smpi_coll, smpi, "Logging specific to SMPI (coll)")
 
 simgrid::smpi::COLL_APPLY (COLL_SETTER, COLL_GATHER_SIG,"")
 
 simgrid::smpi::COLL_APPLY (COLL_SETTER, COLL_ALLGATHER_SIG,"")
 
 simgrid::smpi::COLL_APPLY (COLL_SETTER, COLL_ALLGATHERV_SIG,"")
 
 simgrid::smpi::COLL_APPLY (COLL_SETTER, COLL_REDUCE_SIG,"")
 
 simgrid::smpi::COLL_APPLY (COLL_SETTER, COLL_ALLREDUCE_SIG,"")
 
 simgrid::smpi::COLL_APPLY (COLL_SETTER, COLL_REDUCE_SCATTER_SIG,"")
 
 simgrid::smpi::COLL_APPLY (COLL_SETTER, COLL_SCATTER_SIG,"")
 
 simgrid::smpi::COLL_APPLY (COLL_SETTER, COLL_BARRIER_SIG,"")
 
 simgrid::smpi::COLL_APPLY (COLL_SETTER, COLL_BCAST_SIG,"")
 
 simgrid::smpi::COLL_APPLY (COLL_SETTER, COLL_ALLTOALL_SIG,"")
 
 simgrid::smpi::COLL_APPLY (COLL_SETTER, COLL_ALLTOALLV_SIG,"")
 

Macro Definition Documentation

◆ COLL_SETTER

#define COLL_SETTER (   cat,
  ret,
  args,
  args2 
)
Value:
int (*Colls::cat ) args;\
void Colls::set_##cat (const char * name){\
int id = find_coll_description(mpi_coll_## cat ##_description,\
name,#cat);\
cat = reinterpret_cast<ret (*) args>\
(mpi_coll_## cat ##_description[id].coll);\
if (cat == nullptr)\
xbt_die("Collective "#cat" set to nullptr!");\
}
static const char * name
Definition: msg.h:186

◆ SET_COLL

#define SET_COLL (   coll)
Value:
name = xbt_cfg_get_string("smpi/"#coll);\
if (name==nullptr || name[0] == '\0')\
name = selector_name;\
set_##coll(name);
static const char * name
Definition: msg.h:186
char * xbt_cfg_get_string(const char *name)
Retrieve a string value of a variable (get a warning if not uniq)
Definition: config.cpp:803

Function Documentation

◆ XBT_LOG_NEW_DEFAULT_SUBCATEGORY()

XBT_LOG_NEW_DEFAULT_SUBCATEGORY ( smpi_coll  ,
smpi  ,
"Logging specific to SMPI (coll)"   
)