-
Notifications
You must be signed in to change notification settings - Fork 188
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
2684 coulomb sr test #2718
2684 coulomb sr test #2718
Conversation
Codecov Report
@@ Coverage Diff @@
## python #2718 +/- ##
=======================================
+ Coverage 79% 79% +<1%
=======================================
Files 508 508
Lines 27050 27052 +2
=======================================
+ Hits 21590 21624 +34
+ Misses 5460 5428 -32
Continue to review full report at Codecov.
|
@christophlohrmann: I don't run into the Scafacos issue you mentioned when I restore the const modifier for docker run --volume /scratch/jgrad:/local:rw -it --user espresso --runtime=nvidia gitlab.icp.uni-stuttgart.de:4567/espressomd/docker/clang:6.0
cd /local/es-cl/
export myconfig=maxset with_coverage=false with_static_analysis=true with_asan=true with_ubsan=true test_timeout=900
bash maintainer/cuda_build.sh
|
The clang-tidy warning is a valid issue, please change it. Also I don't think parameters passed by value should be made |
@fweik I want to change it, but after 3 hours of troubleshooting in docker with the |
It's not clear to me what you are tying to do? How is any of this related to sanitizers? |
bors r+ |
2718: 2684 coulomb sr test r=fweik a=christophlohrmann Fixes #2684 and also the way charges and the coulomb prefactor are used in Coulomb energy/force pair calculations Description of changes: - PR Checklist ------------ - [x] Tests? - [x] Interface - [ ] Core - [x] Docs? Co-authored-by: Christoph Lohrmann <[email protected]> Co-authored-by: Florian Weik <[email protected]> Co-authored-by: Jean-Noel Grad <[email protected]>
Here's the log from the failed job on
So I looked for |
Ah I see. I just checked with the clang-7 from the ubuntu repository, and it finds the issues as expected (and then some). If you don't have the package installed you could just spin up a docker container and install it there, this is also useful to avoid the boost problem that clang-tidy finds and is fixed in newer boost versions. (this is why the docker container for the CI has a patch for boost). (I checked with a fresh ubuntu:bionic container, installing The issue you are seeing could be related to ptrace not being available inside a normal container, |
Build succeeded |
Fixes #2684 and also the way charges and the coulomb prefactor are used in Coulomb energy/force pair calculations
Description of changes:
PR Checklist