Skip to content

Commit

Permalink
switch order of checks to keep things consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
bedroge committed Dec 16, 2024
1 parent 49ca92e commit fa45a53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion easybuild/easyblocks/g/gromacs.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ def configure_step(self):
plumed_cmd = "plumed-patch -p -e %s" % engine

# Enable hwloc support (added in v2016) if it's listed as dependency
if get_software_root('hwloc') and gromacs_version >= '2016':
if gromacs_version >= '2016' and get_software_root('hwloc'):
self.cfg.update('configopts', '-DGMX_HWLOC=ON')
self.cfg.update('configopts', '-DHWLOC_DIR=%s' % get_software_root('hwloc'))

Expand Down

0 comments on commit fa45a53

Please sign in to comment.