diff options
| author | Andreas Enge <andreas@enge.fr> | 2026-02-07 14:20:30 +0100 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-02-07 14:20:32 +0100 |
| commit | eba1d0d5caa062df7d6595d897861a91db0336c3 (patch) | |
| tree | 467170761754e5fe74efabb06cef8067e1600c22 /gnu/packages/parallel.scm | |
| parent | 0f17bb44a35740186a58300b8a11202957b6596b (diff) | |
gnu: Remove python-slurm-magic.
* gnu/packages/parallel.scm (python-slurm-magic): Delete variable.
Fixes: guix/guix#5298
Change-Id: I6ed4512114551d63ce46b8d91b3b38523ecaee65
Diffstat (limited to 'gnu/packages/parallel.scm')
| -rw-r--r-- | gnu/packages/parallel.scm | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/gnu/packages/parallel.scm b/gnu/packages/parallel.scm index 6405c25733f..a29428c7698 100644 --- a/gnu/packages/parallel.scm +++ b/gnu/packages/parallel.scm | |||
| @@ -561,54 +561,6 @@ processing or with @code{multiprocessing}) and deployment on a cluster or | |||
| 561 | supercomputer (via, e.g., MPI or JobLib).") | 561 | supercomputer (via, e.g., MPI or JobLib).") |
| 562 | (license license:expat))) | 562 | (license license:expat))) |
| 563 | 563 | ||
| 564 | (define-public python-slurm-magic | ||
| 565 | (let ((commit "4c708cc137cb9f4bd5b44cf26837b466d9bf7b65") | ||
| 566 | (revision "0")) | ||
| 567 | (package | ||
| 568 | (name "python-slurm-magic") | ||
| 569 | (version (git-version "0.0.0" revision commit)) | ||
| 570 | (home-page "https://github.com/NERSC/slurm-magic") | ||
| 571 | (source | ||
| 572 | (origin | ||
| 573 | (method git-fetch) | ||
| 574 | (uri (git-reference | ||
| 575 | (url home-page) | ||
| 576 | (commit commit))) | ||
| 577 | (sha256 | ||
| 578 | (base32 "0s69bmiskc6i9x98z6nf9jyi0jc51jpr5599f9b2f2jznz5wr64v")) | ||
| 579 | (file-name (git-file-name name version)))) | ||
| 580 | (build-system pyproject-build-system) | ||
| 581 | (arguments | ||
| 582 | (list | ||
| 583 | #:tests? #f ; No tests. | ||
| 584 | #:phases | ||
| 585 | #~(modify-phases %standard-phases | ||
| 586 | (add-before 'build 'set-slurm-path | ||
| 587 | (lambda* (#:key inputs #:allow-other-keys) | ||
| 588 | ;; The '_execute' method tries to exec 'salloc' | ||
| 589 | ;; etc. from $PATH. Record the absolute file name | ||
| 590 | ;; instead. | ||
| 591 | (let ((slurm-bin (dirname | ||
| 592 | (search-input-file inputs "/bin/sinfo")))) | ||
| 593 | (substitute* "slurm_magic.py" | ||
| 594 | (("name = (.*)$" _ value) | ||
| 595 | (string-append "name = \"" slurm-bin "/\" + " | ||
| 596 | value "\n"))))))))) | ||
| 597 | (native-inputs (list python-setuptools)) | ||
| 598 | (inputs (list slurm)) | ||
| 599 | (propagated-inputs (list python-ipython python-pandas)) | ||
| 600 | (synopsis "Control the SLURM batch scheduler from Jupyter Notebook") | ||
| 601 | (description | ||
| 602 | "This package implements Jupyter/IPython | ||
| 603 | @uref{http://ipython.readthedocs.io/en/stable/interactive/magics.html, magic | ||
| 604 | commands} for interacting with the SLURM workload manager. SLURM magic simply | ||
| 605 | wraps command-line executables and the commands themselves should look like | ||
| 606 | their command-line counterparts. Commands are spawned via @code{subprocess} | ||
| 607 | and output captured in the notebook. Whatever arguments are accepted by a | ||
| 608 | SLURM command line executable are also accepted by the corresponding magic | ||
| 609 | command---e.g., @code{%salloc}, @code{%sbatch}, etc.") | ||
| 610 | (license license:bsd-3)))) | ||
| 611 | |||
| 612 | (define-public pthreadpool | 564 | (define-public pthreadpool |
| 613 | ;; This repository has only one tag, 0.1, which is older than what users | 565 | ;; This repository has only one tag, 0.1, which is older than what users |
| 614 | ;; such as XNNPACK expect. | 566 | ;; such as XNNPACK expect. |
