-
Notifications
You must be signed in to change notification settings - Fork 22
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
Implemented the ECP part and added several missing factors in the TREXIO interface. #68
Conversation
It seems that Perhaps, since @sunqm wrote the assert statement and knows the details of libcint, he can provide you with more guidance. |
@matthew-hennefarth, thank you very much. I will wait for @sunqm's reply. |
I found that |
I am not sure how to turn it off, sorry. From the discussion you linked it seems like the best bet would be to just manually expand the contraction set. |
Dear @matthew-hennefarth, Sure. Thank you! Anyway, this is nothing with the ECP part. Dear @matthew-hennefarth and @sunqm, I have completed implementing a function to write the ECP part to a |
@sunqm, I have resolved a trivial conflict. |
Dear @sunqm, Thank you for running the workflows. One of the workflows failed at the part unrelated to this pull request. |
@kousuke-nakano are you done with this PR? I left one comment about the UHF case, let me know if you prefer to fix it here or if you prefer me to do it in another PR. It should not be too complicated, just a question of extracting the number of alpha and beta electrons from the UHF object. |
@kousuke-nakano yes, but on line 63 in electron_up_num, electron_dn_num = mol.nelec which is not true for UHF. The original code of @sunqm was not producing the number of electrons. |
The electron number writing can be probably moved to |
Dear @q-posev,
The following code gives the correct numbers of up and down electrons.
|
@kousuke-nakano you are totally right, my bad! Please ignore my comments above. |
@matthew-hennefarth
Sorry for my late response. Today, I have implemented lines to write ECP information to a TREXIO file. Please have a look at my pull request.
The ECP part works. However, a problem I found is that the
cc-pVXZ
basis sets accompanied withccECP
, which are often used for QMC calculations, did not pass the following assertion line intrexio.py
.Would you give me a clue for solving this problem?
#60