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

Fixes and improvements related to random number generation. Improvements for data set filtering. #887

Merged
merged 81 commits into from
Mar 15, 2021

Conversation

drroe
Copy link
Contributor

@drroe drroe commented Mar 15, 2021

This PR contains a lot of improvements.

  • Random number generation is greatly improved under the hood, and after some more testing the default random number generator should be changed (lead candidate right now is Xoshiro128++). Added a gauss keyword to the random command.
  • The algorithm for the permutedihedrals keyword with the random command is greatly improved. In general, fewer rotations are required to get much higher quality structures (with no clashes so far in testing proteins up to 268 a.a.!).
  • The algorithm for randomizeions has been sped up an order of magnitude. In addition, users are not required to specify an around mask, and in conjunction with allowoverlaps eliminates all distance checking, allowing for pure random ion placement.
  • The code for datafilter and the filter action has been centralized under the hood. In addition, the final counts of passed/filtered frames are now stored in data sets, and 2d/3d sets can be counted (but not yet actively filtered).

My hope is that this is the version (5.1) that ends up in AmberTools 21.

…e). Make max_factor_ a double, and make the default 10.
max rotations be on a per-dihedral basis. Make rotation counts unsigned
in old routine. Fix printf formatting.
@drroe drroe self-assigned this Mar 15, 2021
@drroe
Copy link
Contributor Author

drroe commented Mar 15, 2021

FML

E: The repository 'https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_20.04  Release' no longer has a Release file.

I just want stable CI....

@swails
Copy link
Contributor

swails commented Mar 15, 2021

What package is it trying to install?

@@ -7,7 +7,7 @@ on:

jobs:
linux_build:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same image ATM.

@AmberJenkins
Copy link
Collaborator

The PGI build in Jenkins failed.

@drroe
Copy link
Contributor Author

drroe commented Mar 15, 2021

@swails its failing on the apt update command, which I had to add previously because I was getting "Unable to fetch some archives" messages without it (see #885).

@drroe
Copy link
Contributor Author

drroe commented Mar 15, 2021

@hainm note the pytraj failure is expected; the algorithm for the randomizeions command has been improved, but now produces different output. The originalalgorithm keyword can be used to recover original behavior, or the test output will need to be updated. I can do that after I merge this.

@drroe
Copy link
Contributor Author

drroe commented Mar 15, 2021

@swails taking out apt update seems to have fixed it this time. I guess actions is still smoothing out the rough edges.

drroe added a commit to drroe/pytraj that referenced this pull request Mar 15, 2021
@drroe drroe merged commit 9933f8c into Amber-MD:master Mar 15, 2021
@drroe drroe deleted the update.rng branch March 15, 2021 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants