28 #ifndef ITERATION_CONTROL_H_
29 #define ITERATION_CONTROL_H_
33 #if ! defined(WITHOUT_DBUS)
45 #if ! defined(WITHOUT_DBUS)
46 std::unique_ptr<DistributedSynthesisIterBot>
it;
55 #if ! defined(WITHOUT_DBUS)
56 it = std::unique_ptr<DistributedSynthesisIterBot>(
58 it->setupIteration(iter_pars);
64 #if ! defined(WITHOUT_DBUS)
72 #if ! defined(WITHOUT_DBUS)
79 #if ! defined(WITHOUT_DBUS)
80 return it->getSubIterBot();
88 #if ! defined(WITHOUT_DBUS)
89 it->endMinorCycle(recs);
95 #if ! defined(WITHOUT_DBUS)
96 it->startMinorCycle(recs);
102 #if ! defined(WITHOUT_DBUS)
103 return it->cleanComplete() > 0;
111 #if ! defined(WITHOUT_DBUS)
112 return it->getIterationSummary();
139 #endif // ITERATION_CONTROL_H_
A 1-D Specialization of the Array class.
static int effective_rank(MPI_Comm comm)
#define MPI_Comm_size(c, sp)
void merge_initialization_records(const casacore::Vector< casacore::Record > &recs)
#define MPI_Comm_rank(c, rp)
std::unique_ptr< DistributedSynthesisIterBot > it
A hierarchical collection of named fields of various types.
void merge_execution_records(const casacore::Vector< casacore::Record > &recs)
static int effective_size(MPI_Comm comm)
casacore::Record get_minor_cycle_controls()
casacore::Record get_summary()
void setup_iteration_controller(MPI_Comm comm, casacore::Record &iter_pars)
void teardown_iteration_controller()