espresso : fixes #454
This commit is contained in:
parent
cc582dd4b4
commit
34a8f0c96b
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue