Skip to content

Commit

Permalink
enable hwloc support
Browse files Browse the repository at this point in the history
  • Loading branch information
bedroge committed Dec 13, 2024
1 parent d1e5a64 commit 53a9a23
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions easybuild/easyblocks/g/gromacs.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,11 @@ def configure_step(self):
# version of GROMACS. Just prepare first part of cmd here
plumed_cmd = "plumed-patch -p -e %s" % engine

# Enable hwloc support if it's listed as dependency
if get_software_root('hwloc'):
self.cfg.update('configopts', '-DGMX_HWLOC=ON')
self.cfg.update('configopts', '-DHWLOC_DIR=%s' % get_software_root('hwloc'))

# Ensure that the GROMACS log files report how the code was patched
# during the build, so that any problems are easier to diagnose.
# The GMX_VERSION_STRING_OF_FORK feature is available since 2020.
Expand Down

0 comments on commit 53a9a23

Please sign in to comment.