1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-09 06:30:36 +02:00
Commit Graph

100 Commits

Author SHA1 Message Date
Ludovic Courtès
3f536e01c1 gnu: mpich: Remove input labels and trailing #t in phases.
* gnu/packages/mpi.scm (mpich)[inputs]: Remove labels.
[arguments]: Remove trailing #t from phases.
2022-01-17 19:05:48 +01:00
Ludovic Courtès
7bf85e63c1 gnu: mpich: Allow compilation with GCC 10.
Fixes <https://issues.guix.gnu.org/53320>
Reported by Clément Barthelemy <clement.barthelemy@inria.fr>.

* gnu/packages/mpi.scm (mpich)[arguments]: Add 'define-gfortran-wrapper'
phase.
2022-01-17 19:05:48 +01:00
Philippe SWARTVAGHER
b46c92c579 gnu: hwloc: Update to 2.7.0.
* gnu/packages/mpi.scm (hwloc-2): Update to 2.7.0.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-12-17 09:17:42 +01:00
Ludovic Courtès
8394619bac gnu: Simplify package inputs.
This commit was obtained by running:

  ./pre-inst-env guix style

without any additional argument.
2021-12-13 17:48:25 +01:00
Ricardo Wurmus
9bc0f45df5 Merge remote-tracking branch 'origin/master' into core-updates-frozen 2021-12-05 19:17:41 +01:00
Ricardo Wurmus
2d6be35ea2 gnu: Add openmpi-c++.
* gnu/packages/mpi.scm (openmpi-c++): New variable.
2021-12-02 15:40:45 +01:00
Ludovic Courtès
377e9453ca gnu: Use 'search-input-file' when looking for *.so and *.a.
* gnu/packages/bioinformatics.scm (sailfish)[arguments]: Use
'search-input-file' when looking for *.a and *.so.
* gnu/packages/emulators.scm (dolphin-emu): Likewise.
* gnu/packages/engineering.scm (lepton-eda): Likewise.
(pcb): Likewise.
* gnu/packages/golang.scm (go-1.4): Likewise.
(go-1.14): Likewise.
* gnu/packages/haskell.scm (ghc-7): Likewise.
* gnu/packages/irods.scm (irods): Likewise.
* gnu/packages/language.scm (python2-tegaki-pygtk): Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-lzlib): Likewise.
(sbcl-cl-gobject-introspection): Likewise.
(sbcl-cl-ana): Likewise.
(sbcl-cl-libuv): Likewise.
(sbcl-cl-async): Likewise.
(sbcl-mcclim): Likewise.
(sbcl-zstd): Likewise.
(sbcl-cl-opengl): Likewise.
(sbcl-lev): Likewise.
(sbcl-cl-glfw3): Likewise.
* gnu/packages/machine-learning.scm (tensorflow): Likewise.
* gnu/packages/messaging.scm (utox): Likewise.
* gnu/packages/mpi.scm (java-openmpi): Likewise.
* gnu/packages/music.scm (jack-select): Likewise.
* gnu/packages/pascal.scm (fpc): Likewise.
* gnu/packages/python-crypto.scm (python-libnacl): Likewise.
* gnu/packages/python-xyz.scm (python-cairocffi): Likewise.
(python-pyev): Likewise.
(python-pytidylib): Likewise.
* gnu/packages/radio.scm (unixcw): Likewise.
* gnu/packages/rust.scm (rust-1.32): Likewise.
* gnu/packages/security-token.scm (opensc): Likewise.
(python-pyscard): Likewise.
* gnu/packages/selinux.scm (python-setools): Likewise.
* gnu/packages/spice.scm (libcacard): Likewise.
* gnu/packages/telephony.scm (libtgvoip): Likewise.
2021-07-24 16:23:23 +02:00
Ludovic Courtès
425ccde6ae gnu: Use 'search-input-directory' when looking for C/C++ library headers.
* gnu/packages/arcan.scm (arcan)[arguments]: Use
'search-input-directory' for "include/libdrm" and "include/apr-1".
* gnu/packages/bioinformatics.scm (sailfish): Likewise for jellyfish.
* gnu/packages/boost.scm (boost-for-irods): Likewise for libcxx headers.
* gnu/packages/cedille.scm (cedille): Likewise for IAL headers.
* gnu/packages/compression.scm (snappy-with-clang6): Likewise for libcxx
headers.
* gnu/packages/cups.scm (hplip): Likewise for libusb headers.
* gnu/packages/emulators.scm (pcsxr): Likewise for libcdio headers.
* gnu/packages/game-development.scm (python2-renpy): Likewise for
fribidi headers.
* gnu/packages/games.scm (pokerth): Likewise for libircclient.
* gnu/packages/guile-xyz.scm (guile-persist): Likewise for Guile.
* gnu/packages/hurd.scm (hurd): Likewise for libtirpc.
* gnu/packages/irods.scm (irods, irods-client-icommands): Likewise for
libcxx, catch2, and nlohmann-json-cpp.
* gnu/packages/julia.scm (julia): Use 'search-input-file' for libuv's
errno.h.
* gnu/packages/kde-pim.scm (kdepim-runtime): Use
'search-input-directory' for "include/KF5".
(kmessagelib): Likewise.
* gnu/packages/kde.scm (kdeconnect): Likewise.
* gnu/packages/llvm.scm (clang-runtime-3.5): Likewise for libtirpc.
* gnu/packages/mpi.scm (openmpi): Likewise for "include/infiniband".
* gnu/packages/pumpio.scm (pumpa): Use 'search-input-file' for "tidy.h"
and "aspell.h".
* gnu/packages/radio.scm (dream): Use 'search-input-file' and
'search-input-directory' for pulseaudio, sndfile, etc.
* gnu/packages/selinux.scm (policycoreutils): Likewise for PAM and
libaudit.
* gnu/packages/serialization.scm (avro-cpp-1.9-for-irods): Likewise for
libcxx.
* gnu/packages/sync.scm (nextcloud-client): Likewise for "include/KF5".
* gnu/packages/video.scm (mkvtoolnix): Likewise for "include/gtest".
(libopenshot): Likewise for "include/UnitTest++".
* gnu/packages/virtualization.scm (criu): Likewise for libnl3 and for
protobuf file.
2021-07-24 16:23:23 +02:00
Ludovic Courtès
73622e613b gnu: hwloc: Update to 2.5.0.
* gnu/packages/mpi.scm (hwloc-2): Update to 2.5.0.
2021-06-14 18:35:17 +02:00
Tobias Geerinckx-Rice
f1ecda50de gnu: openmpi: Update to 4.1.1.
* gnu/packages/mpi.scm (openmpi): Update to 4.1.1.
2021-05-02 03:00:04 +02:00
Ludovic Courtès
ee21803288 gnu: openmpi: Update to 4.1.0.
* gnu/packages/mpi.scm (openmpi): Update to 4.1.0.
2021-03-19 13:23:27 +01:00
Ludovic Courtès
14aa86e50c gnu: openmpi: Add 'release-monitoring-url' property.
* gnu/packages/mpi.scm (openmpi)[properties]: New field.
2021-03-19 13:23:26 +01:00
Ludovic Courtès
fe96f64110 gnu: hwloc: Add 'release-monitoring-url' property.
* gnu/packages/mpi.scm (hwloc-1)[properties]: New field.
2021-03-17 12:03:25 +01:00
Mark H Weaver
1a265842e6 gnu: Use PACKAGE/INHERIT in more places.
* gnu/packages/algebra.scm (fftwf, fftw-openmpi),
gnu/packages/audio.scm (ztoolkit-rsvg),
gnu/packages/bioinformatics.scm (python2-dendropy),
gnu/packages/boost.scm (boost-with-python2),
gnu/packages/check.scm (python2-mock, python2-pytest-mock),
gnu/packages/cups.scm (hplip-minimal),
gnu/packages/freedesktop.scm (libinput-minimal),
gnu/packages/gettext.scm (gnu-gettext),
gnu/packages/glib.scm (python2-pygobject),
gnu/packages/gnome.scm (gdl-minimal, libsoup-minimal, python2-pyatspi),
gnu/packages/groff.scm (groff-minimal),
gnu/packages/jami.scm (ffmpeg-jami),
gnu/packages/libcanberra.scm (libcanberra/gtk+-2),
gnu/packages/lirc.scm (python2-lirc),
gnu/packages/llvm.scm (clang-runtime-3.5),
gnu/packages/mpi.scm (java-openmpi, openmpi-thread-multiple),
gnu/packages/node.scm (libnode),
gnu/packages/onc-rpc.scm (libtirpc/hurd),
gnu/packages/python-compression.scm (bitshuffle-for-snappy),
gnu/packages/python-crypto.scm (python2-pycrypto, python2-cryptography)
(python2-cryptography, python2-m2crypto),
gnu/packages/python-web.scm (python2-html2text, python2-tornado)
(python2-terminado, python2-ndg-httpsclient, python2-websocket-client)
(python2-rauth, python2-url, python2-s3transfer),
gnu/packages/python-xyz.scm (python2-psutil, python2-serpent)
(python2-humanfriendly, python2-empy, python2-parse-type, python2-polib)
(python2-jsonschema, python2-pystache, python2-cython, python2-numpydoc)
(python2-ipyparallel, python2-traitlets, python2-dbus)
(python2-beautifulsoup4, python2-pep517, python2-flake8, python2-llfuse)
(python2-tlsh, python-file, python2-notebook, python-jupyter-console-minimal)
(python2-contextlib2, python2-promise, python2-anyjson, python2-amqp)
(python2-kombu, python2-billiard, python2-celery, python2-whoosh)
(python2-jellyfish, python-rope, ptpython-2, python2-binaryornot)
(python2-setproctitle, python2-argcomplete, python2-xopen, python2-isort)
(python2-radon, python2-rfc6555, python2-activepapers, python2-send2trash)
(python2-cloudpickle, python2-reparser),
gnu/packages/python.scm (python2-called-python),
gnu/packages/qt.scm (python2-sip, python-pyqt-without-qtwebkit, python2-pyqt)
(python-qscintilla, python-pyqt+qscintilla),
gnu/packages/scanner.scm (sane-backends),
gnu/packages/sdl.scm (guile3.0-sdl2),
gnu/packages/selinux.scm (checkpolicy, libselinux, libsemanage, secilc)
(python-sepolgen, policycoreutils),
gnu/packages/serialization.scm (lua5.1-libmpack, lua5.2-libmpack),
gnu/packages/simulation.scm (fenics),
gnu/packages/statistics.scm (python2-statsmodels),
gnu/packages/texinfo.scm (info-reader),
gnu/packages/wxwidgets.scm (wxwidgets-gtk2, wxwidgets-gtk2-3.1),
gnu/packages/xml.scm (xmlsec-nss),
gnu/packages/xorg.scm (uim-gtk, uim-qt),
guix/build-system/python.scm (package-with-explicit-python)
(strip-python2-variant): Use PACKAGE/INHERIT.
2021-03-17 03:58:10 -04:00
Ludovic Courtès
1a1d0fe505 gnu: hwloc: Update to 2.4.1.
* gnu/packages/mpi.scm (hwloc-2): Update to 2.4.1.  Adjust URL.
2021-03-10 18:01:47 +01:00
Ludovic Courtès
305eefc062 gnu: hwloc: Add "doc" output.
* gnu/packages/mpi.scm (hwloc-1)[outputs]: Add "doc".
[arguments]: Add 'move-man3-pages' phase.
2020-11-26 00:05:39 +01:00
Ludovic Courtès
c73496f433 gnu: mpich: Configure to use ucx.
Suggested by Maurice Brémond <Maurice.Bremond@inria.fr>.

Fixes bug when running test suites involving MPICH:
<https://issues.guix.gnu.org/39588#15>.

* gnu/packages/mpi.scm (mpich)[arguments]: Pass "--with-device=ch4:ucx".
2020-11-02 14:59:34 +01:00
Ludovic Courtès
215b49a881 gnu: openmpi: Have 'mpirun' look for executables under $prefix.
* gnu/packages/mpi.scm (openmpi)[arguments]: Add
"--enable-mpirun-prefix-by-default" to #:configure-flags.
2020-09-24 17:53:01 +02:00
Greg Hogan
b96f4f0995 gnu: openmpi: Update to 4.0.5.
* gnu/packages/mpi.scm (openmpi): Update to 4.0.5.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2020-09-17 16:18:00 +02:00
Ludovic Courtès
06efbe2fba gnu: hwloc@2: Update to 2.2.0.
* gnu/packages/mpi.scm (hwloc-2): Update to 2.2.0.
2020-03-31 14:55:42 +02:00
Ludovic Courtès
8db4e704dc gnu: hwloc@2: Skip test that fails on emulated hardware.
Works around <https://bugs.gnu.org/40342>.

* gnu/packages/mpi.scm (hwloc-2)[arguments]: Add
'skip-test-that-fails-on-qemu' phase.
2020-03-31 14:55:42 +02:00
Tobias Geerinckx-Rice
f9a69e9bae gnu: openmpi: Use HTTPS home page.
* gnu/packages/mpi.scm (openmpi)[home-page]: Use HTTPS.
2020-03-10 22:02:19 +01:00
Tobias Geerinckx-Rice
9dd7082c48 gnu: openmpi: Update to 4.0.3.
* gnu/packages/mpi.scm (openmpi): Update to 4.0.3.
2020-03-10 22:02:19 +01:00
Efraim Flashner
15e62623cc gnu: mpi.scm: Use 'license:' prefix.
* gnu/packages/mpi.scm: Import (guix licenses) with the 'license:'
prefix.
2020-02-17 20:53:16 +02:00
Maurice Brémond
c70261bfb9 gnu: Add MPICH.
* gnu/packages/mpi.scm (mpich): New variable.

Co-authored-by: Ludovic Courtès <ludovic.courtes@inria.fr>
2020-02-17 18:22:06 +01:00
Ludovic Courtès
9b65dea806 gnu: Use the two-element 'define-deprecated' form where applicable.
* gnu/packages/guile.scm (guile-json): Use the two-element
'define-deprecated' form.
* gnu/packages/kde.scm (kdevplatform): Likewise.
* gnu/packages/mpi.scm (hwloc-2.0): Likewise.
* gnu/packages/qt.scm (qt): Likewise.
2020-01-12 00:19:09 +01:00
Ludovic Courtès
2d6f68aa3b gnu: intel-mpi-benchmarks: Merge with "imb-openmpi".
* gnu/packages/mpi.scm (intel-mpi-benchmarks): Remove.
* gnu/packages/benchmark.scm (imb): Rename to...
(intel-mpi-benchmarks): ... this.  Change 'name'.  Update to 2019.3.
[arguments]: Remove 'build phase.  Rewrite 'install phase.  Pass
 #:parallel-build? and #:make-flags.
(intel-mpi-benchmarks/openmpi): New variable.
(imb-openmpi): Rewrite in terms of 'deprecated-package'.
2019-12-20 22:35:12 +01:00
Ludovic Courtès
68ac34e120 gnu: openmpi: Increase priority of the PSM component.
* gnu/packages/patches/openmpi-psm2-priority.patch: Rename to...
* gnu/packages/patches/openmpi-mtl-priorities.patch: ... this.  Add hunk
to change the priority of PSM.
* gnu/packages/mpi.scm (openmpi)[source]: Adjust accordingly.
* gnu/local.mk (dist_patch_DATA): Likewise.
2019-11-29 15:54:19 +01:00
Ludovic Courtès
0d8a8234b5 gnu: hwloc: Adjust references to 'hwloc'.
This is a followup to 8ec7ca22d3, which
led to a stack overflow (cyclic graph) when attempting to build HWLOC-2.

* gnu/packages/mpi.scm (hwloc-2): Refer to HWLOC-1 instead of HWLOC.
2019-11-19 11:32:48 +01:00
Ludovic Courtès
8ec7ca22d3 gnu: hwloc: Default to 2.x.
* gnu/packages/mpi.scm (hwloc): Rename to...
(hwloc-1): ... this.
(hwloc-2): Adjust 'inherit' clause accordingly.
(hwloc): New variable.
2019-11-19 10:51:53 +01:00
Ludovic Courtès
b1077c2234 gnu: openmpi: Silence UCX warnings when running tests.
* gnu/packages/mpi.scm (%openmpi-setup): Set "UCX_LOG_LEVEL".
2019-11-16 17:43:49 +01:00
Ludovic Courtès
6f160c5c38 Revert "gnu: openmpi: Pass explicit "--with-*" configure flags."
This reverts commit eaa52b5baa,
which would lead to build failures on systems other than x86_64-linux.
2019-11-15 23:28:17 +01:00
Ludovic Courtès
96a469f1cd gnu: openmpi: Fix typo.
* gnu/packages/mpi.scm (openmpi)[inputs]: For UCX, check the supported
systems of UCX, not PSM2.
2019-11-15 23:28:17 +01:00
Ludovic Courtès
faab7082ab gnu: openmpi: Raise the priority of the PSM2 component.
This allows us to get better performance by default on machines with
OmniPath hardware.

* gnu/packages/patches/openmpi-psm2-priority.patch: New file.
* gnu/packages/mpi.scm (openmpi)[source]: Use it.
* gnu/local.mk (dist_patch_DATA): Add it.
2019-11-15 17:52:45 +01:00
Ludovic Courtès
58a536bb1b gnu: openmpi, slurm: Switch to hwloc 2.x.
* gnu/packages/mpi.scm (openmpi)[inputs]: Switch to HWLOC-2.
* gnu/packages/parallel.scm (slurm)[inputs]: Likewise.
2019-11-15 17:52:45 +01:00
Ludovic Courtès
8c8e108978 gnu: hwloc: Update to 2.1.0.
* gnu/packages/mpi.scm (hwloc-2.0): Rename to...
(hwloc-2): ... this.  Update to 2.1.0
(hwloc-2.0): Define as deprecated.
* gnu/packages/opencl.scm (pocl)[inputs]: Adjust accordingly.
2019-11-15 17:52:45 +01:00
Ludovic Courtès
c1ea4c0793 gnu: Add Intel MPI Benchmarks.
* gnu/packages/mpi.scm (intel-mpi-benchmarks): New variable.
2019-11-15 17:52:44 +01:00
Ludovic Courtès
eaa52b5baa gnu: openmpi: Pass explicit "--with-*" configure flags.
* gnu/packages/mpi.scm (openmpi)[arguments]: Pass "--with-ucx",
"--with-psm", and "--with-psm2".
2019-11-15 17:52:44 +01:00
Tobias Geerinckx-Rice
fe39020011 gnu: python-mpi4py: Update to 3.0.3.
* gnu/packages/mpi.scm (python-mpi4py): Update to 3.0.3.
2019-11-08 23:11:01 +01:00
Ludovic Courtès
8ba94edd8f gnu: openmpi: Add dependency on UCX when supported.
* gnu/packages/mpi.scm (openmpi)[inputs]: Add UCX conditionally.
2019-10-15 13:58:45 +02:00
Ludovic Courtès
8f02e5ac81 gnu: openmpi: Update to 4.0.2.
* gnu/packages/mpi.scm (openmpi): Update to 4.0.2.
2019-10-10 17:23:52 +02:00
Marius Bakke
97149c5767 gnu: Adjust uses of C{,PLUS}_INCLUDE_PATH for GCC 7.
These variables are no longer set in the build environment by default.  GCC
still respects these search paths and treats them as "system headers" so we
can continue to use them, just not expect them to be available.

* gnu/packages/mpi.scm (openmpi)[arguments]: Do not attempt to read from
C_INCLUDE_PATH, nor CPLUS_INCLUDE_PATH.
* gnu/packages/games.scm (kiki)[arguments]: Likewise.
* gnu/packages/networking.scm (hcxtools)[arguments]: Likewise.
* gnu/packages/synergy.scm (synergy)[arguments]: Likewise.
* gnu/packages/bioinformatics.scm (gemma, sailfish)[arguments]: Likewise.
* gnu/packages/maths.scm (dune-alugrid)[arguments]: Likewise.
2019-07-14 18:13:34 +02:00
Paul Garlick
2c12be76cd gnu: python-mpi4py: Update to 3.0.2.
* gnu/packages/mpi.scm (python-mpi4py): Update to 3.0.2.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2019-06-21 09:04:37 +02:00
Tobias Geerinckx-Rice
6e36c6ed8f gnu: openmpi: Update to .
* gnu/packages/mpi.scm (openmpi): Update to .
mpi
openmpi
2019-04-16 00:05:04 +02:00
Ricardo Wurmus
fa5a253866 gnu: Add java-openmpi.
* gnu/packages/mpi.scm (java-openmpi): New variable.
2019-03-18 18:24:45 +01:00
Eric Bavier
5cfed7efc8 gnu: openmpi: Let configure enable PSM based on inputs.
This fixes OpenMPI builds on systems not supported by the PSM packages.

* gnu/packages/mpi.scm (openmpi)[arguments]: Remove '--enable-psm' and
'--enable-psm2' from #:configure-flags.
2019-02-20 22:18:45 -06:00
Paul Garlick
b49c8b9ef8 gnu: python-mpi4py: Update to 3.0.1.
* gnu/packages/mpi.scm (python-mpi4py): Update to 3.0.1.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2019-02-18 21:41:12 +01:00
Ricardo Wurmus
e9823f9ca3 gnu: openmpi: Add InfiniBand support.
* gnu/packages/mpi.scm (openmpi)[inputs]: Add opensm.
[arguments]: Add openib configure flags; add build phase
"find-opensm-headers".
2019-02-17 09:59:46 +01:00
Eric Bavier
41313acebf gnu: openmpi: Upgrade to 4.0.0.
* gnu/packages/linux.scm (psm)[arguments]: Add 'patch-sysmacros phase to fix
"undefined reference to `minor'" errors while linking against
libinfinipath.so.
* gnu/packages/mpi.scm (openmpi): Upgrade to 4.0.0.
[inputs]: Add libevent.
[arguments]: Simplify configure-flags.  Use system libevent.  Adjust romio
version strings.
(%openmpi-setup): Use OMPI_MCA_rmaps_base_mapping_policy for oversubscription.
2019-02-09 00:50:16 -06:00
Ludovic Courtès
b07712bfb1 gnu: openmpi: Add dependency on SLURM.
This allows users to run Open MPI programs with 'srun'.

* gnu/packages/mpi.scm (openmpi)[inputs]: Add SLURM.
[arguments]: Add "--with-pmi" to #:configure-flags.
2019-02-07 15:46:45 +01:00