SST/macro
Public Member Functions | Protected Member Functions | List of all members
sstmac::sw::default_job_launcher Class Reference

#include <job_launcher.h>

Inheritance diagram for sstmac::sw::default_job_launcher:
Inheritance graph
Collaboration diagram for sstmac::sw::default_job_launcher:
Collaboration graph

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_launchtask_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_
 

Detailed Description

Definition at line 71 of file job_launcher.h.

Member Function Documentation

void sstmac::sw::default_job_launcher::handle_new_launch_request ( app_launch appman)
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.

Parameters
appnumA unique integer identifying the application launched
appmanAn object specifying all the details (indexing, allocation, application type) of the application being launched

Implements sstmac::sw::job_launcher.

std::string sstmac::sw::default_job_launcher::to_string ( ) const
inlinevirtual

Implements sstmac::event_handler.

Definition at line 76 of file job_launcher.h.

References sstmac::sw::job_launcher::handle_new_launch_request().

Here is the call graph for this function:


The documentation for this class was generated from the following file: