Skip to content

Conversation

@ostueker
Copy link
Member

@ostueker ostueker commented Dec 17, 2025

This brings our local easyblock with my proposed changes for upstream

Capacity 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.

@ostueker ostueker requested a review from bartoldeman December 17, 2025 15:54
@ostueker ostueker self-assigned this Dec 17, 2025
@ostueker ostueker requested a review from ofisette December 17, 2025 21:21
@ostueker ostueker changed the base branch from 2023 to CC_gromacs_reset December 18, 2025 14:41
@ostueker ostueker changed the base branch from CC_gromacs_reset to 2023 December 18, 2025 14:41
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
Copy link

@ofisette ofisette left a 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")

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.

Copy link
Member Author

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

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

@ostueker ostueker merged commit 86e16ea into 2023 Dec 18, 2025
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.

3 participants