12 #ifndef SSTMAC_SSTMAC_H_INCLUDED 13 #define SSTMAC_SSTMAC_H_INCLUDED 20 #define PARSE_OPT_SUCCESS 0 21 #define PARSE_OPT_EXIT_SUCCESS 1 22 #define PARSE_OPT_EXIT_FAIL 2 77 parallel_runtime*
init();
90 remap_params(sprockit::sim_parameters* params,
bool verbose =
true);
95 sprockit::sim_parameters* params,
99 try_main(sprockit::sim_parameters* params,
100 int argc,
char **argv,
101 bool params_only =
false);
105 sprockit::sim_parameters* params,
110 sprockit::sim_parameters* params);
void run_params(parallel_runtime *rt, sprockit::sim_parameters *params, sim_stats &stats)
void print_help(int argc, char **argv)
void remap_deprecated_params(sprockit::sim_parameters *params)
void resize_topology(int max_nproc, sprockit::sim_parameters *params, bool verbose=true)
void map_env_params(sprockit::sim_parameters *params)
void init_opts(opts &oo, int argc, char **argv)
parallel_runtime * init()
SUMI = Simulator unified messagine interface It is also the name for a solid ink in Japanese - i...
void finalize(parallel_runtime *rt)
void init_first_run(parallel_runtime *rt, sprockit::sim_parameters *params)
void remap_params(sprockit::sim_parameters *params, bool verbose=true)
int parse_opts(int argc, char **argv, opts &oo)
std::ostream & operator<<(std::ostream &os, const opts &oo)
void run(opts &oo, sstmac::parallel_runtime *rt, sprockit::sim_parameters *params, sim_stats &stats)
void try_main(sprockit::sim_parameters *params, int argc, char **argv, bool params_only=false)
sprockit::sim_parameters * params
void init_params(parallel_runtime *rt, opts &oo, sprockit::sim_parameters *params, bool parallel)