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
Describe the bug
When beta determinants are absent / only up electrons, the multideterminant code is broken. QMCPACK will request removing particle set for beta electrons with size 0, but multideterminant will require and sposet down. An sposet down with size 0 will force qmcpack to exit asking to remove particleset with 0 particle.
Expected behavior
Code will fail if particle set with down electron specified with size 0;
Fatal Error. Aborting at ParticleSet::resetGroups() Failed. ParticleSet 'e' has group 'd' containing 0 particles. Remove this group from input!
When commented out from Li-quadruplet-MD.structure.xml
Norm of ci vector (sum of ci^2): 1
Found 40 unique up determinants.
Found 1 unique down determinants.
Number of terms in pairs array: 39
Fatal Error. Aborting at Error in SlaterDetBuilder::createMSDFast, problems with ci configuration list.
Abort(1) on node 0 (rank 0 in comm 0): application called MPI_Abort(MPI_COMM_WORLD, 1) - process 0
System:
all
The text was updated successfully, but these errors were encountered:
prckent
changed the title
Multideterminant with only alpha determinants (no down electrons)
Multideterminant code fails with only alpha determinants (no down electrons)
Sep 11, 2020
For reference, I have a hacked version of qmcpack that works for this. Essentially, every variable that is hardcoded as X_up and X_dn I have generalized to be a vector called Xs and depends on the number of groups in the electron particleset. Since this part of the code is being redesigned in the future, in case anyone needs this working for a particular problem feel free to contact me for the hacked code
Describe the bug
When beta determinants are absent / only up electrons, the multideterminant code is broken. QMCPACK will request removing particle set for beta electrons with size 0, but multideterminant will require and sposet down. An sposet down with size 0 will force qmcpack to exit asking to remove particleset with 0 particle.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Code will fail if particle set with down electron specified with size 0;
When commented out from Li-quadruplet-MD.structure.xml
System:
all
The text was updated successfully, but these errors were encountered: