mirror of
https://gitlab.univ-nantes.fr/glicid-public/glicid-non-free.git
synced 2025-05-07 21:53:05 +02:00
openmpi-glicid+cuda
This commit is contained in:
parent
eac20c83f2
commit
897de3e5ad
2 changed files with 92 additions and 1 deletions
|
@ -17,6 +17,11 @@
|
|||
#:use-module (gnu packages geo)
|
||||
#:use-module (gnu packages python-check)
|
||||
#:use-module (guix-science-nonfree packages machine-learning)
|
||||
#:use-module (glicid packages mpi)
|
||||
#:use-module (guix-science-nonfree packages linux)
|
||||
#:use-module (guix-science-nonfree packages cuda)
|
||||
#:use-module (guix utils)
|
||||
|
||||
|
||||
)
|
||||
|
||||
|
@ -205,3 +210,24 @@
|
|||
!#
|
||||
|
||||
|
||||
(define-public openmpi-glicid+cuda
|
||||
(package
|
||||
(inherit openmpi-glicid)
|
||||
(name "openmpi-glicid+cuda")
|
||||
(arguments
|
||||
|
||||
(substitute-keyword-arguments (package-arguments openmpi-glicid)
|
||||
((#:configure-flags flags #~'())
|
||||
#~(append (list (string-append "--with-cuda="
|
||||
#$(this-package-input "cuda-toolkit"))
|
||||
"--enable-mpi-ext=cuda")
|
||||
#$flags))))
|
||||
(inputs (modify-inputs (package-inputs openmpi-glicid)
|
||||
(append cuda)
|
||||
(replace "psm2-upstream" psm2-cuda))) ; todo : psm2-upstream
|
||||
(synopsis "MPI-3 implementation, with CUDA support"))
|
||||
|
||||
|
||||
)
|
||||
|
||||
;openmpi-glicid+cuda
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue