-
Notifications
You must be signed in to change notification settings - Fork 189
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
WIP: Stokesian Dynamics #3445
WIP: Stokesian Dynamics #3445
Conversation
# Conflicts: # maintainer/configs/nocheck-maxset.hpp # src/core/integrate.cpp # src/python/espressomd/thermostat.pxd # src/python/espressomd/thermostat.pyx
Check out this pull request on You'll be able to see Jupyter notebook diff and discuss changes. Powered by ReviewNB. |
@biermanncarl @hmenke I'm installing blas + lapack on all docker images (espressomd/docker#155). However, many containers (Fedora, CentOS, OpenSUSE, Debian, ...) fail to build this branch due to a missing thrust header file. Is an ifdef guard for CUDA missing?
CMake also fails in the CUDA 10.1 docker image:
This error is independent of the CMake version (tested on CMake 3.10.0, 3.11.0, 3.13.0, 3.13.3). It looks like the feature The container for Ubuntu without dependencies was not updated with blas and lapack. |
Thrust is independent of CUDA. https://packages.ubuntu.com/bionic/libthrust-dev |
Then we need to reflect that requirement in the CMake logic, and make it fail if |
Your pull request does not meet our code style rules. Pylint summary:
You can generate these warnings with |
I'm unsure about the naming |
The GPU implementation is failing on ROCm 3.3 and produces the wrong trajectories on a GeForce RTX 2080 with CUDA 9.1.
I'm unsure about the naming set_sd for both the integrator and thermostat. It could be a source of confusion with the Steepest Descent integrator. Renaming >the SD thermostat and integrator to set_stokesian_dynamics resp. set_stokesian would remove that ambiguity and follow the pattern for the other >methods, e.g. Brownian Dynamics handles are called set_brownian_dynamics resp. set_brownian. I don't have a strong opinion on that change though, >since integrator and thermostat frameworks in espresso might get refactored in the (far) future.
I’m in favour of renaming. Abbreviations only make sense for stuff that is used often in a script.
|
Disambiguate Stokesian Dynamics from Steepest Descent.
I have some ideas how to improve the cublas initialization and salvage the Thrust wrapper, but you have locked me out of my own code. |
@hmenke you can pull this branch into #3241 and optimize the cublas initialization. From my side, I would like to move forward with this PR and merge it in its current state, rather soon. It took me longer than expected to get CI to pass, and I would like to avoid dealing with merge conflicts with our planned espresso refactoring projects, if possible. |
@jngrad After some gymnastics with |
@hmenke, are you sure about the repo name? The library is not Espreso-specific and could be used elsewhere. Also there is still your own little integrator on the old private repo that can be used to run stand-alone. |
|
The rebased SD was merged. Closing. |
Fixes #3241