Package Details: python-mpi4py-intel 3.1.4-1

Git Clone URL: (read-only, click to copy)
Package Base: python-mpi4py-intel
Description: Python bindings for the Message Passing Interface compiled with intel mpi
Upstream URL:
Licenses: custom:BSD-2-clause
Conflicts: python-mpi4py
Provides: python-mpi4py
Submitter: wjhandley
Maintainer: carlosal1015
Last Packager: carlosal1015
Votes: 0
Popularity: 0.000000
First Submitted: 2018-02-16 12:19 (UTC)
Last Updated: 2023-03-02 17:21 (UTC)

Required by (49)

Sources (1)

Latest Comments

carlosal1015 commented on 2023-07-08 17:05 (UTC) (edited on 2023-07-08 17:16 (UTC) by carlosal1015)

icc is deprecated, that's the reason why we can not build

I guess, we can not run mpi programs with intel for now. Le'ts wait if we can use icl in the future

carlosal1015 commented on 2023-07-07 16:06 (UTC)

Hi @MarsSeed, I noticed it on June 19 but couldn't fix it, I think there was something missing to update in the official package set, anyway I'll take a look if it changed anything, if you have any suggestions please mail me. This is my advance:

# Maintainer: Carlos Aznarán <>
# Contributor: Will Handley <> (
# Based on python-mpi4py, maintained by Bruno Pagani <> and
pkgdesc="Python bindings for the Message Passing Interface compiled with intel mpi"
depends=(python intel-oneapi-basekit)
makedepends=(python-setuptools cython)

build() {
  cd ${_base}-${pkgver}
  source /opt/intel/oneapi/
  source /opt/intel/oneapi/compiler/2023.1.0/env/
  source /opt/intel/oneapi/mpi/2021.9.0/env/
  CC=icx MPICC=mpiicc LDFLAGS="-shared-intel" python build

check() {
  if [ -z "$(ldconfig -p | grep" ]; then
    # We don’t have CUDA by default
    export OMPI_MCA_opal_warn_on_missing_libcuda=0

  # This is required starting with OpenMPI 3.0 when trying to run more
  # processes than the number of available cores
  export OMPI_MCA_rmaps_base_oversubscribe=yes

  cd ${_base}-${pkgver}
  local _pyversion=$(python -c "import sys; print(f'{sys.version_info.major}.{sys.version_info.minor}')")
  PYTHONPATH="${PWD}"/build/lib.linux-${CARCH}-cpython-${_pyversion/./} python test

package() {
  cd ${_base}-${pkgver}
  PYTHONPYCACHEPREFIX="${PWD}/.cache/cpython/" python install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
  install -Dm 644 LICENSE.rst -t "${pkgdir}/usr/share/licenses/${pkgname}"

MarsSeed commented on 2023-07-06 15:31 (UTC)

Missing dependency: intel-oneapi-compiler.