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

USER-OMP and KOKKOS broken after optimizations to child classes #126

Closed
akohlmey opened this issue Jul 27, 2016 · 5 comments
Closed

USER-OMP and KOKKOS broken after optimizations to child classes #126

akohlmey opened this issue Jul 27, 2016 · 5 comments
Assignees
Labels

Comments

@akohlmey
Copy link
Member

akohlmey commented Jul 27, 2016

The recent changes to lj/charmm/coul/* styles from PR #124 break USER-OMP and KOKKOS with multiple threads as reported by the internal regression testing at SNL. e.g. bench/in.rhodo is reported to result in NaNs.

@akohlmey
Copy link
Member Author

update: it looks like the changes in #124 only triggered the issue and the real cause is elsewhere, possibly fix shake...

@ibethune
Copy link
Collaborator

Can I see the outputs of the regression tester? I experimented a bit locally, and saw a NaN appear in the pair timings, but not in the actual energies... is that what the regtests showed?

Do you want me to try to debug, but if the bug is elsewhere in code I don't know it might take some time?

Section |  min time  |  avg time  |  max time  |%varavg| %total
---------------------------------------------------------------
Pair    | 24.936     | 24.936     | 24.936     |   nan | 72.78
Bond    | 1.3045     | 1.3045     | 1.3045     |   0.0 |  3.81

@akohlmey
Copy link
Member Author

i don't have access to those outputs myself. i could confirm and resolve an issue in fix shake, but there seems to be something else. i'm attaching valgrind outputs from a non-openmp serial compile.
running:
cd bench; valgrind lmp_serial -in in.rhodo -sf omp
and:
cd examples/peptide; valgrind lmp_serial -in in.peptide -sf omp

peptide-serial.txt
rhodo-serial.txt

@akohlmey
Copy link
Member Author

Found it! will push fix later after some more testing.

@ibethune
Copy link
Collaborator

Great!

akohlmey added a commit that referenced this issue Jul 27, 2016
…th denom_lj and denom_lj_inv

this closes #126 for real
jtclemm pushed a commit to jtclemm/lammps that referenced this issue Nov 23, 2020
…ct-2018

Changes for compatibility with up-to-date version of LAMMPS.
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

2 participants