mirror of
https://gitlab.univ-nantes.fr/glicid-public/glicid-non-free.git
synced 2025-04-28 17:28:35 +02:00
add slurm-glicid+cuda
This commit is contained in:
parent
9092da4571
commit
fc776e6830
1 changed files with 25 additions and 0 deletions
25
glicid-tainted/packages/parallel.scm
Normal file
25
glicid-tainted/packages/parallel.scm
Normal file
|
@ -0,0 +1,25 @@
|
|||
(define-module (glicid-tainted packages parallel)
|
||||
#:use-module (guix packages)
|
||||
#:use-module (guix download)
|
||||
#:use-module (glicid packages parallel)
|
||||
#:use-module (guix-science-nonfree packages cuda)
|
||||
)
|
||||
|
||||
(define-public slurm-glicid+cuda
|
||||
(package
|
||||
(inherit slurm-glicid)
|
||||
(name "slurm-glicid+cuda")
|
||||
|
||||
(inputs (modify-inputs (package-inputs slurm-glicid)
|
||||
(prepend cuda)))
|
||||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments slurm)
|
||||
;; Necessary because libnvidia-ml.so.1 does not actually exist.
|
||||
((#:validate-runpath? _ #f)
|
||||
#false)
|
||||
((#:configure-flags flags '())
|
||||
#~(append (list (string-append "--with-nvml="
|
||||
#$(this-package-input "cuda-toolkit")))
|
||||
#$flags))))))
|
||||
|
||||
|
Loading…
Add table
Reference in a new issue