Commit 476094b2 authored by AGULLO Emmanuel's avatar AGULLO Emmanuel
Browse files

add qr_mumps (v3.0.3) - tests off for now

parent bcdb1fbc
;;; This module extends GNU Guix and is licensed under the same terms, those
;;; of the GNU GPL version 3 or (at your option) any later version.
;;; Note that this module provides packages that depend on "non-free"
;;; software, which denies users the ability to study and modify it.
;;; Copyright © 2019 Inria
(define-module (cnrs irit)
#:use-module (guix)
#:use-module (guix git-download)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix build-system cmake)
#:use-module (guix git)
#:use-module (gnu packages)
#:use-module (gnu packages gcc)
#:use-module (gnu packages compression)
#:use-module (gnu packages maths)
#:use-module (gnu packages perl)
#:use-module (gnu packages wget)
#:use-module (guix utils)
#:use-module (gnu packages mpi)
#:use-module (gnu packages ssh)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
#:use-module (inria hiepacs)
#:use-module (inria storm)
#:use-module (inria tadaam))
(define-public qr_mumps
(name "qr_mumps")
(version "3.0.3")
(home-page "")
(source (origin
(method url-fetch)
(string-append home-page "releases/qr_mumps-" version ".tgz"))
(build-system cmake-build-system)
'(#:configure-flags (list
(string-append "-DCMAKE_EXE_LINKER_FLAGS="
(assoc-ref %outputs "out")
#:phases (modify-phases %standard-phases
(add-before 'check 'prepare-test-environment
(lambda _
(setenv "HOME" (getcwd)) ;; StarPU expects $HOME to be writable.
(setenv "OMP_NUM_THREADS" "1")
(setenv "OMPI_MCA_rmaps_base_oversubscribe" "1") #t)))
#:tests? #f))
(native-inputs `(("gfortran" ,gfortran)
("pkg-config" ,pkg-config)))
(inputs `(("metis" ,metis)
("openblas" ,openblas)
("perl" ,perl)
("scotch32" ,scotch32)
("ssh" ,openssh)
;; ("suitesparse" ,suitesparse) ;; for colamd; it would ideally be suitesparse:colamdonly
("wget" ,wget)
(propagated-inputs `(("starpu" ,starpu)))
(synopsis "Sparse QR direct solver (experimental package for distributed memroy version)")
"qr_mumps is a software package for the solution of sparse, linear systems
on multicore computers based on the QR factorization of the input matrix.
Therefore, it is suited to solving sparse least-squares problems and to
computing the minimum-norm solution of sparse, underdetermined problems. It can
obviously be used for solving square problems in which case the stability
provided by the use of orthogonal transformations comes at the cost of a higher
operation count with respect to solvers based on, e.g., the LU factorization.
qr_mumps supports real and complex, single or double precision arithmetic. This
is an experimental version of the package for distributed memory." )
(license license:cecill)))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment