Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions easybuild/easyblocks/g/gromacs.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,16 @@ def configure_step(self):
if not regex.search(out):
raise EasyBuildError("Pattern '%s' not found in GROMACS configuration output.", pattern)

# Make sure compilation of CPU detection code did not fail
patterns = [
r"Did not detect build CPU \S* - detection program did not compile.*",
r"CPU detection program did not compile.*",
]
for pattern in patterns:
regex = re.compile(pattern, re.M)
if regex.search(out):
raise EasyBuildError("Pattern '%s' found in GROMACS configuration output.", pattern)

def build_step(self):
"""
Custom build step for GROMACS; Skip if CUDA is enabled and the current
Expand Down