diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2016-05-09 17:00:47 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2016-05-09 17:00:47 -0700 |
commit | 92b7534885d5e2890cc0cc48f2fcc4ae9eec762f (patch) | |
tree | 5509a128516d80645d23f387eb421e1260518e2a /var | |
parent | cbae98670b79964420974ff5490c4461b539c27a (diff) | |
parent | 23ec6c6bb031d48e64be07acd199b957ada774e8 (diff) | |
download | spack-92b7534885d5e2890cc0cc48f2fcc4ae9eec762f.tar.gz spack-92b7534885d5e2890cc0cc48f2fcc4ae9eec762f.tar.bz2 spack-92b7534885d5e2890cc0cc48f2fcc4ae9eec762f.tar.xz spack-92b7534885d5e2890cc0cc48f2fcc4ae9eec762f.zip |
Merge branch 'features/kripke' of git://github.com/tzislam/spack into tzislam-features/kripke
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/kripke/package.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/kripke/package.py b/var/spack/repos/builtin/packages/kripke/package.py new file mode 100644 index 0000000000..f7cc96053a --- /dev/null +++ b/var/spack/repos/builtin/packages/kripke/package.py @@ -0,0 +1,18 @@ +from spack import * + +class Kripke(Package): + """Kripke is a simple, scalable, 3D Sn deterministic particle transport proxy/mini app.""" + homepage = "https://codesign.llnl.gov/kripke.php" + url = "https://codesign.llnl.gov/downloads/kripke-openmp-1.1.tar.gz" + + version('1.1', '7fe6f2b26ed983a6ce5495ab701f85bf') + + #depends_on("mvapich2@1.9:") + + def install(self, spec, prefix): + with working_dir('build', create=True): + cmake('-DCMAKE_INSTALL_PREFIX:PATH=.', '-DENABLE_OPENMP=1', '-DENABLE_MPI=1', '..', *std_cmake_args) + make() + #Kripke does not provide an install, so creating one here. + mkdirp(prefix.bin) + install('kripke', prefix.bin) |