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

better shape of rings after minimization - CRDGEN-260 #81

Merged
merged 8 commits into from
Mar 22, 2021

Conversation

ZontaNicola
Copy link
Collaborator

this increases strength of constraints for non-macrocycle rings and make minimization more efficient. (we used to run it twice).
added automated test on one of the structures linked to the case (CRDGEN-260)
manual checked the others

minimization still doesn't seem to converge on these structures (we're probably wasting computation time there) but the resut looks good

@d-b-w
Copy link
Collaborator

d-b-w commented Mar 15, 2021

Looks like the build error is real:

D:\a\1\s\CoordgenMinimizer.cpp(76): warning C4305: 'argument': truncation from 'double' to 'float' 

@d-b-w
Copy link
Collaborator

d-b-w commented Mar 19, 2021

Hey @ZontaNicola - I'm good with this, but it currently has merge conflicts. Would you address those so I can merge this?

By the way - if you do your development in a branch (rather than on master), I can fix merge failures myself.

@ZontaNicola ZontaNicola merged commit 8b93fc3 into schrodinger:master Mar 22, 2021
@d-b-w
Copy link
Collaborator

d-b-w commented Mar 22, 2021

Thanks, @ZontaNicola

@ZontaNicola
Copy link
Collaborator Author

@d-b-w I didn't get any conflicts merging this, just wanted to double check

@d-b-w
Copy link
Collaborator

d-b-w commented Mar 22, 2021

Looks good

d-b-w added a commit to d-b-w/coordgenlibs that referenced this pull request Apr 8, 2021
Reported in the schrodigner bug tracker as SHARED-7789

Our performance monitoring tests noticed that coordgen got about
10x slower after PR schrodinger#81. I guess the inner loop of minimization
must be hitting the max pretty frequently! We should address
that too.

(this doubles the max iterations from before schrodinger#81, but that's ok
because schrodinger#81 halved the calls to this function)
d-b-w added a commit to d-b-w/coordgenlibs that referenced this pull request Apr 8, 2021
Reported in the schrodigner bug tracker as SHARED-7789

Our performance monitoring tests noticed that coordgen got about
10x slower after PR schrodinger#81. I guess the inner loop of minimization
must be hitting the max pretty frequently! We should address
that too.

(this doubles the max iterations from before schrodinger#81, but that's ok
because schrodinger#81 halved the calls to this function)

Before this change:

    slowest:  1.442s
    average: 0.044s
    molecules above 0.1s: 566
    molecules above 1s: 9

after this change:

    slowest: 0.151s
    average: 0.006s
    molecules above 0.1s: 12
    molecules above 1s: 0
d-b-w added a commit that referenced this pull request Apr 9, 2021
Reported in the schrodigner bug tracker as SHARED-7789

Our performance monitoring tests noticed that coordgen got about
10x slower after PR #81. I guess the inner loop of minimization
must be hitting the max pretty frequently! We should address
that too.

(this doubles the max iterations from before #81, but that's ok
because #81 halved the calls to this function)

Before this change:

    slowest:  1.442s
    average: 0.044s
    molecules above 0.1s: 566
    molecules above 1s: 9

after this change:

    slowest: 0.151s
    average: 0.006s
    molecules above 0.1s: 12
    molecules above 1s: 0
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

Successfully merging this pull request may close these issues.

2 participants