def main(): """ Relaxed Checkpoint Simulator simulates the execution of an application given the job parameters required """ MAX_JOBS = 10 RUNTIME = 50 * HOUR OCI_LIST = [ 1.2 * HOUR, 1.7 * HOUR, 2.1 * HOUR, 2.8 * HOUR, 3.3 * HOUR, 4.7 * HOUR ] BETA_LIST = [ 0.1 * HOUR, 0.2 * HOUR, 0.25 * HOUR, 0.3 * HOUR, 0.35 * HOUR, 0.4 * HOUR ] # Ask for Input print("Relaxed Checkpointing Simulator") print("Configurations. \n 1) Maximum number of jobs:", MAX_JOBS, "\n 2) Total compute time :", RUNTIME, "seconds\n") system = Machine() simulator_properties = SimulatorProperties(RUNTIME) simulator = Simulator(system, simulator_properties) initialize_jobs(system, OCI_LIST, BETA_LIST, MAX_JOBS) simulator.__do_simulation__()