-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update sposet input style for testset. #4730
Conversation
@@ -496,6 +496,8 @@ | |||
1.25722600000000e+00 0.00000000000000e+00 0.00000000000000e+00 0.00000000000000e+00 | |||
</coefficient> | |||
</sposet> | |||
</sposet_builder> | |||
<determinantset> | |||
<slaterdeterminant> | |||
<determinant id="det_up" sposet="spo-up" size="5"/> | |||
<determinant id="det_down" sposet="spo-dn" size="4"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove id
, group
and size
in determinant
. Also replace sposet_builder
with sposet_collection
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wondering if we catch the case where the user specifies a particleset and a determinant with different sizes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
determinant size is derived from particleset. size
in the old input was for constructing sposet only.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, but we should catch inconsistencies in the input. Do we read size anymore? Ideally we would warn the user about unneeded/unused inputs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(Not something to fix here)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Once we disallow(warning->error) users creating sposet in determinants. I will issue a warning about all the outdated input.
</slaterdeterminant> | ||
</determinantset> | ||
</determinantset> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove trailing white spaces.
</coefficient> | ||
</determinant> | ||
<determinant id="downdet" size="8"> | ||
</coefficient> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems that a tab was introduced.
</determinant> | ||
<determinant id="downdet" size="2"> | ||
</sposet> | ||
<sposet name="spo-dn" size="2"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Strange indents
tests/estimator/sofk/pbyp_dat-h5.xml
Outdated
</slaterdeterminant> | ||
</determinantset> | ||
</determinantset> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
trailing white space.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I ran all the tests with a modest timeout. After filtering for timed out runs, the list of failures is given below.
The inputs for short-H2-orb-opt-16-1
, short-H4-cjs-16-1
, and short-H4-orb-opt-dmc-16-1
are broken with parser errors.
grep "^[0-9].* Test #.*.\*" ctest.out |grep -v Timeout|grep -v -- -time
1478/2601 Test #571: short-LiH_ae-vmc_hf_noj_estimator_energydensity_voronoi-4-4 ..............................................***Failed Required regular expression not found. Regex=[QMCPACK execution completed successfully
1479/2601 Test #573: long-LiH_ae-vmc_hf_noj_estimator_energydensity_voronoi-4-4 ...............................................***Failed Required regular expression not found. Regex=[QMCPACK execution completed successfully
1494/2601 Test #683: short-LiH_pp-vmc_hf_sdj_estimator_spindensity-4-4 ........................................................***Failed Required regular expression not found. Regex=[QMCPACK execution completed successfully
1495/2601 Test #685: long-LiH_pp-vmc_hf_sdj_estimator_spindensity-4-4 .........................................................***Failed Required regular expression not found. Regex=[QMCPACK execution completed successfully
1497/2601 Test #691: short-H2-orb-opt-16-1 ....................................................................................***Failed Error regular expression found in output. Regex=[ERROR] 0.91 sec
1507/2601 Test #711: short-H4-orb-opt-dmc-16-1 ................................................................................***Failed Error regular expression found in output. Regex=[ERROR] 5.76 sec
1509/2601 Test #715: short-H4-cjs-16-1 ........................................................................................***Failed Error regular expression found in output. Regex=[ERROR] 0.78 sec
1907/2601 Test #594: long-O_ae_uhf_pyscf-vmc_hf_noj-1-16-samples ..............................................................***Failed 0.04 sec
1926/2601 Test #619: short-LiH_pp-vmc_hf_sdj_xml-16-1-totenergy ...............................................................***Failed 0.05 sec
1936/2601 Test #574: long-LiH_ae-vmc_hf_noj_estimator_energydensity_voronoi-4-4-check .........................................***Failed 0.24 sec
1945/2601 Test #572: short-LiH_ae-vmc_hf_noj_estimator_energydensity_voronoi-4-4-check ........................................***Failed 0.28 sec
1960/2601 Test #692: short-H2-orb-opt-16-1-totenergy ..........................................................................***Failed 0.04 sec
1967/2601 Test #712: short-H4-orb-opt-dmc-16-1-totenergy ......................................................................***Failed 0.05 sec
1970/2601 Test #706: short-H4-RHF-orb-opt-16-1-totenergy ......................................................................***Failed 0.07 sec
1972/2601 Test #716: short-H4-cjs-16-1-totenergy ..............................................................................***Failed 0.05 sec
1973/2601 Test #710: short-H4-orb-opt-1-16-totenergy ..........................................................................***Failed 0.07 sec
1976/2601 Test #722: short-H4-target-descent-16-1-totenergy ...................................................................***Failed 0.05 sec
1979/2601 Test #730: short-H4-batched-hybrid-16-1-totenergy ...................................................................***Failed 0.04 sec
1980/2601 Test #732: short-H4-batched-hybrid-1-16-totenergy ...................................................................***Failed 0.05 sec
1984/2601 Test #686: long-LiH_pp-vmc_hf_sdj_estimator_spindensity-4-4-check ...................................................***Failed 0.17 sec
1992/2601 Test #749: short-H4-msd-orb-opt-16-1-totenergy ......................................................................***Failed 0.07 sec
1995/2601 Test #684: short-LiH_pp-vmc_hf_sdj_estimator_spindensity-4-4-check ..................................................***Failed 0.22 sec
1996/2601 Test #688: short-LiH_pp-vmc_hf_sdj_estimator_energydensity_voronoi-4-4-check ........................................***Failed 0.22 sec
2020/2601 Test #690: long-LiH_pp-vmc_hf_sdj_estimator_energydensity_voronoi-4-4-check .........................................***Failed 0.33 sec
2043/2601 Test #852: short-LiH_ae-vmc_msdj_optCI-1-16-variance ................................................................***Failed 0.06 sec
Thanks Hyeondeok. Fixed the obvious parse errors:
The orb-opt-dmc test fails with a bad DMC run. Unfortunately that is "normal" and consistent with before. |
Test this please |
@prckent Yes, I'm getting same failure with older input style. It seems need to be revisited later. I'll take a look more when I work for remaining style update. |
Proposed changes
The most of input styles in testsets are currently using older template which generates
sposet
insidedeterminantset
.This PR is to update its style since older one will be deprecated in the future.
Still some tests using older input styple exist (eg. periodic LCAO, converter, etc.), but the updates for those will be followed up.
What type(s) of changes does this code introduce?
Does this introduce a breaking change?
What systems has this change been tested on?
Workstation
Checklist
Update the following with a yes where the items apply. If you're unsure about any of them, don't hesitate to ask. This is
simply a reminder of what we are going to look for before merging your code.