diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2016-03-24 02:53:56 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2016-03-24 02:53:56 -0700 |
commit | 1306cdd998052dc235cd0329b39d011f3c0b9da9 (patch) | |
tree | a3b911684f7cb1b919e6a7d57d6cf1b5e13e99b7 | |
parent | 4be8472f6120c6aac0e4c3e53deda3cb1ffdd45c (diff) | |
parent | 34a8f0c96bc50870f20f094d95b403b2bb19487d (diff) | |
download | spack-1306cdd998052dc235cd0329b39d011f3c0b9da9.tar.gz spack-1306cdd998052dc235cd0329b39d011f3c0b9da9.tar.bz2 spack-1306cdd998052dc235cd0329b39d011f3c0b9da9.tar.xz spack-1306cdd998052dc235cd0329b39d011f3c0b9da9.zip |
Merge pull request #618 from epfl-scitas/fixes/espresso_no_module
fix : no module file gets generated by espresso
-rw-r--r-- | var/spack/repos/builtin/packages/espresso/package.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/espresso/package.py b/var/spack/repos/builtin/packages/espresso/package.py index a2bf58f585..59f362ab46 100644 --- a/var/spack/repos/builtin/packages/espresso/package.py +++ b/var/spack/repos/builtin/packages/espresso/package.py @@ -32,6 +32,10 @@ class Espresso(Package): if '+elpa' in spec and ('~mpi' in spec or '~scalapack' in spec): 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): self.check_variants(spec) |