summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/kripke/package.py16
1 files changed, 16 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..68ccc4cb6c
--- /dev/null
+++ b/var/spack/repos/builtin/packages/kripke/package.py
@@ -0,0 +1,16 @@
+from spack import *
+
+class Kripke(Package):
+ """Kripke is a simple, scalable, 3D Sn deterministic particle transport code."""
+
+ homepage = "https://codesign.llnl.gov/kripke.php"
+ url = ""
+ #version('master', git='https://lc.llnl.gov/stash/scm/kripke/kripke.git')
+ version('master', git='https://lc.llnl.gov/stash/scm/~islam3/kripke.git')
+
+ def install(self, spec, prefix):
+ with working_dir('build', create=True):
+ cmake('-DCMAKE_INSTALL_PREFIX:PATH=.', '-DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchain/chaos_5_x86_64_ib-ic15.cmake', '-DENABLE_OPENMP=1', '..', *std_cmake_args)
+ make()
+ make("install")
+