-
Notifications
You must be signed in to change notification settings - Fork 24
Add comparison of water models #18
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
base: master
Are you sure you want to change the base?
Conversation
|
This is what I get when I run it (takes maybe a half hour on rahman): https://gist.github.com/47105b78d41030ab0d96f4d509bfec81 |
|
@ptc2ug may like seeing this 🙂 |
|
I could use some eyes on the XMLs, they seem to accurately reproduce the reference I used (http://www1.lsbu.ac.uk/water/water_models.html#back1) but the RDFs are somewhat objectionable. |
rmatsum836
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm late to reviewing this. I made a few minor changes to the notebook but this LGTM. If anyone from @mosdef-hub/mosdef-contributors could add a review for this workflow, that would be great!
rsdefever
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall the tutorial worked well. My only suggestion is to improve the instructions on installing the required packages. I tried everything in a fresh conda env and ran into a couple of snafus (see comments). These aren't a big deal but might be a barrier to entry for a new user of MoSDeF.
| numpy | ||
| mbuild | ||
| foyer | ||
| mdtraj | ||
| matplotlib |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about gromacs?
Also, there is no requirements.txt under the water-models tutorial.
And both water-box and water-models examples require openbabel to run.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added installation instructions in water-models.ipynb and added requirements.txt to that example as well. Gromacs can be installed from the bioconda channel and open babel can be installed from the open babel channel.
| "ax.plot(ref[:, 0], ref[:, 1], 'k-', label='Reference')\n", | ||
| "\n", | ||
| "ax.set_xlabel(('Simulation time, ps'))\n", | ||
| "ax.set_ylabel(('System density, kg/m^3'))\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The density seems to have periodic oscillations. Is this from Parrinello-Rahman + unequilibrated starting configuration? It may not matter for the purposes of this demo, just an observation.
|
Thanks @rmatsum836. One other thing. The SPC/E link in the water-models example is dead. |
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
#13