Skip to content
Snippets Groups Projects
Commit 34a8f0c9 authored by Massimiliano Culpo's avatar Massimiliano Culpo
Browse files

espresso : fixes #454

parent cc582dd4
No related branches found
No related tags found
No related merge requests found
...@@ -32,6 +32,10 @@ def check_variants(self, spec): ...@@ -32,6 +32,10 @@ def check_variants(self, spec):
if '+elpa' in spec and ('~mpi' in spec or '~scalapack' in spec): if '+elpa' in spec and ('~mpi' in spec or '~scalapack' in spec):
raise RuntimeError(error.format(variant='elpa')) raise RuntimeError(error.format(variant='elpa'))
def setup_environment(self, spack_env, run_env):
# Espresso copies every executable in prefix without creating sub-folders
run_env.prepend_path('PATH', self.prefix)
def install(self, spec, prefix): def install(self, spec, prefix):
self.check_variants(spec) self.check_variants(spec)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment