You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version: 1.86.2
Commit: fa212ca
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Embedder: openvscode-server
(test-env) codeany ➜ .../python/DOLFINx/dolfinx-0.9.0.post1/python (main) $ pip install mpi4py
Collecting mpi4py
Using cached mpi4py-4.0.1.tar.gz (466 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: mpi4py
Building wheel for mpi4py (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for mpi4py (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [79 lines of output]
running bdist_wheel
running build
running build_src
using Cython 3.0.11
cythonizing 'src/mpi4py/MPI.pyx' -> 'src/mpi4py/MPI.c'
running build_py
creating build/lib.linux-x86_64-cpython-310/mpi4py
copying src/mpi4py/init.py -> build/lib.linux-x86_64-cpython-310/mpi4py
copying src/mpi4py/main.py -> build/lib.linux-x86_64-cpython-310/mpi4py
copying src/mpi4py/bench.py -> build/lib.linux-x86_64-cpython-310/mpi4py
copying src/mpi4py/run.py -> build/lib.linux-x86_64-cpython-310/mpi4py
copying src/mpi4py/typing.py -> build/lib.linux-x86_64-cpython-310/mpi4py
creating build/lib.linux-x86_64-cpython-310/mpi4py/futures
copying src/mpi4py/futures/init.py -> build/lib.linux-x86_64-cpython-310/mpi4py/futures
copying src/mpi4py/futures/main.py -> build/lib.linux-x86_64-cpython-310/mpi4py/futures
copying src/mpi4py/futures/_base.py -> build/lib.linux-x86_64-cpython-310/mpi4py/futures
copying src/mpi4py/futures/_core.py -> build/lib.linux-x86_64-cpython-310/mpi4py/futures
copying src/mpi4py/futures/aplus.py -> build/lib.linux-x86_64-cpython-310/mpi4py/futures
copying src/mpi4py/futures/pool.py -> build/lib.linux-x86_64-cpython-310/mpi4py/futures
copying src/mpi4py/futures/server.py -> build/lib.linux-x86_64-cpython-310/mpi4py/futures
copying src/mpi4py/futures/util.py -> build/lib.linux-x86_64-cpython-310/mpi4py/futures
creating build/lib.linux-x86_64-cpython-310/mpi4py/util
copying src/mpi4py/util/init.py -> build/lib.linux-x86_64-cpython-310/mpi4py/util
copying src/mpi4py/util/dtlib.py -> build/lib.linux-x86_64-cpython-310/mpi4py/util
copying src/mpi4py/util/pkl5.py -> build/lib.linux-x86_64-cpython-310/mpi4py/util
copying src/mpi4py/util/pool.py -> build/lib.linux-x86_64-cpython-310/mpi4py/util
copying src/mpi4py/util/sync.py -> build/lib.linux-x86_64-cpython-310/mpi4py/util
copying src/mpi4py/MPI.pyi -> build/lib.linux-x86_64-cpython-310/mpi4py
copying src/mpi4py/init.pyi -> build/lib.linux-x86_64-cpython-310/mpi4py
copying src/mpi4py/main.pyi -> build/lib.linux-x86_64-cpython-310/mpi4py
copying src/mpi4py/bench.pyi -> build/lib.linux-x86_64-cpython-310/mpi4py
copying src/mpi4py/run.pyi -> build/lib.linux-x86_64-cpython-310/mpi4py
copying src/mpi4py/typing.pyi -> build/lib.linux-x86_64-cpython-310/mpi4py
copying src/mpi4py/py.typed -> build/lib.linux-x86_64-cpython-310/mpi4py
copying src/mpi4py/MPI.pxd -> build/lib.linux-x86_64-cpython-310/mpi4py
copying src/mpi4py/init.pxd -> build/lib.linux-x86_64-cpython-310/mpi4py
copying src/mpi4py/libmpi.pxd -> build/lib.linux-x86_64-cpython-310/mpi4py
copying src/mpi4py/MPI.h -> build/lib.linux-x86_64-cpython-310/mpi4py
copying src/mpi4py/MPI_api.h -> build/lib.linux-x86_64-cpython-310/mpi4py
creating build/lib.linux-x86_64-cpython-310/mpi4py/include/mpi4py
copying src/mpi4py/include/mpi4py/mpi4py.h -> build/lib.linux-x86_64-cpython-310/mpi4py/include/mpi4py
copying src/mpi4py/include/mpi4py/pycapi.h -> build/lib.linux-x86_64-cpython-310/mpi4py/include/mpi4py
copying src/mpi4py/include/mpi4py/mpi4py.i -> build/lib.linux-x86_64-cpython-310/mpi4py/include/mpi4py
copying src/mpi4py/include/mpi4py/mpi.pxi -> build/lib.linux-x86_64-cpython-310/mpi4py/include/mpi4py
copying src/mpi4py/futures/init.pyi -> build/lib.linux-x86_64-cpython-310/mpi4py/futures
copying src/mpi4py/futures/main.pyi -> build/lib.linux-x86_64-cpython-310/mpi4py/futures
copying src/mpi4py/futures/_base.pyi -> build/lib.linux-x86_64-cpython-310/mpi4py/futures
copying src/mpi4py/futures/_core.pyi -> build/lib.linux-x86_64-cpython-310/mpi4py/futures
copying src/mpi4py/futures/aplus.pyi -> build/lib.linux-x86_64-cpython-310/mpi4py/futures
copying src/mpi4py/futures/pool.pyi -> build/lib.linux-x86_64-cpython-310/mpi4py/futures
copying src/mpi4py/futures/server.pyi -> build/lib.linux-x86_64-cpython-310/mpi4py/futures
copying src/mpi4py/futures/util.pyi -> build/lib.linux-x86_64-cpython-310/mpi4py/futures
copying src/mpi4py/util/init.pyi -> build/lib.linux-x86_64-cpython-310/mpi4py/util
copying src/mpi4py/util/dtlib.pyi -> build/lib.linux-x86_64-cpython-310/mpi4py/util
copying src/mpi4py/util/pkl5.pyi -> build/lib.linux-x86_64-cpython-310/mpi4py/util
copying src/mpi4py/util/pool.pyi -> build/lib.linux-x86_64-cpython-310/mpi4py/util
copying src/mpi4py/util/sync.pyi -> build/lib.linux-x86_64-cpython-310/mpi4py/util
running build_ext
MPI configuration: [mpi] from 'mpi.cfg'
checking for MPI compile and link ...
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/
workspaces/python/DOLFINx/dolfinx-0.9.0.post1/python/test-env/include -I/usr/include/python3.10 -c _configtest.c -o _configtest.o _configtest.c:2:10: fatal error: mpi.h: No such file or directory
2 | #include <mpi.h>
| ^~~~~~~
compilation terminated.
failure.
removing: _configtest.c _configtest.o
error: Cannot compile MPI programs. Check your configuration!!!
Installing mpi4py requires a working MPI implementation.
If you are running on a supercomputer or cluster, check with
the system administrator or refer to the system user guide.
Otherwise, if you are running on a laptop or desktop computer,
your may be missing the MPICH or Open MPI development package:
* On Fedora/RHEL systems, run:
$ sudo dnf install mpich-devel # for MPICH
$ sudo dnf install openmpi-devel # for Open MPI
* On Debian/Ubuntu systems, run:
$ sudo apt install libmpich-dev # for MPICH
$ sudo apt install libopenmpi-dev # for Open MPI
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for mpi4py
Failed to build mpi4py
ERROR: Could not build wheels for mpi4py, which is required to install pyproject.toml-based projects
The text was updated successfully, but these errors were encountered:
ADD ISSUE DESCRIPTION HERE
Version: 1.86.2
Commit: fa212ca
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Embedder: openvscode-server
(test-env) codeany ➜ .../python/DOLFINx/dolfinx-0.9.0.post1/python (main) $ pip install mpi4py
Collecting mpi4py
Using cached mpi4py-4.0.1.tar.gz (466 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: mpi4py
Building wheel for mpi4py (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for mpi4py (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [79 lines of output]
running bdist_wheel
running build
running build_src
using Cython 3.0.11
cythonizing 'src/mpi4py/MPI.pyx' -> 'src/mpi4py/MPI.c'
running build_py
creating build/lib.linux-x86_64-cpython-310/mpi4py
copying src/mpi4py/init.py -> build/lib.linux-x86_64-cpython-310/mpi4py
copying src/mpi4py/main.py -> build/lib.linux-x86_64-cpython-310/mpi4py
copying src/mpi4py/bench.py -> build/lib.linux-x86_64-cpython-310/mpi4py
copying src/mpi4py/run.py -> build/lib.linux-x86_64-cpython-310/mpi4py
copying src/mpi4py/typing.py -> build/lib.linux-x86_64-cpython-310/mpi4py
creating build/lib.linux-x86_64-cpython-310/mpi4py/futures
copying src/mpi4py/futures/init.py -> build/lib.linux-x86_64-cpython-310/mpi4py/futures
copying src/mpi4py/futures/main.py -> build/lib.linux-x86_64-cpython-310/mpi4py/futures
copying src/mpi4py/futures/_base.py -> build/lib.linux-x86_64-cpython-310/mpi4py/futures
copying src/mpi4py/futures/_core.py -> build/lib.linux-x86_64-cpython-310/mpi4py/futures
copying src/mpi4py/futures/aplus.py -> build/lib.linux-x86_64-cpython-310/mpi4py/futures
copying src/mpi4py/futures/pool.py -> build/lib.linux-x86_64-cpython-310/mpi4py/futures
copying src/mpi4py/futures/server.py -> build/lib.linux-x86_64-cpython-310/mpi4py/futures
copying src/mpi4py/futures/util.py -> build/lib.linux-x86_64-cpython-310/mpi4py/futures
creating build/lib.linux-x86_64-cpython-310/mpi4py/util
copying src/mpi4py/util/init.py -> build/lib.linux-x86_64-cpython-310/mpi4py/util
copying src/mpi4py/util/dtlib.py -> build/lib.linux-x86_64-cpython-310/mpi4py/util
copying src/mpi4py/util/pkl5.py -> build/lib.linux-x86_64-cpython-310/mpi4py/util
copying src/mpi4py/util/pool.py -> build/lib.linux-x86_64-cpython-310/mpi4py/util
copying src/mpi4py/util/sync.py -> build/lib.linux-x86_64-cpython-310/mpi4py/util
copying src/mpi4py/MPI.pyi -> build/lib.linux-x86_64-cpython-310/mpi4py
copying src/mpi4py/init.pyi -> build/lib.linux-x86_64-cpython-310/mpi4py
copying src/mpi4py/main.pyi -> build/lib.linux-x86_64-cpython-310/mpi4py
copying src/mpi4py/bench.pyi -> build/lib.linux-x86_64-cpython-310/mpi4py
copying src/mpi4py/run.pyi -> build/lib.linux-x86_64-cpython-310/mpi4py
copying src/mpi4py/typing.pyi -> build/lib.linux-x86_64-cpython-310/mpi4py
copying src/mpi4py/py.typed -> build/lib.linux-x86_64-cpython-310/mpi4py
copying src/mpi4py/MPI.pxd -> build/lib.linux-x86_64-cpython-310/mpi4py
copying src/mpi4py/init.pxd -> build/lib.linux-x86_64-cpython-310/mpi4py
copying src/mpi4py/libmpi.pxd -> build/lib.linux-x86_64-cpython-310/mpi4py
copying src/mpi4py/MPI.h -> build/lib.linux-x86_64-cpython-310/mpi4py
copying src/mpi4py/MPI_api.h -> build/lib.linux-x86_64-cpython-310/mpi4py
creating build/lib.linux-x86_64-cpython-310/mpi4py/include/mpi4py
copying src/mpi4py/include/mpi4py/mpi4py.h -> build/lib.linux-x86_64-cpython-310/mpi4py/include/mpi4py
copying src/mpi4py/include/mpi4py/pycapi.h -> build/lib.linux-x86_64-cpython-310/mpi4py/include/mpi4py
copying src/mpi4py/include/mpi4py/mpi4py.i -> build/lib.linux-x86_64-cpython-310/mpi4py/include/mpi4py
copying src/mpi4py/include/mpi4py/mpi.pxi -> build/lib.linux-x86_64-cpython-310/mpi4py/include/mpi4py
copying src/mpi4py/futures/init.pyi -> build/lib.linux-x86_64-cpython-310/mpi4py/futures
copying src/mpi4py/futures/main.pyi -> build/lib.linux-x86_64-cpython-310/mpi4py/futures
copying src/mpi4py/futures/_base.pyi -> build/lib.linux-x86_64-cpython-310/mpi4py/futures
copying src/mpi4py/futures/_core.pyi -> build/lib.linux-x86_64-cpython-310/mpi4py/futures
copying src/mpi4py/futures/aplus.pyi -> build/lib.linux-x86_64-cpython-310/mpi4py/futures
copying src/mpi4py/futures/pool.pyi -> build/lib.linux-x86_64-cpython-310/mpi4py/futures
copying src/mpi4py/futures/server.pyi -> build/lib.linux-x86_64-cpython-310/mpi4py/futures
copying src/mpi4py/futures/util.pyi -> build/lib.linux-x86_64-cpython-310/mpi4py/futures
copying src/mpi4py/util/init.pyi -> build/lib.linux-x86_64-cpython-310/mpi4py/util
copying src/mpi4py/util/dtlib.pyi -> build/lib.linux-x86_64-cpython-310/mpi4py/util
copying src/mpi4py/util/pkl5.pyi -> build/lib.linux-x86_64-cpython-310/mpi4py/util
copying src/mpi4py/util/pool.pyi -> build/lib.linux-x86_64-cpython-310/mpi4py/util
copying src/mpi4py/util/sync.pyi -> build/lib.linux-x86_64-cpython-310/mpi4py/util
running build_ext
MPI configuration: [mpi] from 'mpi.cfg'
checking for MPI compile and link ...
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/
workspaces/python/DOLFINx/dolfinx-0.9.0.post1/python/test-env/include -I/usr/include/python3.10 -c _configtest.c -o _configtest.o _configtest.c:2:10: fatal error: mpi.h: No such file or directory
2 | #include <mpi.h>
| ^~~~~~~
compilation terminated.
failure.
removing: _configtest.c _configtest.o
error: Cannot compile MPI programs. Check your configuration!!!
Installing mpi4py requires a working MPI implementation.
If you are running on a supercomputer or cluster, check with
the system administrator or refer to the system user guide.
Otherwise, if you are running on a laptop or desktop computer,
your may be missing the MPICH or Open MPI development package:
* On Fedora/RHEL systems, run:
$ sudo dnf install mpich-devel # for MPICH
$ sudo dnf install openmpi-devel # for Open MPI
* On Debian/Ubuntu systems, run:
$ sudo apt install libmpich-dev # for MPICH
$ sudo apt install libopenmpi-dev # for Open MPI
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for mpi4py
Failed to build mpi4py
ERROR: Could not build wheels for mpi4py, which is required to install pyproject.toml-based projects
The text was updated successfully, but these errors were encountered: