struct CPMDCRankSpread¶
Overview¶
How far the ranks of one calculator were from its rank 0. More…
#includestruct CPMDCRankSpread { // fields int valid; int ranks; double energy_h; double gradient_h_bohr; };
Detailed Documentation¶
How far the ranks of one calculator were from its rank 0.
Written by an evaluation that ran with CPMDC_RANK_CONSENSUS=1 under a running MPI. The differences are taken before every rank receives rank 0’s energy and gradient. A NaN difference is reported as infinity. Both are 0 when every rank held the same values.
Fields¶
int valid
Non-zero when the last evaluation ran the consensus step.
int ranks
Ranks in the calculator communicator.
double energy_h
Largest |E_r - E_0| over the ranks r, Hartree.
double gradient_h_bohr
Largest nuclear-gradient component difference from rank 0, Hartree/Bohr.