Skip to content

Commit

Permalink
Update easybuild/easyblocks/q/quantumespresso.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ocaisa authored May 10, 2024
1 parent 839b07f commit 77125b4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion easybuild/easyblocks/q/quantumespresso.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,11 @@ def _add_gipaw(self):
"""Enable GIPAW for Quantum ESPRESSO."""
if LooseVersion(self.version) == LooseVersion('7.3.1'):
# See issue: https://github.com/dceresoli/qe-gipaw/issues/19
raise EasyBuildError('GIPAW will fail to compile in QE 7.3.1')
if not os.path.exists(os.path.join(self.builddir, self.install_subdir, 'external', 'qe-gipaw', '.git')):
raise EasyBuildError(
'GIPAW compilation will fail for QE 7.3.1 without submodule downloaded via' +
'sources in easyconfig.'
)
res = ['gipaw']
self.check_bins += ['gipaw.x']
return res
Expand Down

0 comments on commit 77125b4

Please sign in to comment.