-
Notifications
You must be signed in to change notification settings - Fork 667
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
remove lib.parallel.distances #530
Comments
Now that #535 is merged and full-feature OpenMP distance routines are available, I will remove I would like to simply remove it and declare it prominently in the CHANGELOG (I don't think it will break a huge amount of code). Alternatively, I can leave a stub and deprecate it but even then the new function will be a bit different from the old one. Comments? |
I'd just remove it and make sure that the new stuff is properly documented |
Ok, will do. |
- the cython/prange-based/OpenMP versions of some of the distance calculations were slower and had fewer features than the C/OpenMP based ones that are now available with backend="OpenMP" as implemented in PR #529 so these ones (and there tests) are fully removed - closes issue #530 - The whole lib.parallel module was also removed because at the moment there is nothing in it; we can revisit the discussion about organization of lib (issue #287) when necessary.
- closes issue #530. - improved general docs for MDAnalysis.lib
Issue #530: remove lib.parallel.distances
Closed by #538. |
I had a look at our parallel implementations of distance and geometry calculations. With PR #529 I propose a backward-compatible change that enables selecting between the serial (
lib._distances
) and OpenMP-enabled (lib._distances_openmp
) C/Cython code that @richardjgowers wrote. I don't think that the OpenMP-enabled code was actually accessible in a convenient manner so far but with PR #529 that changes (see there).lib.parallel.distances
(which is also based on OpenMP but within cython instead of C) as shown below.lib.parallel.distances
can only take orthorhombic boxes into account and breaks/produces garbage with triclinic boxes. The C/Cython code can take PBC with all boxes into account.Therefore, I propose to remove
lib.parallel.distances
.Benchmarks
The text was updated successfully, but these errors were encountered: