-
Notifications
You must be signed in to change notification settings - Fork 81
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
HOOMD4 release #1126
Comments
What kind of system were you testing hoomd4 with? One breaking change I can think of is
This might only require a single conditional that checks the version, and creates the correct instance of the dihedral force. |
I were using HOOMD 4 for some ethanolAA for the reproducibility project. To clarify, I think I were using the pre-release 4.0 where the HarmonicDihedral has not yet been deprecated. Also, agree with your assessment of another conditional check (unless we want to stop support for the lower version completely and pin HOOMD > 3.xx (where periodic dihedral is first added)) |
Well, I don't think we want to stop supporting hoomd 3 since I'm sure it will be a while until people migrate versions. Allowing a user to specify 3 or 4 to get the right torsion name seems reasonable. Might be good to have a warning raised for v3 noting this change. Note I don't think this should be something that is automatically detected, expect maybe in the CI tests. If I'm running this on my local machine, I might just be generating files to upload to a cluster which may be running a different version. |
I agree, lets definitely keep supporting hoomd 3 as much as we can. Most of the changes in version 4 won't affect what we do in mBuild and GMSO (writing out topology to snapshot/GSD and creating the force objects). @chrisiacovella are you suggesting something like a parameter in In your example, wouldn't the user still have to have consistency between the versions between their local machine and cluster? If they want to create hoomd3 compatible forces to use on a cluster, then they'd have to have hoomd3 installed when running on their local machine to avoid errors and vice-versa. If I have hoomd4 installed locally, but have hoomd3 on my cluster, so I tell |
Oh yeah. I was thinking about it more from the context from the GSD file, but I was forgetting that only the quartet of particles would be written, not the actual force definition, so the GSD file shouldn't care if it is for v3 or v4. So, yeah, I agree it makes sense to just look at the version of the hoomd module you imported when it comes to the actual creation of the forcefield for run time. Being able to toggle versions probably wouldn't add any benefit given it would likely just break things if you tried. |
HOOMD4 is just released in the last few days and is causing our test to fail. This is due to a version check in the hoomd writer, but I tried locally and found out that our current converter can handle HOOMD4 just fine, so probably just need to relax/remove that check.
The text was updated successfully, but these errors were encountered: