44 if (collective_mode == 1) {
66 int core = process_Rank;
72 if (task_per_node_ != 1)
79 else if (remainder_cores == 0)
93 Nlocal = Nlocal * remainder_cores;
94 ECM_core = remainder_cores;
113 "//./nodelevel/machine-files/" +
arch_name +
".yml//" +
114 std::to_string(ECM_core) +
"+" + std::to_string(remainder_cores) +
115 "//-D N " + std::to_string(Nlocal) +
" -D s " + std::to_string(55),
116 recv, YAML_args, process_Rank, N_size_Of_Cluster, comm);
118 comp.second->bufSize = (comp.second->bufSize * Nlocal);
132 static_cast<uint8_t
>(coll_algo)
141 for (std::vector<DisCosTiC::AST_OP *>::iterator it =
DisCosTiC->allNodes.begin(); it !=
DisCosTiC->allNodes.end(); it++)
143 if ((**it).depCount == 0)
150 for (std::vector<DisCosTiC::AST_OP *>::iterator it =
DisCosTiC->allNodes.begin(); it !=
DisCosTiC->allNodes.end(); it++)
153 N.
type = (**it).type;
157 N.
node = (**it).node;
159 N.
label = (**it).label;
160 N.
mode = (**it).mode;
165 N.
depsCount = (**it).DepOperations.size();
167 count += (**it).DepOperations.size();
170 count += (**it).IdepOperations.size();
172 ID[rank][(**it).label] = std::make_pair(rank, N);
UserInterface::ConfigParser CFG_args("config.cfg")
< configuration file parser
std::size_t DisCosTiC_Datatype
int cc_numa_domain_per_socket
DisCosTiC_Datatype systemsize
DisCosTiC::VecDeserialNode Nodes
uint8_t GetNumNetworks()
the maximum number of the network interface controller
DisCosTiC_Datatype numOperations
DisCosTiC::idNodeTypePair Oneway_PositiveDisplacement(AST *DisCosTiC, DisCosTiC_Datatype process_Rank, UserInterface::YAMLParser YAML_args, DisCosTiC_Datatype N_size_Of_Cluster, MPI_Comm comm)
end of Oneway_PositiveDisplacement
uint8_t GetNumCores()
the maximum number of the nodes
DisCosTiC_Datatype networksCount
DisCosTiC_Datatype nodesCount
Benchmark(UserInterface::ConfigParser *CFG_args)
constructor that initializes the coordinates
DisCosTiC_Datatype datasize
DisCosTiC_Datatype numTimesteps
a wrapper class which contains functions for parsing the configuration file end class configParser
scalarT getValue(const std::string &key, scalarT const &defaultValue=scalarT()) const
a function that retrieves the value of a specific key
DisCosTiC_Datatype cores_per_chip
DisCosTiC_Datatype chips_per_node
static const DisCosTiC_Indextype INVALID_ID
< data types
std::pair< DisCosTiC_Indextype, DisCosTiC::AST_OP * > Event
std::vector< std::vector< idNodeTypePairT > > idNodeTypePair
std::vector< Benchmark > VecGraph_t
std::vector< AST_OP_TYPE > VecDeserialNode
iteratorRange< scalarT > getRange(scalarT begin, scalarT end)
DisCosTiC_Indextype depCount
DisCosTiC_Indextype depApdxStartLabel
DisCosTiC_Datatype bufSize
DisCosTiC_Indextype collectiveNumRanks
nubmer of ranks participating in collective
DisCosTiC_Indextype network
DisCosTiC_Indextype idepsCount
DisCosTiC_Indextype idepApdxStartLabel
DisCosTiC_Indextype label
DisCosTiC_Indextype target
uint8_t collectiveType
collective operation type
char mode
TODO: add blocking/non-blocking mode.
DisCosTiC_Indextype collectiveRoot
root rank for collectives which have root (-1 if no root)
DisCosTiC_Indextype depsCount
uint8_t algorithm
algo choice for collective