summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBitllion <39736583+Bitllion@users.noreply.github.com>2022-06-03 03:09:53 +0800
committerGitHub <noreply@github.com>2022-06-02 12:09:53 -0700
commit548e9ae88c9bf1c4ccfa7114cb880ea2e16d250c (patch)
treedb0275af2c944213812dd632258be83cb1cd2482
parent5728ba01222fde36ecd7c55ad7bc3ca44156f5d7 (diff)
downloadspack-548e9ae88c9bf1c4ccfa7114cb880ea2e16d250c.tar.gz
spack-548e9ae88c9bf1c4ccfa7114cb880ea2e16d250c.tar.bz2
spack-548e9ae88c9bf1c4ccfa7114cb880ea2e16d250c.tar.xz
spack-548e9ae88c9bf1c4ccfa7114cb880ea2e16d250c.zip
Abacus (#30933)
* add pacakge: abacus * rename * fix some style bugs * update package:abacus * fix some style bugs * format code * Delete a line of useless comments * updatee abacus * Update package.py add new version info and fix a bug on mkl * update version info and fix a bug on mkl * Update package.py * fix style bugs * trailing whitespace
-rw-r--r--var/spack/repos/builtin/packages/abacus/package.py13
1 files changed, 10 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/abacus/package.py b/var/spack/repos/builtin/packages/abacus/package.py
index 450f7ec4d8..4306c6bd05 100644
--- a/var/spack/repos/builtin/packages/abacus/package.py
+++ b/var/spack/repos/builtin/packages/abacus/package.py
@@ -23,6 +23,14 @@ class Abacus(MakefilePackage):
version("develop", branch="develop")
version(
+ "2.2.3",
+ sha256="88dbf6a3bdd907df3e097637ec8e51fde13e2f5e0b44f3667443195481320edf",
+ )
+ version(
+ "2.2.2",
+ sha256="4a7cf2ec6e43dd5c53d5f877a941367074f4714d93c1977a719782957916169e",
+ )
+ version(
"2.2.1",
sha256="14feca1d8d1ce025d3f263b85ebfbebc1a1efff704b6490e95b07603c55c1d63",
)
@@ -62,16 +70,15 @@ class Abacus(MakefilePackage):
FORTRAN = ifort\n\
CPLUSPLUS = icpc\n\
CPLUSPLUS_MPI = mpiicpc\n\
-LAPACK_DIR = %s\n\
+LAPACK_DIR = $(MKLROOT)\n\
FFTW_DIR = %s\n\
ELPA_DIR = %s\n\
ELPA_INCLUDE = -I${ELPA_DIR}/include/elpa%s%s\n\
CEREAL_DIR = %s\n\
OBJ_DIR = obj\n\
OBJ_DIR_serial = obj\n\
-NP = 14"
+NP = 14\n"
% (
- spec["mkl"].prefix,
spec["fftw"].prefix,
spec["elpa"].prefix,
inc_var,