![]() |
QMCPACK
|
Input representation for Driver base class runtime parameters. More...
Public Types | |
using | IndexType = QMCTraits::IndexType |
using | RealType = QMCTraits::RealType |
using | FullPrecisionRealType = QMCTraits::FullPrecRealType |
Protected Attributes | |
bool | scoped_profiling_ = false |
DriverDebugChecks | debug_checks_ = DriverDebugChecks::ALL_OFF |
determine additional checks for debugging purpose More... | |
bool | measure_imbalance_ = false |
measure load imbalance (add a barrier) before data aggregation (obvious synchronization) More... | |
bool | crowd_serialize_walkers_ = false |
All input determined variables should be here They are read only for Drivers Do not write out blocks of gets for variables like this there will be code generation snippets soon in utils More... | |
int | recalculate_properties_period_ = 100 |
period to recalculate the walker properties from scratch. More... | |
input::PeriodStride | config_dump_period_ |
period of recording walker positions and IDs for forward walking afterwards More... | |
IndexType | starting_step_ = 0 |
IndexType | num_crowds_ = 0 |
IndexType | total_walkers_ = 0 |
IndexType | walkers_per_rank_ = 0 |
IndexType | requested_samples_ = 0 |
IndexType | sub_steps_ = 1 |
IndexType | max_blocks_ = 1 |
IndexType | requested_steps_ = 0 |
IndexType | warmup_steps_ = 0 |
RealType | tau_ = 0.1 |
RealType | spin_mass_ = 1.0 |
IndexType | blocks_between_recompute_ = std::is_same<RealType, FullPrecisionRealType>::value ? 0 : 1 |
bool | append_run_ = false |
std::string | qmc_method_ {"invalid"} |
std::string | update_mode_ {"pbyp"} |
std::optional< EstimatorManagerInput > | estimator_manager_input_ |
The EstimatorManagerInput for batched version input. More... | |
input::PeriodStride | walker_dump_period_ {0, 0} |
input::PeriodStride | check_point_period_ {0, 0} |
bool | dump_config_ = false |
IndexType | k_delay_ = 0 |
bool | reset_random_ = false |
RealType | max_disp_sq_ = -1.0 |
std::string | drift_modifier_ {"UNR"} |
RealType | drift_modifier_unr_a_ = 1.0 |
Input representation for Driver base class runtime parameters.
Definition at line 28 of file QMCDriverInput.h.
Definition at line 33 of file QMCDriverInput.h.
using IndexType = QMCTraits::IndexType |
Definition at line 31 of file QMCDriverInput.h.
using RealType = QMCTraits::RealType |
Definition at line 32 of file QMCDriverInput.h.
|
default |
|
default |
|
inlinedefaultnoexcept |
|
inline |
Definition at line 134 of file QMCDriverInput.h.
References QMCDriverInput::scoped_profiling_.
Referenced by QMCDriverNew::initializeQMC().
|
inline |
Definition at line 123 of file QMCDriverInput.h.
References QMCDriverInput::blocks_between_recompute_.
|
inline |
Definition at line 122 of file QMCDriverInput.h.
References QMCDriverInput::spin_mass_.
Referenced by VMCBatched::run(), and DMCBatched::run().
|
inline |
Definition at line 125 of file QMCDriverInput.h.
References QMCDriverInput::walker_dump_period_.
Referenced by QMCDriverNew::recordBlock().
|
inline |
Definition at line 109 of file QMCDriverInput.h.
References QMCDriverInput::recalculate_properties_period_.
|
inline |
Definition at line 132 of file QMCDriverInput.h.
References QMCDriverInput::update_mode_.
Referenced by VMCBatched::advanceWalkers(), and DMCBatched::advanceWalkers().
|
inline |
Definition at line 137 of file QMCDriverInput.h.
Referenced by QMCDriverNew::QMCDriverNew().
|
inline |
Definition at line 138 of file QMCDriverInput.h.
References QMCDriverInput::drift_modifier_.
Referenced by QMCDriverNew::QMCDriverNew().
|
inline |
Definition at line 128 of file QMCDriverInput.h.
References QMCDriverInput::reset_random_.
Referenced by QMCDriverNew::finalize(), and QMCDriverNew::recordBlock().
|
inline |
Definition at line 140 of file QMCDriverInput.h.
References QMCDriverInput::estimator_manager_input_.
Referenced by QMCDriverNew::QMCDriverNew().
|
inline |
Definition at line 126 of file QMCDriverInput.h.
References QMCDriverInput::check_point_period_.
|
inline |
Definition at line 117 of file QMCDriverInput.h.
References QMCDriverInput::max_disp_sq_.
Referenced by VMCBatched::enable_sample_collection(), QMCDriverNew::initializeQMC(), qmcplusplus::operator<<(), VMCBatched::process(), DMCBatched::process(), VMCBatched::run(), and DMCBatched::run().
|
inline |
|
inline |
Definition at line 135 of file QMCDriverInput.h.
References QMCDriverInput::crowd_serialize_walkers_.
Referenced by QMCDriverNew::initializeQMC(), VMCBatched::run(), and DMCBatched::run().
|
inline |
Definition at line 111 of file QMCDriverInput.h.
References QMCDriverInput::starting_step_.
Referenced by QMCDriverNewTestWrapper::process(), VMCBatched::process(), DMCBatched::process(), and QMCFixedSampleLinearOptimizeBatched::processOptXML().
|
inline |
Definition at line 130 of file QMCDriverInput.h.
Referenced by qmcplusplus::TEST_CASE().
|
inline |
Definition at line 108 of file QMCDriverInput.h.
Referenced by VMCBatched::run(), and DMCBatched::run().
|
inline |
Definition at line 114 of file QMCDriverInput.h.
References QMCDriverInput::total_walkers_.
Referenced by VMCBatched::process(), and DMCBatched::process().
|
inline |
Definition at line 118 of file QMCDriverInput.h.
References QMCDriverInput::max_blocks_.
Referenced by QMCDriverNew::initializeQMC(), VMCBatched::process(), and DMCBatched::process().
|
inline |
|
inline |
Definition at line 133 of file QMCDriverInput.h.
References QMCDriverInput::debug_checks_.
|
inline |
Definition at line 121 of file QMCDriverInput.h.
References QMCDriverInput::tau_.
Referenced by VMCBatched::advanceWalkers(), and DMCBatched::advanceWalkers().
|
inline |
Definition at line 110 of file QMCDriverInput.h.
References QMCDriverInput::config_dump_period_.
|
inline |
Definition at line 115 of file QMCDriverInput.h.
References QMCDriverInput::requested_samples_.
Referenced by VMCBatched::advanceWalkers(), and qmcplusplus::operator<<().
|
inline |
Definition at line 120 of file QMCDriverInput.h.
References QMCDriverInput::warmup_steps_.
Referenced by VMCBatched::advanceWalkers(), DMCBatched::advanceWalkers(), qmcplusplus::operator<<(), DMCBatched::process(), VMCBatched::run(), and DMCBatched::setNonLocalMoveHandler().
|
inline |
Definition at line 113 of file QMCDriverInput.h.
References QMCDriverInput::walkers_per_rank_.
Referenced by QMCDriverNewTestWrapper::process(), VMCBatched::process(), DMCBatched::process(), and QMCFixedSampleLinearOptimizeBatched::processOptXML().
|
inline |
|
inline |
|
inline |
Definition at line 112 of file QMCDriverInput.h.
References QMCDriverInput::num_crowds_.
Referenced by QMCDriverNewTestWrapper::process(), VMCBatched::process(), DMCBatched::process(), and QMCFixedSampleLinearOptimizeBatched::processOptXML().
|
inline |
Definition at line 119 of file QMCDriverInput.h.
References QMCDriverInput::requested_steps_.
Referenced by VMCBatched::run().
|
default |
|
inlinedefaultnoexcept |
void readXML | ( | xmlNodePtr | cur | ) |
Reads qmc section xml node parameters.
All shared parameters are read here attribute list
Definition at line 34 of file QMCDriverInput.cpp.
References OhmmsAttributeSet::add(), ParameterSet::add(), qmcplusplus::ALL_OFF, qmcplusplus::app_summary(), QMCDriverInput::blocks_between_recompute_, castXMLCharToChar(), QMCDriverInput::check_point_period_, qmcplusplus::CHECKGL_AFTER_LOAD, qmcplusplus::CHECKGL_AFTER_MOVES, qmcplusplus::CHECKGL_AFTER_TMOVE, QMCDriverInput::config_dump_period_, QMCDriverInput::crowd_serialize_walkers_, QMCDriverInput::debug_checks_, QMCDriverInput::drift_modifier_, QMCDriverInput::drift_modifier_unr_a_, QMCDriverInput::dump_config_, QMCDriverInput::estimator_manager_input_, QMCDriverInput::k_delay_, qmcplusplus::lowerCase(), QMCDriverInput::max_blocks_, QMCDriverInput::max_disp_sq_, QMCDriverInput::measure_imbalance_, QMCDriverInput::num_crowds_, ParameterSet::put(), OhmmsAttributeSet::put(), QMCDriverInput::qmc_method_, QMCDriverInput::recalculate_properties_period_, QMCDriverInput::requested_samples_, QMCDriverInput::requested_steps_, QMCDriverInput::reset_random_, QMCDriverInput::scoped_profiling_, QMCDriverInput::spin_mass_, QMCDriverInput::starting_step_, QMCDriverInput::sub_steps_, QMCDriverInput::tau_, QMCDriverInput::total_walkers_, UNSUPPORTED, QMCDriverInput::update_mode_, QMCDriverInput::walker_dump_period_, QMCDriverInput::walkers_per_rank_, and QMCDriverInput::warmup_steps_.
Referenced by DMCFactoryNew::create(), VMCFactoryNew::create(), SetupDMCTest::operator()(), QMCFixedSampleLinearOptimizeBatched::processOptXML(), qmcplusplus::QMCWFOptLinearFactoryNew(), qmcplusplus::TEST_CASE(), and VMCBatchedTest::testCalcDefaultLocalWalkers().
|
protected |
Definition at line 81 of file QMCDriverInput.h.
Referenced by QMCDriverInput::get_walker_dump_period().
|
protected |
Definition at line 80 of file QMCDriverInput.h.
Referenced by QMCDriverInput::get_append_run(), and QMCDriverInput::readXML().
|
protected |
Definition at line 93 of file QMCDriverInput.h.
Referenced by QMCDriverInput::get_k_delay(), and QMCDriverInput::readXML().
|
protected |
period of recording walker positions and IDs for forward walking afterwards
Definition at line 64 of file QMCDriverInput.h.
Referenced by QMCDriverInput::get_starting_step(), and QMCDriverInput::readXML().
|
protected |
All input determined variables should be here They are read only for Drivers Do not write out blocks of gets for variables like this there will be code generation snippets soon in utils
if true, batched operations are serialized over walkers
Definition at line 60 of file QMCDriverInput.h.
Referenced by QMCDriverInput::get_measure_imbalance(), and QMCDriverInput::readXML().
|
protected |
determine additional checks for debugging purpose
Definition at line 47 of file QMCDriverInput.h.
Referenced by QMCDriverInput::get_scoped_profiling(), and QMCDriverInput::readXML().
|
protected |
Definition at line 102 of file QMCDriverInput.h.
Referenced by QMCDriverInput::get_drift_modifier_unr_a(), and QMCDriverInput::readXML().
|
protected |
Definition at line 103 of file QMCDriverInput.h.
Referenced by QMCDriverInput::readXML().
|
protected |
Definition at line 94 of file QMCDriverInput.h.
Referenced by QMCDriverInput::readXML().
|
protected |
The EstimatorManagerInput for batched version input.
Definition at line 89 of file QMCDriverInput.h.
Referenced by QMCDriverInput::get_estimator_manager_input(), and QMCDriverInput::readXML().
|
protected |
Definition at line 95 of file QMCDriverInput.h.
Referenced by QMCDriverInput::get_reset_random(), and QMCDriverInput::readXML().
|
protected |
Definition at line 73 of file QMCDriverInput.h.
Referenced by QMCDriverInput::get_requested_steps(), and QMCDriverInput::readXML().
|
protected |
Definition at line 99 of file QMCDriverInput.h.
Referenced by QMCDriverInput::get_max_blocks(), and QMCDriverInput::readXML().
|
protected |
measure load imbalance (add a barrier) before data aggregation (obvious synchronization)
Definition at line 49 of file QMCDriverInput.h.
Referenced by QMCDriverInput::readXML().
|
protected |
Definition at line 66 of file QMCDriverInput.h.
Referenced by QMCDriverInput::get_walkers_per_rank(), and QMCDriverInput::readXML().
|
protected |
Definition at line 84 of file QMCDriverInput.h.
Referenced by QMCDriverInput::get_update_mode(), and QMCDriverInput::readXML().
|
protected |
period to recalculate the walker properties from scratch.
Definition at line 62 of file QMCDriverInput.h.
Referenced by QMCDriverInput::get_config_dump_period(), and QMCDriverInput::readXML().
|
protected |
Definition at line 70 of file QMCDriverInput.h.
Referenced by QMCDriverInput::get_sub_steps(), and QMCDriverInput::readXML().
|
protected |
Definition at line 75 of file QMCDriverInput.h.
Referenced by QMCDriverInput::get_warmup_steps(), and QMCDriverInput::readXML().
|
protected |
Definition at line 96 of file QMCDriverInput.h.
Referenced by QMCDriverInput::get_dump_config(), and QMCDriverInput::readXML().
|
protected |
Definition at line 45 of file QMCDriverInput.h.
Referenced by QMCDriverInput::areWalkersSerialized(), and QMCDriverInput::readXML().
|
protected |
Definition at line 78 of file QMCDriverInput.h.
Referenced by QMCDriverInput::get_blocks_between_recompute(), and QMCDriverInput::readXML().
|
protected |
Definition at line 65 of file QMCDriverInput.h.
Referenced by QMCDriverInput::get_num_crowds(), and QMCDriverInput::readXML().
|
protected |
Definition at line 71 of file QMCDriverInput.h.
Referenced by QMCDriverInput::get_max_disp_sq(), and QMCDriverInput::readXML().
|
protected |
Definition at line 77 of file QMCDriverInput.h.
Referenced by QMCDriverInput::get_spin_mass(), and QMCDriverInput::readXML().
|
protected |
Definition at line 68 of file QMCDriverInput.h.
Referenced by QMCDriverInput::get_requested_samples(), and QMCDriverInput::readXML().
|
protected |
Definition at line 85 of file QMCDriverInput.h.
Referenced by QMCDriverInput::get_debug_checks(), and QMCDriverInput::readXML().
|
protected |
Definition at line 92 of file QMCDriverInput.h.
Referenced by QMCDriverInput::get_check_point_period(), and QMCDriverInput::readXML().
|
protected |
Definition at line 69 of file QMCDriverInput.h.
Referenced by QMCDriverInput::get_total_walkers(), and QMCDriverInput::readXML().
|
protected |
Definition at line 76 of file QMCDriverInput.h.
Referenced by QMCDriverInput::get_tau(), and QMCDriverInput::readXML().