#include <dumpi_task_mapper.h>
Definition at line 22 of file dumpi_task_mapper.h.
virtual sstmac::sw::dumpi_task_mapper::~dumpi_task_mapper |
( |
| ) |
|
throw | ( | |
| ) | | |
|
inlinevirtual |
virtual void sstmac::sw::dumpi_task_mapper::init_factory_params |
( |
sprockit::sim_parameters * |
params | ) |
|
|
virtual |
void sstmac::sw::dumpi_task_mapper::map_ranks |
( |
const app_id & |
aid, |
|
|
const ordered_node_set & |
allocation, |
|
|
int |
ppn, |
|
|
std::vector< node_id > & |
result, |
|
|
int |
nproc |
|
) |
| |
|
virtual |
Assign processes to nodes.
- Parameters
-
aid | The application ID for the application whose processes are being indexed |
nodes | is the set of unique nodes to be used for the allocation |
ppn | is the nominal number of processes allocated on each node. |
result | is the resulting vector of length nodes (size nproc) |
nproc | the total number of processes to allocate |
- Exceptions
-
value_error | if nodes.empty() |
value_error | if ppn <= 0 |
value_error | if nodes.size()*ppn < nproc |
Implements sstmac::sw::task_mapper.
Referenced by ~dumpi_task_mapper().
node_id sstmac::sw::dumpi_task_mapper::node_id_from_coordinates |
( |
int |
ncoord, |
|
|
int * |
coordinates |
|
) |
| |
|
protected |
node_id sstmac::sw::dumpi_task_mapper::node_id_from_hostname |
( |
const std::string & |
hostname | ) |
|
|
protected |
void sstmac::sw::dumpi_task_mapper::set_topology |
( |
hw::topology * |
top | ) |
|
|
virtual |
std::string sstmac::sw::dumpi_task_mapper::metaname_ |
|
protected |
The documentation for this class was generated from the following file: