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] _Failure to run lammps minimization by using embedding model in deepmd-kit-2.0.0.beta0-GPU version_ #782

Closed
dfz05 opened this issue Jun 21, 2021 · 4 comments
Assignees
Labels

Comments

@dfz05
Copy link

dfz05 commented Jun 21, 2021

I tried to train a DP model with element embedding. When I used the trained model to run a minimization task in lammps with GPU, the program failed without running. However, if I used the CPU version, the task can run.

The version I used is: Deepmd-kit standalone 2.0.0.beta0

CrC.zip

~/deepmd-kit/bin/lmp -var compd CrC -in in.minimization

The files are in the attachment.

@dfz05 dfz05 added the bug label Jun 21, 2021
@dfz05 dfz05 changed the title [BUG] _Failure to run lammps minimization by using embedding model in deepmd-kit-2.0beta-GPU version_ [BUG] _Failure to run lammps minimization by using embedding model in deepmd-kit-2.0.0.beta0-GPU version_ Jun 21, 2021
@amcadmus
Copy link
Member

Could you please paste here the lammps input file? thanks

@dfz05
Copy link
Author

dfz05 commented Jun 22, 2021

Could you please paste here the lammps input file? thanks

The files have been uploaded.

@njzjz
Copy link
Member

njzjz commented Aug 12, 2021

I can't reproduce the bug in my machine (2080 Super) using v2.0.0.b4. The output is here

     625    109.67568   -605.31012   -605.31012 3.4932874e-08 -2.3933809e-08 -3.3852489e-08    8.1531477    8.1927314    8.1531477
Loop time of 109.676 on 1 procs for 625 steps with 64 atoms

40.6% CPU use with 1 MPI tasks x 1 OpenMP threads

Minimization stats:
  Stopping criterion = force tolerance
  Energy initial, next-to-last, final =
     -605.256198610873  -605.310121712724  -605.310121712724
  Force two-norm initial, final = 6.6132592 5.4833277e-11
  Force max component initial, final = 3.8181670 1.2243286e-11
  Final line search alpha, max atom move = 1.0000000 1.2243286e-11
  Iterations, force evaluations = 625 941

MPI task timing breakdown:
Section |  min time  |  avg time  |  max time  |%varavg| %total
---------------------------------------------------------------
Pair    | 109.63     | 109.63     | 109.63     |   0.0 | 99.95
Neigh   | 0          | 0          | 0          |   0.0 |  0.00
Comm    | 0.0060101  | 0.0060101  | 0.0060101  |   0.0 |  0.01
Output  | 0.014829   | 0.014829   | 0.014829   |   0.0 |  0.01
Modify  | 0          | 0          | 0          |   0.0 |  0.00
Other   |            | 0.02916    |            |       |  0.03

Nlocal:        64.0000 ave          64 max          64 min
Histogram: 1 0 0 0 0 0 0 0 0 0
Nghost:        1267.00 ave        1267 max        1267 min
Histogram: 1 0 0 0 0 0 0 0 0 0
Neighs:        0.00000 ave           0 max           0 min
Histogram: 1 0 0 0 0 0 0 0 0 0

Total # of neighbors = 0
Ave neighs/atom = 0.0000000
Neighbor list builds = 0
Dangerous builds = 0

Please see the log.cite file for references relevant to this simulation

Total wall time: 0:01:51

@dfz05 Can you try v2.0.0.b4?

@amcadmus
Copy link
Member

This issue should have been solved in v2.0.0.b4

njzjz added a commit to njzjz/deepmd-kit that referenced this issue Sep 21, 2023
Since there are lots of parameters still not added (deepmodeling#771, deepmodeling#773, deepmodeling#774,
deepmodeling#781, deepmodeling#782), we only enable loose check for `dpgen run` (i.e.
`strict_check=False`).
njzjz pushed a commit to njzjz/deepmd-kit that referenced this issue Sep 21, 2023
For deepmodeling#782 , WIP.
@tuoping @taipinghu @Vibsteamer please give some advice on the
arguments' introduction, thanks!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants