Commit 616f3b5c authored by PRUVOST Florent's avatar PRUVOST Florent
Browse files

hiepacs: add pastix-cuda package

parent f90241e9
......@@ -73,6 +73,12 @@ mumps_mkl_metis_openmpi:
- .channels/guix-hpc/bin/guix describe
- .channels/guix-hpc/bin/guix build -L . mumps-mkl-metis-openmpi
pastix_cuda:
stage: build
script:
- .channels/guix-hpc/bin/guix describe
- .channels/guix-hpc/bin/guix build -L . pastix-cuda
pastix_5_mkl:
stage: build
script:
......
......@@ -34,13 +34,13 @@
(name "chameleon-cuda")
(arguments
(substitute-keyword-arguments (package-arguments chameleon)
((#:configure-flags flags '())
`(cons "-DCHAMELEON_USE_CUDA=ON" ,flags))))
((#:configure-flags flags '())
`(cons "-DCHAMELEON_USE_CUDA=ON" ,flags))))
(inputs
`(("cuda" ,cuda)
,@(package-inputs chameleon)))
(propagated-inputs `(("starpu" ,starpu+cuda)
,@(delete `("starpu" ,starpu) (package-inputs chameleon))))))
,@(delete `("starpu" ,starpu) (package-inputs chameleon))))))
(define-public chameleon+mkl+mt
(package
......@@ -48,10 +48,10 @@
(name "chameleon-mkl-mt")
(arguments
(substitute-keyword-arguments (package-arguments chameleon)
((#:configure-flags flags '())
`(cons "-DBLA_VENDOR=Intel10_64lp" (cons "-DCBLAS_MT=ON" (cons "-DLAPACKE_MT=ON" ,flags))))))
((#:configure-flags flags '())
`(cons "-DBLA_VENDOR=Intel10_64lp" (cons "-DCBLAS_MT=ON" (cons "-DLAPACKE_MT=ON" ,flags))))))
(inputs `(("lapack" ,mkl)
,@(delete `("lapack" ,openblas) (package-inputs chameleon))))))
,@(delete `("lapack" ,openblas) (package-inputs chameleon))))))
(define-public chameleon+cuda+mkl+mt
(package
......@@ -59,13 +59,26 @@
(name "chameleon-cuda-mkl-mt")
(arguments
(substitute-keyword-arguments (package-arguments chameleon+mkl+mt)
((#:configure-flags flags '())
`(cons "-DCHAMELEON_USE_CUDA=ON" ,flags))))
((#:configure-flags flags '())
`(cons "-DCHAMELEON_USE_CUDA=ON" ,flags))))
(inputs
`(("cuda" ,cuda)
,@(package-inputs chameleon+mkl+mt)))
(propagated-inputs `(("starpu" ,starpu+cuda)
,@(delete `("starpu" ,starpu) (package-inputs chameleon+mkl+mt))))))
,@(delete `("starpu" ,starpu) (package-inputs chameleon+mkl+mt))))))
(define-public pastix+cuda
(package
(inherit pastix)
(name "pastix-cuda")
(arguments
(substitute-keyword-arguments (package-arguments pastix)
((#:configure-flags flags '())
`(cons "-DPASTIX_WITH_CUDA=ON" ,flags))))
(inputs
`(("cuda" ,cuda)
("starpu" ,starpu+cuda)
,@(delete `("starpu" ,starpu) (package-inputs pastix))))))
(define-public fmr
(package
......@@ -73,22 +86,22 @@
(version "0")
(home-page "https://gitlab.inria.fr/compose/oldstack/fmr")
(source (git-checkout (url "git@gitlab.inria.fr:compose/oldstack/fmr.git")
(recursive? #t)))
(recursive? #t)))
(build-system cmake-build-system)
(arguments
'(#:configure-flags '("-DBUILD_SHARED_LIBS=ON"
"-DCMAKE_NO_SYSTEM_FROM_IMPORTED=ON"
"-DFMR_BUILD_TESTS=ON"
"-DFMR_USE_HDF5=ON")
"-DCMAKE_NO_SYSTEM_FROM_IMPORTED=ON"
"-DFMR_BUILD_TESTS=ON"
"-DFMR_USE_HDF5=ON")
;; FIXME: trouble with STARPU /tmp dir.
#:tests? #f))
(inputs `(("zlib" , zlib)
("bzip2" , bzip2)
("hdf5" , hdf5-1.10)
("lapack" ,mkl)))
("bzip2" , bzip2)
("hdf5" , hdf5-1.10)
("lapack" ,mkl)))
(native-inputs `(("pkg-config" ,pkg-config)
("gfortran" ,gfortran)))
("gfortran" ,gfortran)))
(synopsis "Fast and accurate Methods for Randomized numerical linear algebra")
(description
"This project provides routines for performing low-rank matrix
......@@ -114,25 +127,25 @@ approximations based on randomized techniques.")
(version "0")
(home-page "https://gitlab.inria.fr/compose/oldstack/fmr")
(source (git-checkout (url "git@gitlab.inria.fr:compose/oldstack/fmr.git")
(recursive? #t)))
(recursive? #t)))
(build-system cmake-build-system)
(arguments
'(#:configure-flags '("-DBUILD_SHARED_LIBS=ON"
"-DCMAKE_NO_SYSTEM_FROM_IMPORTED=ON"
"-DFMR_BUILD_TESTS=ON"
"-DFMR_USE_HDF5=ON"
"-DFMR_USE_CHAMELEON=ON")
"-DCMAKE_NO_SYSTEM_FROM_IMPORTED=ON"
"-DFMR_BUILD_TESTS=ON"
"-DFMR_USE_HDF5=ON"
"-DFMR_USE_CHAMELEON=ON")
;; FIXME: trouble with STARPU /tmp dir.
#:tests? #f))
(inputs `(("zlib" , zlib)
("bzip2" , bzip2)
("hdf5" , hdf5-parallel-openmpi)
("lapack" ,mkl)
("chameleon" ,chameleon+mkl+mt)))
("bzip2" , bzip2)
("hdf5" , hdf5-parallel-openmpi)
("lapack" ,mkl)
("chameleon" ,chameleon+mkl+mt)))
(native-inputs `(("pkg-config" ,pkg-config)
("gfortran" ,gfortran)
("ssh" ,openssh)))
("gfortran" ,gfortran)
("ssh" ,openssh)))
(synopsis "Fast and accurate Methods for Randomized numerical linear algebra")
(description
"This project provides routines for performing low-rank matrix
......@@ -145,22 +158,22 @@ approximations based on randomized techniques.")
(version "0")
(home-page "https://gitlab.inria.fr/diodon/cppdiodon")
(source (git-checkout (url "git@gitlab.inria.fr:diodon/cppdiodon.git")
(branch "master"))) ;or (commit "1234abc")
(branch "master"))) ;or (commit "1234abc")
(build-system cmake-build-system)
(arguments
'(#:configure-flags `("-DBUILD_SHARED_LIBS=ON"
"-DCMAKE_NO_SYSTEM_FROM_IMPORTED=ON"
"-DDIODON_USE_INTERNAL_FMR=OFF")
"-DCMAKE_NO_SYSTEM_FROM_IMPORTED=ON"
"-DDIODON_USE_INTERNAL_FMR=OFF")
;; FIXME: trouble with STARPU /tmp dir.
#:tests? #f))
(inputs `(("zlib" ,zlib)
("bzip2" , bzip2)
("hdf5" , hdf5-1.10)
("lapack" ,mkl)
("fmr" ,fmr)))
("bzip2" , bzip2)
("hdf5" , hdf5-1.10)
("lapack" ,mkl)
("fmr" ,fmr)))
(native-inputs `(("pkg-config" ,pkg-config)
("gfortran" ,gfortran)))
("gfortran" ,gfortran)))
(synopsis "Librairies for Multivariate Data Analysis and
Dimensionality Reduction for very large datasets")
......@@ -190,25 +203,25 @@ Reduction for very large datasets.")
(version "0")
(home-page "https://gitlab.inria.fr/diodon/cppdiodon")
(source (git-checkout (url "git@gitlab.inria.fr:diodon/cppdiodon.git")
(branch "master"))) ;or (commit "1234abc")
(branch "master"))) ;or (commit "1234abc")
(build-system cmake-build-system)
(arguments
'(#:configure-flags `("-DBUILD_SHARED_LIBS=ON"
"-DCMAKE_NO_SYSTEM_FROM_IMPORTED=ON"
"-DDIODON_USE_INTERNAL_FMR=OFF"
"-DDIODON_USE_CHAMELEON=ON")
"-DCMAKE_NO_SYSTEM_FROM_IMPORTED=ON"
"-DDIODON_USE_INTERNAL_FMR=OFF"
"-DDIODON_USE_CHAMELEON=ON")
;; FIXME: trouble with STARPU /tmp dir.
#:tests? #f))
(inputs `(("zlib" ,zlib)
("bzip2" , bzip2)
("hdf5" , hdf5-parallel-openmpi)
("lapack" ,mkl)
("chameleon" ,chameleon+mkl+mt)
("fmr" ,fmr+mpi)))
("bzip2" , bzip2)
("hdf5" , hdf5-parallel-openmpi)
("lapack" ,mkl)
("chameleon" ,chameleon+mkl+mt)
("fmr" ,fmr+mpi)))
(native-inputs `(("pkg-config" ,pkg-config)
("gfortran" ,gfortran)
("ssh" ,openssh)))
("gfortran" ,gfortran)
("ssh" ,openssh)))
(synopsis "Librairies for Multivariate Data Analysis and
Dimensionality Reduction for very large datasets")
......
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