Closed kkly1995 closed 2 years ago
Could you please provide the nep.txt or just the the first few lines if it's not convenient to upload?
This is an expected error. PyNEP
was developed for GPUMD-v3.3
and later versions. The nep.txt
file format has been changed from GPUMD-v3.2
to GPUMD-v3.3
. There are two ways to fix:
nep.txt
file generated by GPUMD-v3.2
and change the first few lines tonep3 2 H O
cutoff 4.3 3
n_max 8 6
basis_size 8 8
l_max 4 0 0
nep.txt
file consistent with the cahnges above.A side note: a radial cutoff of 4.3 A might be too small for water and I would try 5.5 A. I would also try a larger angular cutoff such as 3.5 A.
Thank you, the basis_size
line was indeed the missing link. I will update GPUMD
on this machine. I will also try the larger cutoff, thank you for the suggestion.
You are welcome. Just to remind that there is also a change in the line starting with l_max
, which requires 3 parameters in GPUMD-v3.3 and later but only 2 in GPUMD-v3.2.
When attempting to load an ASE calculator for a particular water model, I get the following error:
The model was constructed with GPUMD 3.2, here is a snippet of how
nep.in
was parsed:To be sure, the calculator works for some other models, e.g. the PbTe example model in
GPUMD/examples/nep_potentials/PbTe/train
. I'm not sure what the difference is with this new model that I have?