#include <coordinate_task_mapper.h>
Definition at line 24 of file coordinate_task_mapper.h.
sstmac::sw::coordinate_task_mapper::coordinate_task_mapper |
( |
parallel_runtime * |
rt | ) |
|
|
inline |
virtual sstmac::sw::coordinate_task_mapper::~coordinate_task_mapper |
( |
| ) |
|
throw | ( | |
| ) | | |
|
inlinevirtual |
virtual void sstmac::sw::coordinate_task_mapper::init_factory_params |
( |
sprockit::sim_parameters * |
params | ) |
|
|
virtual |
void sstmac::sw::coordinate_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 ~coordinate_task_mapper().
std::string sstmac::sw::coordinate_task_mapper::listfile_ |
|
protected |
The documentation for this class was generated from the following file: