Loading include/dca/math/random/std_random_wrapper.hpp +4 −1 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ #define DCA_MATH_RANDOM_STD_RANDOM_WRAPPER_HPP #include <cstdint> // for uint64_t #include <iostream> #include <random> #include "dca/math/random/random_utils.hpp" Loading @@ -35,7 +36,9 @@ public: initial_seed_(seed), seed_(detail::generateSeed(global_id_, seed)), engine_(seed_), distro_(0., 1.) {} distro_(0., 1.) { std::cout << "Generated Rng with global id: " << global_id_ << " and seed: " << seed_ << '\n'; } // Make the random number generator object non-copyable, but move-constructible. // The implicit move assignment operator is deleted since with we have non-static const members. Loading include/dca/phys/dca_step/cluster_solver/stdthread_qmci/stdthread_qmci_cluster_solver.hpp +1 −1 Original line number Diff line number Diff line Loading @@ -398,7 +398,7 @@ void StdThreadQmciClusterSolver<QmciSolver>::iterateOverLocalMeasurements( f(meas_id, n_local_meas, print); } else { throw std::runtime_error("Non fixed_meas_per_walker accumulation is suspect and disabled at this time."); throw std::runtime_error("Non fix-meas-per-walker accumulation is suspect and disabled at this time."); // Perform the total number of loop with a shared atomic counter. // for (int meas_id = measurements_done_++; meas_id < n_local_meas; meas_id = measurements_done_++) // f(meas_id, n_local_meas, print); Loading test/integration/cluster_solver/ctint/ctint_square_lattice_tp_test.cpp +3 −0 Original line number Diff line number Diff line Loading @@ -9,6 +9,9 @@ // // No-change test for CT-INT. // Square lattice with single band and double occupancy repulsion U. // This test has been known to hang when exceptions are thrown. #include <iostream> #include <string> Loading test/integration/cluster_solver/ctint/square_lattice_tp_input.json +3 −2 Original line number Diff line number Diff line Loading @@ -60,9 +60,10 @@ "measurements" : 600, "threaded-solver" : { "walkers": 1, "walkers": 3, "accumulators": 3, "shared-walk-and-accumulation-thread": false "shared-walk-and-accumulation-thread": true, "fix-meas-per-walker": true }, "seed" : 0 Loading test/integration/coarsegraining/input_bilayer.json +1 −1 Original line number Diff line number Diff line Loading @@ -41,7 +41,7 @@ "k-mesh-recursion": 3, "periods": 2, "quadrature-rule": 1, "threads": 3 "threads": 1 } } } Loading
include/dca/math/random/std_random_wrapper.hpp +4 −1 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ #define DCA_MATH_RANDOM_STD_RANDOM_WRAPPER_HPP #include <cstdint> // for uint64_t #include <iostream> #include <random> #include "dca/math/random/random_utils.hpp" Loading @@ -35,7 +36,9 @@ public: initial_seed_(seed), seed_(detail::generateSeed(global_id_, seed)), engine_(seed_), distro_(0., 1.) {} distro_(0., 1.) { std::cout << "Generated Rng with global id: " << global_id_ << " and seed: " << seed_ << '\n'; } // Make the random number generator object non-copyable, but move-constructible. // The implicit move assignment operator is deleted since with we have non-static const members. Loading
include/dca/phys/dca_step/cluster_solver/stdthread_qmci/stdthread_qmci_cluster_solver.hpp +1 −1 Original line number Diff line number Diff line Loading @@ -398,7 +398,7 @@ void StdThreadQmciClusterSolver<QmciSolver>::iterateOverLocalMeasurements( f(meas_id, n_local_meas, print); } else { throw std::runtime_error("Non fixed_meas_per_walker accumulation is suspect and disabled at this time."); throw std::runtime_error("Non fix-meas-per-walker accumulation is suspect and disabled at this time."); // Perform the total number of loop with a shared atomic counter. // for (int meas_id = measurements_done_++; meas_id < n_local_meas; meas_id = measurements_done_++) // f(meas_id, n_local_meas, print); Loading
test/integration/cluster_solver/ctint/ctint_square_lattice_tp_test.cpp +3 −0 Original line number Diff line number Diff line Loading @@ -9,6 +9,9 @@ // // No-change test for CT-INT. // Square lattice with single band and double occupancy repulsion U. // This test has been known to hang when exceptions are thrown. #include <iostream> #include <string> Loading
test/integration/cluster_solver/ctint/square_lattice_tp_input.json +3 −2 Original line number Diff line number Diff line Loading @@ -60,9 +60,10 @@ "measurements" : 600, "threaded-solver" : { "walkers": 1, "walkers": 3, "accumulators": 3, "shared-walk-and-accumulation-thread": false "shared-walk-and-accumulation-thread": true, "fix-meas-per-walker": true }, "seed" : 0 Loading
test/integration/coarsegraining/input_bilayer.json +1 −1 Original line number Diff line number Diff line Loading @@ -41,7 +41,7 @@ "k-mesh-recursion": 3, "periods": 2, "quadrature-rule": 1, "threads": 3 "threads": 1 } } }