-
Notifications
You must be signed in to change notification settings - Fork 525
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
lmp in 2.1.3 make unrecognized pair error #1809
Comments
Please activate the environment first: conda activate /path/to/deepmd-kit ( By activating the conda environment, several environment variables can be set correctly. |
it helps nothing, I did activate the environment, otherwise how could I use "lmp -h", it doesn't show deepmd pair_style |
Currently, |
I have activated the environment but I still get the error message: "ERROR: Unrecognized pair style 'deepmd' (src/force.cpp:271)" Do you have any suggestions? |
@hyuqing11 If it was installed from conda-forge or the offline package released recently, the problem has been resolved in conda-forge/deepmd-kit-feedstock#63. During the activation process, the environment variable export LAMMPS_PLUGIN_PATH=$CONDA_PREFIX/lib/deepmd_lmp |
Thank you for your help. However, I encountered an issue after setting the LAMMPS_PLUGIN_PATH. The error message I received is as follows: "Open of file /test_env4/lib/deepmd_lmp/dpplugin.so failed: libabsl_status.so.2301.0.0: cannot open shared object file: No such file or directory." Do you have any suggestions? |
I have encounter the same kind of problem today. After installation, a temporary patch can be done with cd $CONDA_PREFIX/lib
patchelf --add-rpath '$ORIGIN/..' deepmd_lmp/dpplugin.so
patchelf --add-needed liblammps.so deepmd_lmp/dpplugin.so My deepmd-kit version and build is
|
Do you use |
Hi @chazeon, I used the following command to set up an environment:
and used this command to run the task:
It worked fine. |
@njzjz @Yi-FanLi It's my fault. I spotted the missing |
Bug summary
I try to continue training model (from deepmd-kit 2.1.1, dpgen 0.10.5), using newly released 2.1.3. (offline package deepmd-kit-2.1.3-cuda10.2_gpu-Linux-x86_64.sh )
dpgen process failed to run, (task 4) with [unrecognized pair style] error in lmp log file.
DeePMD-kit Version
2.1.3
TensorFlow Version
How did you download the software?
Offline packages
Input Files, Running Commands, Error Log, etc.
dpgen 0.10.5
call lmp by
"model_devi":[ "command": "/DeepMD-kit-location/deepmd-kit-2.1.1-cu10.2/bin/lmp"
in machine json file.
Steps to Reproduce
Further Information, Files, and Links
No response
The text was updated successfully, but these errors were encountered: