From 6cff29fb6e273e4a746dd518a07776d7c4c71b42 Mon Sep 17 00:00:00 2001 From: Lars Bilke Date: Fri, 8 Mar 2024 10:49:20 +0100 Subject: gnu: petsc: Add tunable property. Tested with some real-world simulations on multpiple HPC systems. * gnu/packages/maths.scm (petsc)[properties]: Add tunable? flag. Change-Id: I81588d0556c4176f29d7ab760322cd7aec271f12 Signed-off-by: Efraim Flashner --- gnu/packages/maths.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gnu/packages/maths.scm') diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index ea42341c41..bb2d7a3504 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -3515,7 +3515,8 @@ September 2004}") data structures and routines for the scalable (parallel) solution of scientific applications modeled by partial differential equations.") (license (license:non-copyleft - "https://www.mcs.anl.gov/petsc/documentation/copyright.html")))) + "https://www.mcs.anl.gov/petsc/documentation/copyright.html")) + (properties '((tunable? . #t))))) (define-public petsc-complex (package -- cgit v1.2.3 From f7e6a84e989295d86e8c776988f65c36df117095 Mon Sep 17 00:00:00 2001 From: Lars Bilke Date: Fri, 8 Mar 2024 12:08:11 +0100 Subject: gnu: hypre: Honor the #:tests? flag. * gnu/packages/maths.scm (hypre)[arguments]: Adjust 'check phase to honor the #:tests? flag. Change-Id: I475fabd7d9f73ed320b97a4767830d82190c2b15 Signed-off-by: Efraim Flashner --- gnu/packages/maths.scm | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) (limited to 'gnu/packages/maths.scm') diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index bb2d7a3504..52ab4d66a0 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -7136,16 +7136,21 @@ set.") (lambda _ (invoke "make" "-C" "docs"))) (replace 'check - (lambda _ - (setenv "LD_LIBRARY_PATH" (string-append (getcwd) "/hypre/lib")) - (setenv "PATH" (string-append "." ":" (getenv "PATH"))) - (invoke "make" "check" "CHECKRUN=") - (for-each (lambda (filename) - (let ((size (stat:size (stat filename)))) - (when (positive? size) - (error (format #f "~a size ~d; error indication~%" - filename size))))) - (find-files "test" ".*\\.err$")))) + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (setenv "LD_LIBRARY_PATH" + (string-append (getcwd) "/hypre/lib")) + (setenv "PATH" + (string-append "." ":" + (getenv "PATH"))) + (invoke "make" "check" "CHECKRUN=") + (for-each (lambda (filename) + (let ((size (stat:size (stat filename)))) + (when (positive? size) + (error (format #f + "~a size ~d; error indication~%" + filename size))))) + (find-files "test" ".*\\.err$"))))) (add-after 'install 'install-docs (lambda* (#:key outputs #:allow-other-keys) ;; Custom install because docs/Makefile doesn't honor ${docdir}. -- cgit v1.2.3 From 0e00d2ced1c266fa706192e6bb7db2c8005dbead Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Thu, 14 Mar 2024 13:40:31 +0000 Subject: gnu: combinatorial-blas: Update source hash. Diffoscope shows there are changes, but they don't look significant. * gnu/packages/maths.scm (combinatorial-blas): Update source hash. Change-Id: I32db6df0ef7c652572b1e874fe22175a4b66af6e --- gnu/packages/maths.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/packages/maths.scm') diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 52ab4d66a0..d551b751e6 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -8075,7 +8075,7 @@ easily be incorporated into existing simulation codes.") ".tgz")) (sha256 (base32 - "1a9wbgdqyy1whhfc0yl0yqkax3amnqa6iihhq48d063gc0jwfd9a")) + "0gzxgd2ybnh49h57rh47vrqnsyk11jn206j5kf9y7p5vksc79ffz")) (patches (search-patches "combinatorial-blas-awpm.patch" "combinatorial-blas-io-fix.patch")))) (build-system cmake-build-system) -- cgit v1.2.3 From b213afbf582222cf8865c17285abece3ef8f6e15 Mon Sep 17 00:00:00 2001 From: Romain GARBAGE Date: Tue, 5 Mar 2024 10:10:16 +0100 Subject: gnu: combinatorial-blas: Skip failing tests. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/maths.scm (combinatorial-blas): Add new phase. Change-Id: Ifefb2b17e6758547d38290753a7cd338032a6abb Signed-off-by: Ludovic Courtès --- gnu/packages/maths.scm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gnu/packages/maths.scm') diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index d551b751e6..1b4d325649 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -8094,6 +8094,12 @@ easily be incorporated into existing simulation codes.") #:parallel-tests? #f ;tests use 'mpiexec -n4' #:phases (modify-phases %standard-phases + (add-after 'unpack 'fix-tests + (lambda _ + ;; Skip failing tests (SIGFPE and SIGSEGV). + (substitute* "ReleaseTests/CMakeLists.txt" + (("^.*SpAsgnTest.*$") "") + (("^.*IndexingTest.*$") "")))) (add-before 'check 'mpi-setup ,%openmpi-setup) (add-before 'check 'test-setup -- cgit v1.2.3