Skip to content

Commit

Permalink
Merge pull request #3258 from Crivella/feature-qe-autoconf
Browse files Browse the repository at this point in the history
Removed FoX constraint on GIPAW for QuantumESPRESSO easyblock
  • Loading branch information
ocaisa committed Mar 21, 2024
2 parents 9b0d5f5 + 839c8ed commit 99173c4
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions easybuild/easyblocks/q/quantumespresso.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,6 @@ def _add_beef(self):
def _add_fox(self):
"""Add FoX support to the build."""
if self.cfg['with_fox']:
# Needed for using gipaw with QuantumESPRESSO 7.2 and later
if LooseVersion(self.version) >= LooseVersion("7.2"):
self.cfg.update('configopts', '--with-fox=yes')

Expand All @@ -338,9 +337,6 @@ def _add_epw(self):
def _add_gipaw(self):
"""Add GIPAW support to the build."""
if self.cfg['with_gipaw']:
if LooseVersion(self.version) >= LooseVersion("7.2"):
if not self.cfg['with_fox']:
raise EasyBuildError("GIPAW requires FoX enabled in QuantumESPRESSO 7.2 and later")
self.cfg.update('buildopts', 'gipaw', allow_duplicate=False)
else:
if 'gipaw' in self.cfg['buildopts']:
Expand Down

0 comments on commit 99173c4

Please sign in to comment.