#ifndef OPTIONS_H
#define OPTIONS_H
+#include <string>
#include "cost_func.h"
// Global parameters, shared by all the processes
namespace opt {
- extern const char* program_name;
+ extern std::string program_name;
- extern const char* platform_file;
- extern const char* application_file;
+ extern std::string platform_file;
+ extern std::string deployment_file;
extern int help_requested;
extern bool version_requested;
+ extern unsigned log_rate;
+
+ namespace auto_depl {
+ extern bool enabled;
+ extern std::string topology;
+ extern unsigned nhosts;
+ extern double load;
+ }
+
+ extern std::string topology;
+ extern double init_load;
+
extern unsigned maxiter;
extern bool exit_on_close;
extern bool bookkeeping;
extern cost_func comp_cost;
+ extern cost_func comm_cost;
int parse_args(int* argc, char* argv[]);
void print();