SST/macro
dumpi_allocation.h
Go to the documentation of this file.
1 /*
2  * This file is part of SST/macroscale:
3  * The macroscale architecture simulator from the SST suite.
4  * Copyright (c) 2009 Sandia Corporation.
5  * This software is distributed under the BSD License.
6  * Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
7  * the U.S. Government retains certain rights in this software.
8  * For more information, see the LICENSE file in the top
9  * SST/macroscale directory.
10  */
11 
12 
13 #ifndef DUMPIALLOCATION_H
14 #define DUMPIALLOCATION_H
15 
18 
19 namespace sstmac {
20 namespace sw {
21 
23 {
24  public:
26  node_allocator(rt){}
27 
28  virtual void
29  init_factory_params(sprockit::sim_parameters* params);
30 
31  virtual void
32  allocate(int nnode_requested,
33  const ordered_node_set& available,
34  ordered_node_set& allocation) const;
35 
36  virtual
37  ~dumpi_allocation() throw () {
38  }
39 
40  protected:
41  std::string metafile_;
42 
43 
44 };
45 
46 }
47 }
48 
49 
50 #endif // DUMPIALLOCATION_H
51 
dumpi_allocation(parallel_runtime *rt)
std::set< node_id > ordered_node_set
Definition: node_set.h:10
Strategy type for assigning processes to nodes in a parallel run.
SUMI = Simulator unified messagine interface It is also the name for a solid ink in Japanese - i...
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.