You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
std::cout << "We're done with thermalization." << std::endl << "The number of segments for sliding window update is " << sliding_window.get_n_window() << "." << std::endl << std::endl;
550
557
}
551
558
552
559
//N_meas
553
560
constint N_meas_min = std::max(10, 4*sliding_window.get_n_window());//a sweep of the window takes 4*get_n_window()
554
561
if (N_meas<N_meas_min) {
555
562
N_meas = N_meas_min;
556
-
if (comm.rank()==0) {
563
+
if (global_mpi_rank==0) {
557
564
std::cout << "Warning N_MEAS is too small: using N_MEAS = " << N_meas << " instead." << std::endl;
if ((current_time-time_last_output).total_seconds()>min_output_interval) {
47
+
std::cout << "Checking if the simulation is finished: " << std::min(static_cast<int>(local_fraction*100),100) << "% of Monte Carlo steps done." << std::endl;
0 commit comments