-
Notifications
You must be signed in to change notification settings - Fork 134
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
Questions about the use of DeePKS #5434
Comments
@WHUweiqingzhou Any comments? I do think a hands-on tutorial for deepks-abacus installation along with deepks notebook is needed |
Second it. We will consider this. |
@yycx1111 It seems there are issues with matching deepks-kit with the newest pyscf version. You can use deepks-kit with ABACUS instead. Here's a way to use ABACUS+deepks in conda environment:
|
Thank you for your reply. But I have been experiencing problems with network connections or failing to connect to the site when creating the environment, and I still have problems with connection errors even after switching to the Tsinghua source. Do you have any suggestions on how to create an environment? |
This looks like a problem with your network setup. Maybe you should check things like your network environment and proxy settings. |
After running conda install pytorch cudatoolkit=10.2 -c pytorch # cpu version, I encountered the following problems. Any suggestions for the pytorch install command for CPU version?
LibMambaUnsatisfiableError: Encountered problems while solving:
Could not solve for environment specs |
Ahh, I’ve made a mistake. For cpu version, try
|
Details
I have installed deepks and abacus on my local machine. I met some problems with package and function versions in the case of running a single water molecule in deepks. Here are a few of my questions, since I didn't get feedback for asking questions in the deepks community. I ask the same questions in abacus.
What version of pyscf is compatible with deepks? What can be done about the following problems?
/deepks-kit/examples/water_single/iter/iter.init/00.scf/task.trn.00/err:
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/home/ps/miniconda3/envs/deepks/lib/python3.12/site-packages/deepks/scf/run.py", line 6, in
from pyscf import gto, lib
ModuleNotFoundError: No module named 'pyscf'
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/home/ps/miniconda3/envs/deepks/lib/python3.12/site-packages/deepks/scf/run.py", line 6, in
from pyscf import gto, lib
ModuleNotFoundError: No module named 'pyscf'
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/home/ps/miniconda3/envs/deepks/lib/python3.12/site-packages/deepks/scf/run.py", line 6, in
from pyscf import gto, lib
ModuleNotFoundError: No module named 'pyscf'
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/home/ps/miniconda3/envs/deepks/lib/python3.12/site-packages/deepks/scf/run.py", line 6, in
from pyscf import gto, lib
ModuleNotFoundError: No module named 'pyscf'
systems/group.00 failed! error: PenaltyMixin.get_fock() got an unexpected keyword argument 'fock_last'
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/home/ps/miniconda3/envs/deepks/lib/python3.12/site-packages/deepks/scf/run.py", line 268, in
cli()
File "/home/ps/miniconda3/envs/deepks/lib/python3.12/site-packages/deepks/main.py", line 174, in scf_cli
main(**argdict)
File "/home/ps/miniconda3/envs/deepks/lib/python3.12/site-packages/deepks/scf/run.py", line 236, in main
meta, result = solve_mol(mol, model, fields, labels,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ps/miniconda3/envs/deepks/lib/python3.12/site-packages/deepks/scf/run.py", line 52, in solve_mol
cf.kernel()
File "", line 2, in kernel
File "/home/ps/miniconda3/envs/deepks/lib/python3.12/site-packages/pyscf/scf/hf.py", line 2000, in scf
kernel(self, self.conv_tol, self.conv_tol_grad,
File "/home/ps/miniconda3/envs/deepks/lib/python3.12/site-packages/pyscf/scf/hf.py", line 175, in kernel
fock = mf.get_fock(h1e, s1e, vhf, dm, cycle, mf_diis, fock_last=fock_last)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: PenaltyMixin.get_fock() got an unexpected keyword argument 'fock_last'
systems/group.00 failed! error: PenaltyMixin.get_fock() got an unexpected keyword argument 'fock_last'
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/home/ps/miniconda3/envs/deepks/lib/python3.12/site-packages/deepks/scf/run.py", line 268, in
cli()
File "/home/ps/miniconda3/envs/deepks/lib/python3.12/site-packages/deepks/main.py", line 174, in scf_cli
main(**argdict)
File "/home/ps/miniconda3/envs/deepks/lib/python3.12/site-packages/deepks/scf/run.py", line 236, in main
meta, result = solve_mol(mol, model, fields, labels,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ps/miniconda3/envs/deepks/lib/python3.12/site-packages/deepks/scf/run.py", line 52, in solve_mol
cf.kernel()
File "", line 2, in kernel
File "/home/ps/miniconda3/envs/deepks/lib/python3.12/site-packages/pyscf/scf/hf.py", line 2000, in scf
kernel(self, self.conv_tol, self.conv_tol_grad,
File "/home/ps/miniconda3/envs/deepks/lib/python3.12/site-packages/pyscf/scf/hf.py", line 175, in kernel
fock = mf.get_fock(h1e, s1e, vhf, dm, cycle, mf_diis, fock_last=fock_last)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: PenaltyMixin.get_fock() got an unexpected keyword argument 'fock_last'
systems/group.00 failed! error: PenaltyMixin.get_fock() got an unexpected keyword argument 'fock_last'
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/home/ps/miniconda3/envs/deepks/lib/python3.12/site-packages/deepks/scf/run.py", line 268, in
cli()
File "/home/ps/miniconda3/envs/deepks/lib/python3.12/site-packages/deepks/main.py", line 174, in scf_cli
main(**argdict)
File "/home/ps/miniconda3/envs/deepks/lib/python3.12/site-packages/deepks/scf/run.py", line 236, in main
meta, result = solve_mol(mol, model, fields, labels,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ps/miniconda3/envs/deepks/lib/python3.12/site-packages/deepks/scf/run.py", line 52, in solve_mol
cf.kernel()
File "", line 2, in kernel
File "/home/ps/miniconda3/envs/deepks/lib/python3.12/site-packages/pyscf/scf/hf.py", line 2000, in scf
kernel(self, self.conv_tol, self.conv_tol_grad,
File "/home/ps/miniconda3/envs/deepks/lib/python3.12/site-packages/pyscf/scf/hf.py", line 175, in kernel
fock = mf.get_fock(h1e, s1e, vhf, dm, cycle, mf_diis, fock_last=fock_last)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: PenaltyMixin.get_fock() got an unexpected keyword argument 'fock_last'
Is deepks still being updated? Cause I've encountered some problems that suggest that the function or package used is old and may no longer work.
Is there a container image with deepks readily available on the Bohrium platform?
Have you read FAQ on the online manual http://abacus.deepmodeling.com/en/latest/community/faq.html
Task list for Issue attackers (only for developers)
The text was updated successfully, but these errors were encountered: