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

How to handle setting a time limit on reduce2 when harnessed from Phenix? #282

Open
russell-taylor opened this issue Jan 2, 2024 · 0 comments
Assignees

Comments

@russell-taylor
Copy link

The function run_reduce_with_timeout() in mmtbx.init.py is used to harness calls to the original reduce. It will presumably be changed to run reduce2.

This function includes a default timeout of 200 seconds that depends on the size of the input file and that depends on the size of the input file.

However, reduce2 has no parameter to limit its runtime. Unfortunately, hydrogen placement (not optimization) is often the bulk of the run time in reduce2, so it is not clear how helpful placing such a timer would be -- stopping things early would result in no hydrogens rather than unoptimized hydrogens.

Determine how to handle this.

@russell-taylor russell-taylor self-assigned this Jan 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant