SST/macro
|
#include <job_launcher.h>
Public Member Functions | |
std::string | to_string () const |
Public Member Functions inherited from sstmac::sw::job_launcher | |
void | handle (event *ev) |
void | set_interconnect (hw::interconnect *ic) |
node_id | node_for_task (app_id aid, task_id tid) const |
app_launch * | task_mapper (app_id aid) const |
virtual void | init_factory_params (sprockit::sim_parameters *params) |
Public Member Functions inherited from sprockit::factory_type | |
virtual void | init_factory_params (sim_parameters *params) |
virtual void | finalize_init () |
Public Member Functions inherited from sstmac::event_handler | |
virtual | ~event_handler () |
event_loc_id | event_location () const |
virtual bool | ipc_handler () const |
Whether an event handler is a "fake" handler that represents logical process boundary. More... | |
int | thread_id () const |
virtual void | deadlock_check (event *ev) |
virtual void | deadlock_check () |
Protected Member Functions | |
void | handle_new_launch_request (app_launch *appman) |
handle_new_launch_request As if a new job had been submitted with qsub or salloc. More... | |
Protected Member Functions inherited from sstmac::sw::job_launcher | |
void | satisfy_launch_request (app_launch *appman) |
Protected Member Functions inherited from sstmac::event_handler | |
event_handler () | |
void | init_loc_id (event_loc_id id) |
void | init_thread_id (int id) |
Additional Inherited Members | |
Static Public Attributes inherited from sstmac::event_handler | |
static const int | null_lpid = -1 |
static const int | null_threadid = -1 |
Protected Attributes inherited from sstmac::sw::job_launcher | |
hw::interconnect * | interconnect_ |
ordered_node_set | allocated_ |
ordered_node_set | available_ |
std::map< app_id, app_launch * > | apps_launched_ |
Definition at line 71 of file job_launcher.h.
|
protectedvirtual |
handle_new_launch_request As if a new job had been submitted with qsub or salloc.
The job_launcher receives a new request to launch an application, at which point it can choose to launch the application immediately if node allocation succeeds.
appnum | A unique integer identifying the application launched |
appman | An object specifying all the details (indexing, allocation, application type) of the application being launched |
Implements sstmac::sw::job_launcher.
|
inlinevirtual |
Implements sstmac::event_handler.
Definition at line 76 of file job_launcher.h.
References sstmac::sw::job_launcher::handle_new_launch_request().