Replies: 1 comment 30 replies
-
Could you explain how you saw that? |
Beta Was this translation helpful? Give feedback.
30 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I hope you are doing well.
If possible, I have a question regarding the way the model works with LAMMPS on CPU only.
When I run the trained model (for Silicon) with LAMMPS, I do not see any usage of neighbor lists or OMP parallelization in the simulation. It seems like it is only MPI parallelized. I think I'm doing something wrong, but would you be so kind as to review the Training Script and the LAMMPS Script? Thank you very much.
Training Script:
{
"model": {
"type_map": ["Si"],
"data_stat_nbatch": 10,
}
LAMMPS Input Script:
Initialize
units metal
dimension 3
boundary p p p
atom_style atomic
#plugin load libdeepmd_lmp.so
package intel 0 omp 1 mode double
System
lattice diamond 5.4307 orient x 1 0 0 orient y 0 1 0 orient z 0 0 1
region sim block 0 7 0 8 0 9
create_box 1 sim
create_atoms 1 region sim
mass 1 28.0855
Force Field Selection
pair_style deepmd graph-compress-high.pb
pair_coeff * *
timestep 0.002
Neighbor List
neighbor 2.5 bin
neigh_modify delay 10 check yes
Define Outputs
thermo 100
thermo_style custom step temp pe ke etotal
log log.energy
Dynamics
Minimize Energy
min_style cg
minimize 1.0e-8 1.0e-8 5000 10000
reset_timestep 0
Thermalization
velocity all create 300.0 65897 mom yes rot yes
fix 1 all langevin 300.0 300.0 1 32456
fix 2 all nve
run 25000
unfix 1
unfix 2
fix solid all nvt temp 375.0 375.0 2.5 drag 2.0
run 50000
unfix solid
Output LAMMPS:
MPI task timing breakdown:
Section | min time | avg time | max time |%varavg| %total
Pair | 29.41 | 39.333 | 51.029 | 63.7 | 68.44
Neigh | 0 | 0 | 0 | 0.0 | 0.00
Comm | 4.116 | 15.128 | 25.341 | 103.7 | 26.32
Output | 0.018891 | 0.019464 | 0.025107 | 0.3 | 0.03
Modify | 1.1884 | 2.4839 | 4.4482 | 38.7 | 4.32
Other | | 0.503 | | | 0.88
Thank you very much!
Beta Was this translation helpful? Give feedback.
All reactions