From 839c8ed4fbe1fa8f939a32d8c248842301f43ac6 Mon Sep 17 00:00:00 2001 From: crivella Date: Wed, 20 Mar 2024 14:57:12 +0100 Subject: [PATCH] Removed FoX constraint on GIPAW --- easybuild/easyblocks/q/quantumespresso.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/easybuild/easyblocks/q/quantumespresso.py b/easybuild/easyblocks/q/quantumespresso.py index 563890072a..dc51ed1053 100644 --- a/easybuild/easyblocks/q/quantumespresso.py +++ b/easybuild/easyblocks/q/quantumespresso.py @@ -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') @@ -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']: