ALPS Home Libraries License Support People ALPS Web Site

PrevUpHomeNext

Class MasterScheduler

alps::scheduler::MasterScheduler

Synopsis

// In header: <alps/scheduler/scheduler.h>


class MasterScheduler : public alps::scheduler::Scheduler {
public:

  enum TaskStatusFlag { TaskNotExisting = = 0, TaskNotStarted = = 1, 
                        TaskRunning = = 2, TaskHalted = = 3, 
                        TaskFromDump = = 4, TaskFinished = = 5 };
  // construct/copy/destruct
  MasterScheduler(const Options &, const Factory &);
  MasterScheduler(const NoJobfileOptions &, const Factory &);
  ~MasterScheduler();

  // public member functions
  virtual void set_new_jobfile(const boost::filesystem::path &);

  // protected member functions
  void remake_task(ProcessList &, const int);
  void finish_task(int);
  virtual void checkpoint();

  // private member functions
  void parse_job_file(const boost::filesystem::path &);
};

Description

MasterScheduler public construct/copy/destruct

  1. MasterScheduler(const Options &, const Factory &);
  2. MasterScheduler(const NoJobfileOptions &, const Factory &);
  3. ~MasterScheduler();

MasterScheduler public member functions

  1. virtual void set_new_jobfile(const boost::filesystem::path & jobilename);

MasterScheduler protected member functions

  1. void remake_task(ProcessList &, const int);
  2. void finish_task(int);
  3. virtual void checkpoint();

MasterScheduler private member functions

  1. void parse_job_file(const boost::filesystem::path &);
Copyright © 1994, 2002-2005 Matthias Troyer, Synge Todo

PrevUpHomeNext