Skip to content
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

[BUG] ERROR: Unrecognized pair style 'deepmd' (src/force.cpp:271) #2939

Closed
r-hou opened this issue Oct 19, 2023 · 1 comment
Closed

[BUG] ERROR: Unrecognized pair style 'deepmd' (src/force.cpp:271) #2939

r-hou opened this issue Oct 19, 2023 · 1 comment

Comments

@r-hou
Copy link

r-hou commented Oct 19, 2023

Bug summary

I installed deepmd-kit using the command "conda create -n deepmd-2.2.4-cpu deepmd-kit=2.2.4=*cpu libdeepmd=2.2.4=*cpu lammps -c https://conda.deepmodeling.com -c defaults" and "conda create -n deepmd-1.3.3-cpu deepmd-kit=1.3.3=*cpu libdeepmd=1.3.3=*cpu lammps -c https://conda.deepmodeling.com -c defaults", but the installed lmp does't support deepmd pair style.

DeePMD-kit Version

2.2.4 and 1.3.3

TensorFlow Version

2.9.0 and 2.4.1

How did you download the software?

conda

Input Files, Running Commands, Error Log, etc.

LAMMPS (2 Aug 2023 - Update 1)
WARNING: Using I/O redirection is unreliable with parallel runs. Better to use the -in switch to read input files. (src/lammps.cpp:537)
OMP_NUM_THREADS environment is not set. Defaulting to 1 thread. (src/comm.cpp:98)
using 1 OpenMP thread(s) per MPI task
Reading data file ...
triclinic box = (0 0 0) to (39.4221 39.4221 99.4221) with tilt (0 0 0)
2 by 4 by 7 MPI processor grid
reading atoms ...
6144 atoms
read_data CPU = 0.031 seconds
ERROR: Unrecognized pair style 'deepmd' (src/force.cpp:271)
Last command: pair_style deepmd ../dp-model.pb out_freq ${dumpfreq} out_file model_devi.out

Steps to Reproduce

just follow the example from github

Further Information, Files, and Links

No response

@r-hou r-hou added the bug label Oct 19, 2023
@njzjz
Copy link
Member

njzjz commented Oct 19, 2023

The error of v2.2.4 is a duplicate of #1809.

For v1.3.3, you should follow the v1.3.3 documentation instead of the current version.

@njzjz njzjz closed this as not planned Won't fix, can't repro, duplicate, stale Oct 19, 2023
@njzjz njzjz added duplicate and removed bug labels Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants