mirror of
https://gitlab.univ-nantes.fr/glicid-public/guix-glicid.git
synced 2025-04-29 21:58:36 +02:00
now uses pmix4
This commit is contained in:
parent
e72be3e3f1
commit
fe3d29066d
1 changed files with 20 additions and 15 deletions
|
@ -10,29 +10,34 @@
|
|||
#:use-module (guix gexp)
|
||||
#:use-module (gnu packages))
|
||||
|
||||
(define-public openmpi-glicid
|
||||
|
||||
;(define-public openmpi-glicid-internal-pmix
|
||||
; (package/inherit gnu:openmpi-4
|
||||
; (name "openmpi-glicid")
|
||||
; (inputs (modify-inputs (package-inputs gnu:openmpi-4)
|
||||
; (append openpmix) ;; because we use pmix4 now, openpmi-4 defaults to internal pmix3
|
||||
; (replace "slurm" slurm-glicid)))
|
||||
;
|
||||
; )
|
||||
;)
|
||||
|
||||
|
||||
|
||||
(define-public openmpi-glicid-pmix
|
||||
(package/inherit gnu:openmpi-4
|
||||
(name "openmpi-glicid")
|
||||
(inputs (modify-inputs (package-inputs gnu:openmpi-4)
|
||||
(append openpmix) ;; because we use pmix4 now, openpmi-4 defaults to internal pmix3
|
||||
(replace "slurm" slurm-glicid)))
|
||||
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
|
||||
(define-public openmpi-glicid-new
|
||||
(package/inherit gnu:openmpi-4
|
||||
(name "openmpi-glicid-new")
|
||||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments gnu:openmpi-4)
|
||||
((#:configure-flags flags)
|
||||
(append `(cons* "--with-pmix=external" ,flags)))))
|
||||
#~(append #$flags (list ;; original flags has --with-pmix=internal, we should remove it but last --with-pmix is the one taken into account.
|
||||
(string-append "--with-pmix=" #$(this-package-input "openpmix"))
|
||||
(string-append "--with-prrte=" #$(this-package-input "prrte"))
|
||||
) ;#$flags
|
||||
))))
|
||||
(inputs (modify-inputs (package-inputs gnu:openmpi-4)
|
||||
(append openpmix) ;; because we use pmix4 now, openpmi-4 defaults to internal pmix3
|
||||
(append prrte) ;; idem
|
||||
(replace "slurm" slurm-glicid)))
|
||||
|
||||
)
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue