-
Notifications
You must be signed in to change notification settings - Fork 0
Update GROMACS easyblock #28
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
Conversation
GROMACS 2025 was released on Feb 11, 2025. Changing EB's default behavior of whether to apply patches or use GROMACS' native PLUMED support would be surprising to users. Changing the default with the yet unreleased GROMACS 2026 is safer. In any case PLUMED patches for GROMACS 2025 and newer are based on GROMACS' native support, which means that some PLUMED features that were available with older GROMACS releases are not supported until GROMACS' MDModule and the plugin mechansims have caught up again. See also discussion in easybuilders#3984
5b4b93c to
5f7317b
Compare
ofisette
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.
Looks good, minor suggestions
| # Need to check if PLUMED has an engine for this version | ||
| engine = 'gromacs-%s' % self.version | ||
|
|
||
| res = run_shell_cmd("plumed-patch -l") |
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.
A long command line option would facilitate understanding for those less familiar with PLUMED: --plumed-patch --list-engines.
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.
Thanks.
Those lines originate from upstream. I just idented them while adding an additional if-clause.
I'll suggest that change for my upstream PR.
| plumed_cmd = "plumed-patch -p -e %s" % engine | ||
| # PLUMED patching must be done at different stages depending on | ||
| # version of GROMACS. Just prepare first part of cmd here | ||
| plumed_cmd = "plumed-patch -p -e %s" % engine |
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.
Long options: plumed-patch --patch --engine %s
This brings our local easyblock with my proposed changes for upstream
X86-64-V?notation easybuilders/easybuild-easyblocks#3981gmxapiPython package easybuilders/easybuild-easyblocks#3982Capacity to build GROMACS with CP2K support has been stripped out for now, since I wasn't able to get that merged into upstream. I will make another attempt next year.