Pakman
common.h File Reference
#include <string>
#include <chrono>
Include dependency graph for common.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  master_t { no_master, serial, mpi }
 
enum  controller_t { no_controller, sweep, rejection, smc }
 

Variables

std::chrono::milliseconds g_main_timeout
 
std::chrono::milliseconds g_kill_timeout
 
bool g_force_host_spawn
 
bool g_ignore_errors
 
bool g_discard_child_stderr
 
bool g_program_terminated
 
const char * g_program_name
 
std::string g_output_file
 

Detailed Description

Global variables and enumeration types.

Definition in file common.h.

Enumeration Type Documentation

◆ controller_t

Enumeration type for controller type.

Definition at line 45 of file common.h.

◆ master_t

enum master_t

Enumeration type for master type.

Definition at line 37 of file common.h.

Variable Documentation

◆ g_discard_child_stderr

bool g_discard_child_stderr

Global flag for discarding standard error from all child processes.

Definition at line 30 of file main.cc.

◆ g_force_host_spawn

bool g_force_host_spawn

Global flag for forcing MPI Worker to spawn on same host as its Manager.

Definition at line 29 of file main.cc.

◆ g_ignore_errors

bool g_ignore_errors

Global flag for ignoring errors from simulator.

Definition at line 28 of file main.cc.

◆ g_kill_timeout

std::chrono::milliseconds g_kill_timeout

Timeout duration between sending SIGTERM and SIGKILL signals.

◆ g_main_timeout

std::chrono::milliseconds g_main_timeout

Timeout duration in event loop.

◆ g_output_file

std::string g_output_file

Global variable containing name of output file if given.

Definition at line 34 of file main.cc.

◆ g_program_name

const char* g_program_name

Global variable containing name of program.

Definition at line 22 of file main.cc.

◆ g_program_terminated

bool g_program_terminated

Global flag to indicate that program has been terminated.

Definition at line 32 of file main.cc.