12 #ifndef SSTMAC_BACKENDS_NATIVE_LAUNCH_hostname_allocation_H_INCLUDED 13 #define SSTMAC_BACKENDS_NATIVE_LAUNCH_hostname_allocation_H_INCLUDED 42 const std::string &mapfile,
43 std::map<std::string,std::vector<int> >& hostmap);
54 typedef spkt_unordered_map<std::string, node_id>
nodemap_t;
std::set< node_id > ordered_node_set
static std::map< long, std::string > nodenum_to_host_map_
Strategy type for assigning processes to nodes in a parallel run.
virtual ~hostname_allocation()
static nodemap_t hostnamemap_
SUMI = Simulator unified messagine interface It is also the name for a solid ink in Japanese - i...
hostname_allocation(parallel_runtime *rt)
static void read_map_file(parallel_runtime *rt, const char *here, const std::string &mapfile, std::map< std::string, std::vector< int > > &hostmap)
This function reads in a map file for mapping host names to network coordinates.
virtual void init_factory_params(sprockit::sim_parameters *params)
virtual void allocate(int nnode_requested, const ordered_node_set &available, ordered_node_set &allocation) const
Get nodes.
spkt_unordered_map< std::string, node_id > nodemap_t