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

NonEquilibriumCyclingProtocol : Add ability to have multiple iterations/laps within a single CycleUnit? #66

Open
dotsdl opened this issue Sep 11, 2024 · 1 comment
Labels
component-protocol enhancement New feature or request

Comments

@dotsdl
Copy link
Member

dotsdl commented Sep 11, 2024

Currently for the NonEquilibriumCyclingProtocol, one can increase the cycling sampling performed by a single ProtocolDAG by increasing the num_cycles setting. This causes the ProtocolDAG to feature as many CycleUnits as num_cycles, which generally works well for most use cases, and allows for DAG-level parallelism on executors that support this.

However, for some execution contexts, such as Folding@Home, this approach restricts us to performing a single CycleUnit per Folding@Home work unit (WU), which can cause problems for both volunteers and the system as a whole if these execute too quickly. Increasing the equilibrium_steps and nonequilibrium_steps may increase sampling up to some limit, but still may result in too-short simulation times for practical Folding@Home use.

We propose adding a positive integer setting num_cycle_iterations or num_cycle_laps to the NonEquilibriumCyclingProtocol that defaults to 1 giving current behavior, but when set to 2 or more results in additional iterations of cycling within each CycleUnit on the ProtocolDAG. This will need to be encoded in the OpenMM integrator generated by the SetupUnit to work properly, I think.

@dotsdl dotsdl added enhancement New feature or request component-protocol labels Sep 11, 2024
@dotsdl
Copy link
Member Author

dotsdl commented Sep 11, 2024

Let's hold off on actioning this until we've performed more live testing with Folding@Home using @jchodera's sampling suggestions. We'll know more from that activity as to how vital this feature will be for us.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component-protocol enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant