-
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
Unrecognized pair style 'deepmd' is part of the USER-DEEPMD package which is not enabled in this LAMMPS binary #3041
Comments
I am having the same issue after following the instructions in the official tutorial for building lammps (version 21Nov2023) with cmake. |
Please provide the detailed command that you executed. |
run 'lmp -i input.lammps' shows 'lmp -h' shows the following, deepmd does NOT show up Bond styles: However, Installation does indicate deepmd-kit is successfully compiled I have seen other users have reported similar issue, but I believe mine is different from them. if I use 'ldd lmp' to find which so files are linked, linux-vdso.so.1 (0x00007ffd83db3000) |
As seen above, both libdeepmd_c.so and libdeepmd_cc.so are correctly linked. |
By following this instruction, it works fine though. But using cmake, it does not work out. 1.4.1.1. With make cd lammps-stable_2Aug2023_update1/src/ |
Close, as no more information is given to reproduce the issue. |
Summary
I have followed the official tutorial to install the C++ interface of deepmd-kit, created the USER-DEEPMD folder, and copied it to the lammps/src folder for compilation and installation. However, I still encounter errors when running the LAMMPS
DeePMD-kit Version
2.2.7
TensorFlow Version
TensorFlow-cpu 2.15.0
Python Version, CUDA Version, GCC Version, LAMMPS Version, etc
Python 3.10 no duda GCC 9.3.0 lammps 2Aug2023
Details
log.lammps
LAMMPS (2 Aug 2023 - Update 1)
gas phase methane
units metal
boundary p p p
atom_style atomic
neighbor 1.0 bin
neigh_modify every 10 delay 0 check no
read_data conf.lmp
Reading data file ...
triclinic box = (0 0 0) to (10.114259 10.263124 10.216793) with tilt (0.036749877 0.13833062 -0.056322169)
2 by 7 by 2 MPI processor grid
reading atoms ...
5 atoms
read_data CPU = 0.004 seconds
mass 1 1
mass 2 12
pair_style deepmd graph-compress.pb
ERROR: Unrecognized pair style 'deepmd' is part of the USER-DEEPMD package which is not enabled in this LAMMPS binary. (../force.cpp:271)
Last command: pair_style deepmd graph-compress.pb
lammps/src
lammps/src/USER-DEEPMD
The text was updated successfully, but these errors were encountered: