2021-10-24 22:23:44 +02:00
|
|
|
(define-module (glicid packages parallel)
|
|
|
|
#:use-module (guix packages)
|
|
|
|
#:use-module (guix download)
|
2023-07-10 23:01:06 +02:00
|
|
|
#:use-module (guix gexp)
|
2022-11-30 15:23:24 +01:00
|
|
|
#:use-module (guix git-download)
|
2021-10-24 22:23:44 +02:00
|
|
|
#:use-module (guix build-system gnu)
|
2023-01-02 11:18:12 +01:00
|
|
|
#:use-module ((guix licenses)
|
|
|
|
#:prefix license:)
|
2021-10-24 22:23:44 +02:00
|
|
|
#:use-module (gnu packages parallel)
|
2023-01-02 11:18:12 +01:00
|
|
|
#:use-module (gnu packages gtk)
|
2021-10-24 22:23:44 +02:00
|
|
|
#:use-module (gnu packages libevent)
|
2022-05-10 10:00:46 +02:00
|
|
|
#:use-module (gnu packages perl)
|
|
|
|
#:use-module (gnu packages python)
|
2021-10-24 22:23:44 +02:00
|
|
|
#:use-module (gnu packages compression)
|
2022-05-10 10:00:46 +02:00
|
|
|
#:use-module (gnu packages mpi)
|
|
|
|
#:use-module (gnu packages haskell-xyz)
|
2021-10-24 22:23:44 +02:00
|
|
|
#:use-module (gnu packages databases)
|
2022-05-11 16:55:48 +02:00
|
|
|
#:use-module (glicid utils)
|
2023-01-02 11:18:12 +01:00
|
|
|
#:use-module (glicid packages fabric-management) ;for latest ucx
|
2023-07-11 16:32:25 +02:00
|
|
|
#:use-module (gnu packages fabric-management)
|
2023-01-02 11:18:12 +01:00
|
|
|
#:use-module (glicid packages containers) ;for latest podman
|
|
|
|
#:use-module (gnu packages compression) ;lz4
|
|
|
|
#:use-module (gnu packages lua) ;lua
|
2023-07-11 12:37:24 +02:00
|
|
|
#:use-module ((guix utils) #:select (target-64bit?))
|
|
|
|
|
2023-01-02 11:18:12 +01:00
|
|
|
)
|
2021-10-24 22:23:44 +02:00
|
|
|
|
2022-05-10 10:00:46 +02:00
|
|
|
(define-public openpmix-3.1.5
|
|
|
|
(package
|
2023-07-11 16:32:25 +02:00
|
|
|
(name "openpmix-3")
|
2022-05-10 10:00:46 +02:00
|
|
|
(version "3.1.5")
|
2023-01-02 11:18:12 +01:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
|
|
|
"https://github.com/openpmix/openpmix/releases/download/v"
|
|
|
|
version "/pmix-" version ".tar.bz2"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1xswdkfcrw123ghcr9gmrb852nzjbl4i6qwrid3xyma42yal34w8"))))
|
2022-05-10 10:00:46 +02:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
2023-01-02 11:18:12 +01:00
|
|
|
`(#:configure-flags (list (string-append "--with-hwloc="
|
|
|
|
(assoc-ref %build-inputs "hwloc")))))
|
2022-05-10 10:00:46 +02:00
|
|
|
(synopsis "MPIX lib")
|
2023-01-02 11:18:12 +01:00
|
|
|
(description "MPIX. More to come. FIXIT")
|
2022-05-10 10:00:46 +02:00
|
|
|
(home-page "https://www.gnu.org/software/hello/")
|
|
|
|
(license license:gpl3+)
|
2023-01-02 11:45:53 +01:00
|
|
|
(inputs (list libevent
|
|
|
|
`(,hwloc-2 "lib") perl))))
|
2021-10-24 22:30:40 +02:00
|
|
|
|
2023-07-11 14:53:09 +02:00
|
|
|
(define-public openpmix-3.2.4
|
|
|
|
(package
|
|
|
|
(inherit openpmix-3.1.5)
|
|
|
|
(version "3.2.4")
|
|
|
|
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
|
|
|
"https://github.com/openpmix/openpmix/releases/download/v"
|
|
|
|
version "/pmix-" version "-2.tar.bz2")) ;; note -2 !!
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0hnqx2f72g2n5fnib5dv1qwfp2vjp00lbj1k9zlylpq5bbb3ykp5"))))
|
|
|
|
|
|
|
|
))
|
|
|
|
|
|
|
|
|
2022-05-10 10:00:46 +02:00
|
|
|
(define-public openpmix-4.1.0
|
|
|
|
(package
|
|
|
|
(inherit openpmix-3.1.5)
|
2023-07-11 16:32:25 +02:00
|
|
|
(name "openpmix-4")
|
2022-05-10 10:00:46 +02:00
|
|
|
(version "4.1.0")
|
2023-01-02 11:18:12 +01:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
|
|
|
"https://github.com/openpmix/openpmix/releases/download/v"
|
|
|
|
version "/pmix-" version ".tar.bz2"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0bl4gkh87csm3yh418wvrih35mg6swavcxj78gyb7gr1qsk0apql"))))
|
2023-01-02 11:45:53 +01:00
|
|
|
(inputs (modify-inputs (package-inputs openpmix-3.1.5)
|
|
|
|
(prepend python zlib pandoc)))))
|
2023-01-02 11:18:12 +01:00
|
|
|
|
2023-07-10 21:33:38 +02:00
|
|
|
(define-public openpmix-4.2.4
|
|
|
|
(package
|
|
|
|
(inherit openpmix-4.1.0)
|
|
|
|
(version "4.2.4")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
|
|
|
"https://github.com/openpmix/openpmix/releases/download/v"
|
|
|
|
version "/pmix-" version ".tar.bz2"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2023-07-10 23:01:06 +02:00
|
|
|
"1j11n1j1g6dq49jxcy44s48jvncwvarb8wmcpmw3m397y91rasf4"))))))
|
2023-07-10 21:33:38 +02:00
|
|
|
|
2023-07-11 14:53:09 +02:00
|
|
|
(define-public openpmix-3
|
|
|
|
openpmix-3.2.4)
|
2023-07-10 21:33:38 +02:00
|
|
|
|
2023-07-11 14:53:09 +02:00
|
|
|
(define-public openpmix-4
|
2023-07-10 23:01:06 +02:00
|
|
|
openpmix-4.2.4)
|
2022-05-10 10:00:46 +02:00
|
|
|
|
2023-07-11 14:53:09 +02:00
|
|
|
(define-public openpmix
|
2023-07-11 16:32:25 +02:00
|
|
|
openpmix-3) ; compat with nautilus…
|
2023-07-11 14:53:09 +02:00
|
|
|
|
2022-05-11 16:55:48 +02:00
|
|
|
(define-public slurm-20.02-upstream
|
2023-01-02 11:18:12 +01:00
|
|
|
(package
|
2022-05-10 10:00:46 +02:00
|
|
|
(inherit slurm-20.02)
|
2022-05-11 16:55:48 +02:00
|
|
|
(name "slurm-upstream")
|
2022-05-10 10:00:46 +02:00
|
|
|
(version "20.02.7")
|
2023-01-02 11:18:12 +01:00
|
|
|
(source (origin
|
|
|
|
(inherit (package-source slurm-20.02))
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "https://download.schedmd.com/slurm/slurm-"
|
|
|
|
version ".tar.bz2"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1khlv69q41chgkcs1i7l651hvyx8sz3j9yhjbgky3gpqrgrmz1h6"))))))
|
2022-05-11 16:55:48 +02:00
|
|
|
|
|
|
|
(define slurm-20.02-latest
|
2023-01-02 11:18:12 +01:00
|
|
|
(latest-version slurm-20.02 slurm-20.02-upstream))
|
2022-05-11 16:55:48 +02:00
|
|
|
|
|
|
|
(define-public slurm-20.02-glicid
|
2023-01-02 11:18:12 +01:00
|
|
|
(package
|
2022-05-11 16:55:48 +02:00
|
|
|
(inherit slurm-20.02-latest)
|
|
|
|
(name "slurm-glicid")
|
2023-01-02 14:46:00 +01:00
|
|
|
(inputs (modify-inputs (package-inputs slurm-20.02-latest)
|
|
|
|
(prepend gtk+-2
|
|
|
|
`(,mariadb "dev"))))))
|
2021-10-24 22:23:44 +02:00
|
|
|
|
2022-05-11 16:55:48 +02:00
|
|
|
(define-public slurm-20.11-upstream
|
2023-01-02 11:18:12 +01:00
|
|
|
(package
|
2022-05-11 16:55:48 +02:00
|
|
|
(inherit slurm-20.11)
|
|
|
|
(name "slurm-upstream")
|
|
|
|
(version "20.11.9")
|
2023-01-02 11:18:12 +01:00
|
|
|
(source (origin
|
|
|
|
(inherit (package-source slurm-20.11))
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "https://download.schedmd.com/slurm/slurm-"
|
|
|
|
version ".tar.bz2"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0xq2d6dm285y541dyg1h66z7svsisrq8c81ag0f601xz1cn3mq9m"))
|
|
|
|
|
|
|
|
))))
|
2022-05-11 16:55:48 +02:00
|
|
|
|
|
|
|
(define slurm-20.11-latest
|
2023-01-02 11:18:12 +01:00
|
|
|
(latest-version slurm-20.11 slurm-20.11-upstream))
|
2022-05-11 16:55:48 +02:00
|
|
|
|
2022-05-10 10:00:46 +02:00
|
|
|
(define-public slurm-20.11-glicid
|
2023-01-02 11:18:12 +01:00
|
|
|
(package
|
2022-05-11 16:55:48 +02:00
|
|
|
(inherit slurm-20.11-latest)
|
2022-05-10 10:00:46 +02:00
|
|
|
(name "slurm-glicid")
|
2023-01-02 14:46:00 +01:00
|
|
|
(inputs (modify-inputs (package-inputs slurm-20.11-latest)
|
|
|
|
(prepend gtk+-2
|
|
|
|
`(,mariadb "dev"))))))
|
2022-05-11 16:55:48 +02:00
|
|
|
|
|
|
|
(define-public slurm-21.08-upstream
|
2023-01-02 11:18:12 +01:00
|
|
|
(package
|
2022-05-11 16:55:48 +02:00
|
|
|
(inherit slurm)
|
|
|
|
(name "slurm-upstream")
|
|
|
|
(version "21.08.8-2")
|
2023-01-02 11:18:12 +01:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "https://download.schedmd.com/slurm/slurm-"
|
|
|
|
version ".tar.bz2"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"01lynxvfzjswq5zxfxzjqjalj1s596lh58f5g8xqb6as9gdcyzgg"))))))
|
2021-10-24 22:23:44 +02:00
|
|
|
|
2022-05-11 16:55:48 +02:00
|
|
|
(define slurm-21.08-latest
|
2023-01-02 11:18:12 +01:00
|
|
|
(latest-version slurm slurm-21.08-upstream))
|
2022-05-11 16:55:48 +02:00
|
|
|
|
|
|
|
(define-public slurm-21.08-glicid
|
2023-01-02 11:18:12 +01:00
|
|
|
(package
|
2022-05-11 16:55:48 +02:00
|
|
|
(inherit slurm-21.08-latest)
|
|
|
|
(name "slurm-glicid")
|
2023-01-02 14:46:00 +01:00
|
|
|
|
2023-01-02 14:46:20 +01:00
|
|
|
(inputs (modify-inputs (package-inputs slurm-21.08-latest)
|
2023-01-02 14:46:00 +01:00
|
|
|
(prepend gtk+-2
|
|
|
|
`(,mariadb "dev"))))))
|
2022-05-11 16:55:48 +02:00
|
|
|
|
2022-05-13 12:02:29 +02:00
|
|
|
(define-public slurm-22.05-upstream
|
2023-01-02 11:18:12 +01:00
|
|
|
(package
|
2022-05-13 12:02:29 +02:00
|
|
|
(inherit slurm)
|
|
|
|
(name "slurm-upstream")
|
2023-05-12 09:21:04 +02:00
|
|
|
(version "22.05.9")
|
2023-01-02 11:18:12 +01:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "https://download.schedmd.com/slurm/slurm-"
|
|
|
|
version ".tar.bz2"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2023-05-12 09:21:04 +02:00
|
|
|
"1lnhhpsyzcz8hnjb4bxdxpyqlrkxwgg832d545n25fm77hljywqb"))))))
|
2022-05-13 12:02:29 +02:00
|
|
|
|
|
|
|
(define slurm-22.05-latest
|
2023-01-02 11:18:12 +01:00
|
|
|
(latest-version slurm slurm-22.05-upstream))
|
2022-05-13 12:02:29 +02:00
|
|
|
|
2023-07-11 16:32:25 +02:00
|
|
|
(define-public slurm-22.05-glicid-std
|
2023-01-02 11:18:12 +01:00
|
|
|
(package
|
2022-05-13 12:02:29 +02:00
|
|
|
(inherit slurm-22.05-latest)
|
2023-07-11 16:32:25 +02:00
|
|
|
(name "slurm-glicid-noucx-nopmix")
|
2023-01-02 14:46:00 +01:00
|
|
|
(inputs (modify-inputs (package-inputs slurm-22.05-latest)
|
2023-07-11 16:32:25 +02:00
|
|
|
(prepend gtk+-2 ucx openpmix-3
|
2023-04-06 12:20:12 +02:00
|
|
|
`(,mariadb "dev"))))))
|
2022-05-13 12:02:29 +02:00
|
|
|
|
2023-07-10 23:01:06 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
2023-07-11 16:32:25 +02:00
|
|
|
(define-public slurm-22.05-glicid
|
2023-07-11 12:21:01 +02:00
|
|
|
(package
|
2023-07-11 16:32:25 +02:00
|
|
|
(inherit slurm-22.05-glicid-std)
|
|
|
|
(version "22.05.9")
|
|
|
|
(name "slurm-glicid")
|
2023-07-11 12:21:01 +02:00
|
|
|
(arguments
|
|
|
|
(list #:configure-flags
|
|
|
|
#~(list "--enable-pam" "--sysconfdir=/etc/slurm"
|
|
|
|
"--disable-static"
|
|
|
|
(string-append "--with-freeipmi=" #$(this-package-input "freeipmi"))
|
|
|
|
(string-append "--with-hwloc="
|
|
|
|
(ungexp (this-package-input "hwloc") "lib"))
|
|
|
|
(string-append "--with-json=" #$(this-package-input "json-c"))
|
|
|
|
(string-append "--with-munge=" #$(this-package-input "munge"))
|
2023-07-11 16:32:25 +02:00
|
|
|
; (string-append "--with-pmix=" #$(this-package-input "openpmix-3") ":" #$(this-package-input "openpmix-4") )
|
|
|
|
(string-append "--with-pmix=" #$(this-package-input "openpmix-3"))
|
|
|
|
(string-append "--with-ucx=" #$(this-package-input "ucx"))
|
|
|
|
; (string-append "--with-pmix=" #$(this-package-input "openpmix-4"))
|
2023-07-11 12:21:01 +02:00
|
|
|
;; 32-bit support is marked as deprecated and needs to be
|
|
|
|
;; explicitly enabled.
|
|
|
|
#$@(if (target-64bit?) '() '("--enable-deprecated")))
|
|
|
|
#:phases
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
(add-after 'unpack 'patch-plugin-linker-flags
|
|
|
|
(lambda _
|
|
|
|
(substitute* (find-files "src/plugins/" "Makefile.in")
|
|
|
|
(("_la_LDFLAGS = ")
|
|
|
|
"_la_LDFLAGS = ../../../api/libslurm.la "))))
|
|
|
|
(add-after 'patch-plugin-linker-flags 'autoconf
|
|
|
|
(lambda _ (invoke "autoconf"))) ;configure.ac was patched
|
|
|
|
(add-after 'install 'install-libpmi
|
|
|
|
(lambda _
|
|
|
|
;; Open MPI expects libpmi to be provided by Slurm so install it.
|
|
|
|
(invoke "make" "install" "-C" "contribs/pmi")
|
|
|
|
|
|
|
|
;; Others expect pmi2.
|
|
|
|
(invoke "make" "install" "-C" "contribs/pmi2"))))))
|
|
|
|
)
|
|
|
|
)
|
2023-07-10 23:01:06 +02:00
|
|
|
|
|
|
|
|
2022-11-30 15:23:24 +01:00
|
|
|
(define-public slurm-23.02-upstream
|
2023-01-02 11:18:12 +01:00
|
|
|
(package
|
2022-11-30 15:23:24 +01:00
|
|
|
(inherit slurm)
|
|
|
|
(name "slurm-upstream")
|
2023-02-28 21:48:26 +01:00
|
|
|
(version "23.02.0")
|
2023-02-28 22:27:05 +01:00
|
|
|
; (source (origin
|
2023-01-02 11:18:12 +01:00
|
|
|
|
2023-02-28 21:48:26 +01:00
|
|
|
; (method git-fetch)
|
|
|
|
; (uri (git-reference
|
|
|
|
; (url "https://github.com/SchedMD/slurm")
|
|
|
|
; (commit "slurm-23-02-0-1")))
|
|
|
|
; (file-name (git-file-name name version))
|
|
|
|
; (sha256
|
|
|
|
; (base32
|
|
|
|
; "1iwyvkfipizy46fi5plc3h8qvympx41l5bw58jw4kx01qi5fvj0z"))))))
|
|
|
|
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "https://download.schedmd.com/slurm/slurm-"
|
|
|
|
version ".tar.bz2"))
|
2023-01-02 11:18:12 +01:00
|
|
|
(sha256
|
|
|
|
(base32
|
2023-02-28 22:27:05 +01:00
|
|
|
"186fahlsl2500lrmb8ydzkli0i4bcyaf32y5fj87z9bi93905f91"))))))
|
2023-02-28 21:48:26 +01:00
|
|
|
|
2022-11-30 15:23:24 +01:00
|
|
|
|
|
|
|
(define slurm-23.02-latest
|
2023-01-02 11:18:12 +01:00
|
|
|
(latest-version slurm slurm-23.02-upstream))
|
2022-11-30 15:23:24 +01:00
|
|
|
|
|
|
|
(define-public slurm-23.02-glicid
|
|
|
|
(package
|
|
|
|
(inherit slurm-23.02-latest)
|
2023-02-28 09:44:58 +01:00
|
|
|
(name "slurm-upstream-glicid")
|
2023-01-02 11:45:53 +01:00
|
|
|
(inputs (modify-inputs (package-inputs slurm-23.02-latest)
|
|
|
|
(prepend gtk+-2
|
|
|
|
`(,mariadb "dev")
|
|
|
|
ucx-latest-glicid ;not autotested by config
|
|
|
|
podman
|
|
|
|
lua
|
|
|
|
lz4)))))
|
2023-01-02 11:18:12 +01:00
|
|
|
|
|
|
|
(define-public slurm-glicid
|
|
|
|
slurm-22.05-glicid)
|
|
|
|
(define-public slurm-ccipl
|
2023-07-11 16:32:25 +02:00
|
|
|
slurm-22.05-glicid)
|
2023-01-02 11:18:12 +01:00
|
|
|
(define-public slurm-glicid-preprod
|
|
|
|
slurm-22.05-glicid)
|
|
|
|
(define-public slurm-glicid-test
|
|
|
|
slurm-23.02-glicid)
|
2022-11-30 15:23:24 +01:00
|
|
|
|