Error running lammps #249
Replies: 4 comments 1 reply
-
You are using the double precision LAMMPS with a float precision model. If the model is not what you want, please check the installation of deepmd-kit. |
Beta Was this translation helpful? Give feedback.
-
Then how to control the precision of a model or which model is in double precision? |
Beta Was this translation helpful? Give feedback.
-
I guess you installed with If you used Line 58 in 567bcff |
Beta Was this translation helpful? Give feedback.
-
It works,thank you. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I successfully compile the lammps stable_7Aug2019 and its deepmd-kit module , but when I try to use dpgen, lammps throw the following error.
LAMMPS (3 Mar 2020)
OMP_NUM_THREADS environment is not set. Defaulting to 1 thread. (src/comm.cpp:94)
using 1 OpenMP thread(s) per MPI task
Reading data file ...
triclinic box = (0 0 0) to (9.95439 9.80314 9.83274) with tilt (0.248331 0.192711 -0.147738)
1 by 1 by 1 MPI processor grid
reading atoms ...
5 atoms
read_data CPU = 0.000724077 secs
Changing box ...
triclinic box = (0 0 0) to (9.95439 9.80314 9.83274) with tilt (0.248331 0.192711 -0.147738)
Summary of lammps deepmd module ...
The input file is
variable NSTEPS equal 300
variable THERMO_FREQ equal 10
variable DUMP_FREQ equal 10
variable TEMP equal 100.000000
variable PRES equal -1.000000
variable TAU_T equal 0.100000
variable TAU_P equal 0.500000
units metal
boundary p p p
atom_style atomic
neighbor 1.0 bin
box tilt large
read_data conf.lmp
change_box all triclinic
mass 1 1.000000
mass 2 12.000000
pair_style deepmd ../graph.001.pb ../graph.002.pb ../graph.003.pb ../graph.000.pb out_freq ${THERMO_FREQ} out_file model_devi.out
pair_coeff
thermo_style custom step temp pe ke etotal press vol lx ly lz xy xz yz
thermo ${THERMO_FREQ}
dump 1 all custom ${DUMP_FREQ} traj/*.lammpstrj id type x y z
velocity all create ${TEMP} 681862
fix 1 all nvt temp ${TEMP} ${TEMP} ${TAU_T}
timestep 0.002000
run ${NSTEPS}
Beta Was this translation helpful? Give feedback.
All reactions