summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorChristoph Junghans <junghans@lanl.gov>2020-02-04 10:18:20 -0700
committerGitHub <noreply@github.com>2020-02-04 10:18:20 -0700
commit603e2794dbc43f83c7c84815ac3270e5a85b62b0 (patch)
tree434216e369926fe5d7c33528f8572f6e9c7c9ec9 /var
parent1bbe0a1f743b513344afae20c09eec000492d45e (diff)
downloadspack-603e2794dbc43f83c7c84815ac3270e5a85b62b0.tar.gz
spack-603e2794dbc43f83c7c84815ac3270e5a85b62b0.tar.bz2
spack-603e2794dbc43f83c7c84815ac3270e5a85b62b0.tar.xz
spack-603e2794dbc43f83c7c84815ac3270e5a85b62b0.zip
cray-libsci: initial commit (#14709)
* cray-libsci: initial commit
Diffstat (limited to 'var')
-rwxr-xr-xvar/spack/repos/builtin/packages/cray-libsci/package.py43
1 files changed, 43 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/cray-libsci/package.py b/var/spack/repos/builtin/packages/cray-libsci/package.py
new file mode 100755
index 0000000000..c0313a1e39
--- /dev/null
+++ b/var/spack/repos/builtin/packages/cray-libsci/package.py
@@ -0,0 +1,43 @@
+# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from llnl.util.filesystem import LibraryList
+from spack import *
+import os
+
+
+class CrayLibsci(Package):
+ """The Cray Scientific Libraries package, LibSci, is a collection of
+ numerical routines optimized for best performance on Cray systems."""
+
+ homepage = "http://www.nersc.gov/users/software/programming-libraries/math-libraries/libsci/"
+ url = "http://www.nersc.gov/users/software/programming-libraries/math-libraries/libsci/"
+
+ version("18.11.1.2")
+ version("16.11.1")
+ version("16.09.1")
+ version('16.07.1')
+ version("16.06.1")
+ version("16.03.1")
+
+ provides("blas")
+ provides("lapack")
+ provides("scalapack")
+
+ # NOTE: Cray compiler wrappers already include linking for the following
+ @property
+ def blas_libs(self):
+ return LibraryList(os.path.join(self.prefix.lib, 'libsci.so'))
+
+ @property
+ def lapack_libs(self):
+ return self.blas_libs
+
+ @property
+ def scalapack_libs(self):
+ return self.blas_libs
+
+ def install(self, spec, prefix):
+ raise NoBuildError(spec)