UX-Decoder / Segment-Everything-Everywhere-All-At-Once

[NeurIPS 2023] Official implementation of the paper "Segment Everything Everywhere All at Once"
Apache License 2.0
4.4k stars 407 forks source link

Errors occurred when installing the requirements.txt #98

Open KW-NJU opened 12 months ago

KW-NJU commented 12 months ago

When I was running "pip install -r assets/requirements/requirements.txt", I got the following errors. Could you please tell me what should I do?

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 ╰─> [148 lines of output] running bdist_wheel running build running build_src running build_py creating build creating build/lib.linux-x86_64-cpython-38 creating build/lib.linux-x86_64-cpython-38/mpi4py copying src/mpi4py/bench.py -> build/lib.linux-x86_64-cpython-38/mpi4py copying src/mpi4py/run.py -> build/lib.linux-x86_64-cpython-38/mpi4py copying src/mpi4py/init.py -> build/lib.linux-x86_64-cpython-38/mpi4py copying src/mpi4py/main.py -> build/lib.linux-x86_64-cpython-38/mpi4py creating build/lib.linux-x86_64-cpython-38/mpi4py/futures copying src/mpi4py/futures/_lib.py -> build/lib.linux-x86_64-cpython-38/mpi4py/futures copying src/mpi4py/futures/server.py -> build/lib.linux-x86_64-cpython-38/mpi4py/futures copying src/mpi4py/futures/_core.py -> build/lib.linux-x86_64-cpython-38/mpi4py/futures copying src/mpi4py/futures/_base.py -> build/lib.linux-x86_64-cpython-38/mpi4py/futures copying src/mpi4py/futures/aplus.py -> build/lib.linux-x86_64-cpython-38/mpi4py/futures copying src/mpi4py/futures/init.py -> build/lib.linux-x86_64-cpython-38/mpi4py/futures copying src/mpi4py/futures/pool.py -> build/lib.linux-x86_64-cpython-38/mpi4py/futures copying src/mpi4py/futures/main.py -> build/lib.linux-x86_64-cpython-38/mpi4py/futures creating build/lib.linux-x86_64-cpython-38/mpi4py/util copying src/mpi4py/util/dtlib.py -> build/lib.linux-x86_64-cpython-38/mpi4py/util copying src/mpi4py/util/init.py -> build/lib.linux-x86_64-cpython-38/mpi4py/util copying src/mpi4py/util/pkl5.py -> build/lib.linux-x86_64-cpython-38/mpi4py/util copying src/mpi4py/run.pyi -> build/lib.linux-x86_64-cpython-38/mpi4py copying src/mpi4py/bench.pyi -> build/lib.linux-x86_64-cpython-38/mpi4py copying src/mpi4py/init.pyi -> build/lib.linux-x86_64-cpython-38/mpi4py copying src/mpi4py/dl.pyi -> build/lib.linux-x86_64-cpython-38/mpi4py copying src/mpi4py/MPI.pyi -> build/lib.linux-x86_64-cpython-38/mpi4py copying src/mpi4py/main.pyi -> build/lib.linux-x86_64-cpython-38/mpi4py copying src/mpi4py/py.typed -> build/lib.linux-x86_64-cpython-38/mpi4py copying src/mpi4py/libmpi.pxd -> build/lib.linux-x86_64-cpython-38/mpi4py copying src/mpi4py/init.pxd -> build/lib.linux-x86_64-cpython-38/mpi4py copying src/mpi4py/MPI.pxd -> build/lib.linux-x86_64-cpython-38/mpi4py creating build/lib.linux-x86_64-cpython-38/mpi4py/include creating build/lib.linux-x86_64-cpython-38/mpi4py/include/mpi4py copying src/mpi4py/include/mpi4py/mpi4py.MPI_api.h -> build/lib.linux-x86_64-cpython-38/mpi4py/include/mpi4py copying src/mpi4py/include/mpi4py/mpi4py.h -> build/lib.linux-x86_64-cpython-38/mpi4py/include/mpi4py copying src/mpi4py/include/mpi4py/mpi4py.MPI.h -> build/lib.linux-x86_64-cpython-38/mpi4py/include/mpi4py copying src/mpi4py/include/mpi4py/mpi4py.i -> build/lib.linux-x86_64-cpython-38/mpi4py/include/mpi4py copying src/mpi4py/include/mpi4py/mpi.pxi -> build/lib.linux-x86_64-cpython-38/mpi4py/include/mpi4py copying src/mpi4py/futures/_lib.pyi -> build/lib.linux-x86_64-cpython-38/mpi4py/futures copying src/mpi4py/futures/init.pyi -> build/lib.linux-x86_64-cpython-38/mpi4py/futures copying src/mpi4py/futures/pool.pyi -> build/lib.linux-x86_64-cpython-38/mpi4py/futures copying src/mpi4py/futures/server.pyi -> build/lib.linux-x86_64-cpython-38/mpi4py/futures copying src/mpi4py/futures/main.pyi -> build/lib.linux-x86_64-cpython-38/mpi4py/futures copying src/mpi4py/futures/aplus.pyi -> build/lib.linux-x86_64-cpython-38/mpi4py/futures copying src/mpi4py/futures/_core.pyi -> build/lib.linux-x86_64-cpython-38/mpi4py/futures copying src/mpi4py/util/dtlib.pyi -> build/lib.linux-x86_64-cpython-38/mpi4py/util copying src/mpi4py/util/init.pyi -> build/lib.linux-x86_64-cpython-38/mpi4py/util copying src/mpi4py/util/pkl5.pyi -> build/lib.linux-x86_64-cpython-38/mpi4py/util running build_clib MPI configuration: [mpi] from 'mpi.cfg' checking for library 'lmpe' ... gcc -pthread -B /data/wj/anaconda3/envs/SEEM/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c _configtest.c -o _configtest.o gcc -pthread -B /data/wj/anaconda3/envs/SEEM/compiler_compat -Wl,--sysroot=/ _configtest.o -llmpe -o _configtest /data/wj/anaconda3/envs/SEEM/compiler_compat/ld: cannot find -llmpe: No such file or directory collect2: error: ld returned 1 exit status failure. removing: _configtest.c _configtest.o building 'mpe' dylib library creating build/temp.linux-x86_64-cpython-38 creating build/temp.linux-x86_64-cpython-38/src creating build/temp.linux-x86_64-cpython-38/src/lib-pmpi gcc -pthread -B /data/wj/anaconda3/envs/SEEM/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c src/lib-pmpi/mpe.c -o build/temp.linux-x86_64-cpython-38/src/lib-pmpi/mpe.o creating build/lib.linux-x86_64-cpython-38/mpi4py/lib-pmpi gcc -pthread -shared -B /data/wj/anaconda3/envs/SEEM/compiler_compat -L/data/wj/anaconda3/envs/SEEM/lib -Wl,-rpath=/data/wj/anaconda3/envs/SEEM/lib -Wl,--no-as-needed -Wl,--sysroot=/ -Wl,--no-as-needed build/temp.linux-x86_64-cpython-38/src/lib-pmpi/mpe.o -o build/lib.linux-x86_64-cpython-38/mpi4py/lib-pmpi/libmpe.so checking for library 'vt-mpi' ... gcc -pthread -B /data/wj/anaconda3/envs/SEEM/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c _configtest.c -o _configtest.o gcc -pthread -B /data/wj/anaconda3/envs/SEEM/compiler_compat -Wl,--sysroot=/ _configtest.o -lvt-mpi -o _configtest /data/wj/anaconda3/envs/SEEM/compiler_compat/ld: cannot find -lvt-mpi: No such file or directory collect2: error: ld returned 1 exit status failure. removing: _configtest.c _configtest.o checking for library 'vt.mpi' ... gcc -pthread -B /data/wj/anaconda3/envs/SEEM/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c _configtest.c -o _configtest.o gcc -pthread -B /data/wj/anaconda3/envs/SEEM/compiler_compat -Wl,--sysroot=/ _configtest.o -lvt.mpi -o _configtest /data/wj/anaconda3/envs/SEEM/compiler_compat/ld: cannot find -lvt.mpi: No such file or directory collect2: error: ld returned 1 exit status failure. removing: _configtest.c _configtest.o building 'vt' dylib library gcc -pthread -B /data/wj/anaconda3/envs/SEEM/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c src/lib-pmpi/vt.c -o build/temp.linux-x86_64-cpython-38/src/lib-pmpi/vt.o gcc -pthread -shared -B /data/wj/anaconda3/envs/SEEM/compiler_compat -L/data/wj/anaconda3/envs/SEEM/lib -Wl,-rpath=/data/wj/anaconda3/envs/SEEM/lib -Wl,--no-as-needed -Wl,--sysroot=/ -Wl,--no-as-needed build/temp.linux-x86_64-cpython-38/src/lib-pmpi/vt.o -o build/lib.linux-x86_64-cpython-38/mpi4py/lib-pmpi/libvt.so checking for library 'vt-mpi' ... gcc -pthread -B /data/wj/anaconda3/envs/SEEM/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c _configtest.c -o _configtest.o gcc -pthread -B /data/wj/anaconda3/envs/SEEM/compiler_compat -Wl,--sysroot=/ _configtest.o -lvt-mpi -o _configtest /data/wj/anaconda3/envs/SEEM/compiler_compat/ld: cannot find -lvt-mpi: No such file or directory collect2: error: ld returned 1 exit status failure. removing: _configtest.c _configtest.o checking for library 'vt.mpi' ... gcc -pthread -B /data/wj/anaconda3/envs/SEEM/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c _configtest.c -o _configtest.o gcc -pthread -B /data/wj/anaconda3/envs/SEEM/compiler_compat -Wl,--sysroot=/ _configtest.o -lvt.mpi -o _configtest /data/wj/anaconda3/envs/SEEM/compiler_compat/ld: cannot find -lvt.mpi: No such file or directory collect2: error: ld returned 1 exit status failure. removing: _configtest.c _configtest.o building 'vt-mpi' dylib library gcc -pthread -B /data/wj/anaconda3/envs/SEEM/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c src/lib-pmpi/vt-mpi.c -o build/temp.linux-x86_64-cpython-38/src/lib-pmpi/vt-mpi.o gcc -pthread -shared -B /data/wj/anaconda3/envs/SEEM/compiler_compat -L/data/wj/anaconda3/envs/SEEM/lib -Wl,-rpath=/data/wj/anaconda3/envs/SEEM/lib -Wl,--no-as-needed -Wl,--sysroot=/ -Wl,--no-as-needed build/temp.linux-x86_64-cpython-38/src/lib-pmpi/vt-mpi.o -o build/lib.linux-x86_64-cpython-38/mpi4py/lib-pmpi/libvt-mpi.so checking for library 'vt-hyb' ... gcc -pthread -B /data/wj/anaconda3/envs/SEEM/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c _configtest.c -o _configtest.o gcc -pthread -B /data/wj/anaconda3/envs/SEEM/compiler_compat -Wl,--sysroot=/ _configtest.o -lvt-hyb -o _configtest /data/wj/anaconda3/envs/SEEM/compiler_compat/ld: cannot find -lvt-hyb: No such file or directory collect2: error: ld returned 1 exit status failure. removing: _configtest.c _configtest.o checking for library 'vt.ompi' ... gcc -pthread -B /data/wj/anaconda3/envs/SEEM/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c _configtest.c -o _configtest.o gcc -pthread -B /data/wj/anaconda3/envs/SEEM/compiler_compat -Wl,--sysroot=/ _configtest.o -lvt.ompi -o _configtest /data/wj/anaconda3/envs/SEEM/compiler_compat/ld: cannot find -lvt.ompi: No such file or directory collect2: error: ld returned 1 exit status failure. removing: _configtest.c _configtest.o building 'vt-hyb' dylib library gcc -pthread -B /data/wj/anaconda3/envs/SEEM/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c src/lib-pmpi/vt-hyb.c -o build/temp.linux-x86_64-cpython-38/src/lib-pmpi/vt-hyb.o gcc -pthread -shared -B /data/wj/anaconda3/envs/SEEM/compiler_compat -L/data/wj/anaconda3/envs/SEEM/lib -Wl,-rpath=/data/wj/anaconda3/envs/SEEM/lib -Wl,--no-as-needed -Wl,--sysroot=/ -Wl,--no-as-needed build/temp.linux-x86_64-cpython-38/src/lib-pmpi/vt-hyb.o -o build/lib.linux-x86_64-cpython-38/mpi4py/lib-pmpi/libvt-hyb.so running build_ext MPI configuration: [mpi] from 'mpi.cfg' checking for dlopen() availability ... checking for header 'dlfcn.h' ... gcc -pthread -B /data/wj/anaconda3/envs/SEEM/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/data/wj/anaconda3/envs/SEEM/include/python3.8 -c _configtest.c -o _configtest.o success! removing: _configtest.c _configtest.o success! checking for library 'dl' ... gcc -pthread -B /data/wj/anaconda3/envs/SEEM/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/data/wj/anaconda3/envs/SEEM/include/python3.8 -c _configtest.c -o _configtest.o gcc -pthread -B /data/wj/anaconda3/envs/SEEM/compiler_compat -Wl,--sysroot=/ _configtest.o -Lbuild/temp.linux-x86_64-cpython-38 -ldl -o _configtest success! removing: _configtest.c _configtest.o _configtest checking for function 'dlopen' ... gcc -pthread -B /data/wj/anaconda3/envs/SEEM/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/data/wj/anaconda3/envs/SEEM/include/python3.8 -c _configtest.c -o _configtest.o gcc -pthread -B /data/wj/anaconda3/envs/SEEM/compiler_compat -Wl,--sysroot=/ _configtest.o -Lbuild/temp.linux-x86_64-cpython-38 -ldl -o _configtest success! removing: _configtest.c _configtest.o _configtest building 'mpi4py.dl' extension gcc -pthread -B /data/wj/anaconda3/envs/SEEM/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DHAVE_DLFCN_H=1 -DHAVE_DLOPEN=1 -I/data/wj/anaconda3/envs/SEEM/include/python3.8 -c src/dynload.c -o build/temp.linux-x86_64-cpython-38/src/dynload.o gcc -pthread -shared -B /data/wj/anaconda3/envs/SEEM/compiler_compat -L/data/wj/anaconda3/envs/SEEM/lib -Wl,-rpath=/data/wj/anaconda3/envs/SEEM/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-cpython-38/src/dynload.o -Lbuild/temp.linux-x86_64-cpython-38 -ldl -o build/lib.linux-x86_64-cpython-38/mpi4py/dl.cpython-38-x86_64-linux-gnu.so checking for MPI compile and link ... gcc -pthread -B /data/wj/anaconda3/envs/SEEM/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/data/wj/anaconda3/envs/SEEM/include/python3.8 -c _configtest.c -o _configtest.o _configtest.c:2:10: fatal error: mpi.h: No such file or directory

include

            ^~~~~~~
  compilation terminated.
  failure.
  removing: _configtest.c _configtest.o
  error: Cannot compile MPI programs. Check your configuration!!!
  [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

MaureenZOU commented 12 months ago

I think this may caused by you need to first:

sudo apt-get install openmpi-bin libopenmpi-dev

pranavtushar commented 12 months ago

Hello, if you're using linux and the above comment by @MaureenZOU doesn't help you, try:

  1. sudo apt-get install openmpi-bin libopenmpi-dev
  2. conda install gcc_linux-64
  3. pip install mpi4py

This worked for me!

LWprogramming commented 11 months ago

These all failed for me, but in case anyone from the future is still struggling-- after scouring the digital high seas i have found that apt install python3-mpi4py worked for me (Ubuntu 20.04, mpicc --version gives gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, python 3.10.12)

tangmw commented 10 months ago

Hello, if you're using linux and the above comment by @MaureenZOU doesn't help you, try:

  1. sudo apt-get install openmpi-bin libopenmpi-dev
  2. conda install gcc_linux-64
  3. pip install mpi4py

This worked for me!

This worked for me too! Thanks

AImagicAI commented 8 months ago

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 ╰─> [228 lines of output] running bdist_wheel running build running build_src running build_py creating build creating build/lib.linux-x86_64-cpython-310 creating build/lib.linux-x86_64-cpython-310/mpi4py copying src/mpi4py/bench.py -> build/lib.linux-x86_64-cpython-310/mpi4py copying src/mpi4py/init.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/main.py -> build/lib.linux-x86_64-cpython-310/mpi4py creating 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/_base.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/_lib.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/init.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/main.py -> build/lib.linux-x86_64-cpython-310/mpi4py/futures creating 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/init.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/dl.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/MPI.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/main.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/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/libmpi.pxd -> build/lib.linux-x86_64-cpython-310/mpi4py copying src/mpi4py/init.pxd -> build/lib.linux-x86_64-cpython-310/mpi4py creating build/lib.linux-x86_64-cpython-310/mpi4py/include 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/mpi4py.MPI_api.h -> build/lib.linux-x86_64-cpython-310/mpi4py/include/mpi4py copying src/mpi4py/include/mpi4py/mpi4py.MPI.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/_lib.pyi -> build/lib.linux-x86_64-cpython-310/mpi4py/futures copying src/mpi4py/futures/init.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/main.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/server.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/util/pkl5.pyi -> build/lib.linux-x86_64-cpython-310/mpi4py/util 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 running build_clib MPI configuration: [mpi] from 'mpi.cfg' MPI C compiler: /home/cv8888/anaconda3/envs/efficientvit/bin/mpicc MPI C++ compiler: /home/cv8888/anaconda3/envs/efficientvit/bin/mpicxx MPI F compiler: /home/cv8888/anaconda3/envs/efficientvit/bin/mpifort MPI F90 compiler: /home/cv8888/anaconda3/envs/efficientvit/bin/mpif90 MPI F77 compiler: /home/cv8888/anaconda3/envs/efficientvit/bin/mpif77 checking for library 'lmpe' ... /home/cv8888/anaconda3/envs/efficientvit/bin/mpicc -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/cv8888/anaconda3/envs/efficientvit/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -c _configtest.c -o _configtest.o

  The Open MPI wrapper compiler was unable to find the specified compiler
  x86_64-conda_cos6-linux-gnu-cc in your PATH.

  Note that this compiler was either specified at configure time or in
  one of several possible environment variables.
  --------------------------------------------------------------------------
  failure.
  removing: _configtest.c _configtest.o
  building 'mpe' dylib library
  creating build/temp.linux-x86_64-cpython-310
  creating build/temp.linux-x86_64-cpython-310/src
  creating build/temp.linux-x86_64-cpython-310/src/lib-pmpi
  /home/cv8888/anaconda3/envs/efficientvit/bin/mpicc -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/cv8888/anaconda3/envs/efficientvit/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -c src/lib-pmpi/mpe.c -o build/temp.linux-x86_64-cpython-310/src/lib-pmpi/mpe.o
  --------------------------------------------------------------------------
  The Open MPI wrapper compiler was unable to find the specified compiler
  x86_64-conda_cos6-linux-gnu-cc in your PATH.

  Note that this compiler was either specified at configure time or in
  one of several possible environment variables.
  --------------------------------------------------------------------------
  warning: build_clib: command '/home/cv8888/anaconda3/envs/efficientvit/bin/mpicc' failed with exit code 1

  warning: build_clib: building optional library "mpe" failed

  checking for library 'vt-mpi' ...
  /home/cv8888/anaconda3/envs/efficientvit/bin/mpicc -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/cv8888/anaconda3/envs/efficientvit/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -c _configtest.c -o _configtest.o
  --------------------------------------------------------------------------
  The Open MPI wrapper compiler was unable to find the specified compiler
  x86_64-conda_cos6-linux-gnu-cc in your PATH.

  Note that this compiler was either specified at configure time or in
  one of several possible environment variables.
  --------------------------------------------------------------------------
  failure.
  removing: _configtest.c _configtest.o
  checking for library 'vt.mpi' ...
  /home/cv8888/anaconda3/envs/efficientvit/bin/mpicc -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/cv8888/anaconda3/envs/efficientvit/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -c _configtest.c -o _configtest.o
  --------------------------------------------------------------------------
  The Open MPI wrapper compiler was unable to find the specified compiler
  x86_64-conda_cos6-linux-gnu-cc in your PATH.

  Note that this compiler was either specified at configure time or in
  one of several possible environment variables.
  --------------------------------------------------------------------------
  failure.
  removing: _configtest.c _configtest.o
  building 'vt' dylib library
  /home/cv8888/anaconda3/envs/efficientvit/bin/mpicc -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/cv8888/anaconda3/envs/efficientvit/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -c src/lib-pmpi/vt.c -o build/temp.linux-x86_64-cpython-310/src/lib-pmpi/vt.o
  --------------------------------------------------------------------------
  The Open MPI wrapper compiler was unable to find the specified compiler
  x86_64-conda_cos6-linux-gnu-cc in your PATH.

  Note that this compiler was either specified at configure time or in
  one of several possible environment variables.
  --------------------------------------------------------------------------
  warning: build_clib: command '/home/cv8888/anaconda3/envs/efficientvit/bin/mpicc' failed with exit code 1

  warning: build_clib: building optional library "vt" failed

  checking for library 'vt-mpi' ...
  /home/cv8888/anaconda3/envs/efficientvit/bin/mpicc -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/cv8888/anaconda3/envs/efficientvit/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -c _configtest.c -o _configtest.o
  --------------------------------------------------------------------------
  The Open MPI wrapper compiler was unable to find the specified compiler
  x86_64-conda_cos6-linux-gnu-cc in your PATH.

  Note that this compiler was either specified at configure time or in
  one of several possible environment variables.
  --------------------------------------------------------------------------
  failure.
  removing: _configtest.c _configtest.o
  checking for library 'vt.mpi' ...
  /home/cv8888/anaconda3/envs/efficientvit/bin/mpicc -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/cv8888/anaconda3/envs/efficientvit/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -c _configtest.c -o _configtest.o
  --------------------------------------------------------------------------
  The Open MPI wrapper compiler was unable to find the specified compiler
  x86_64-conda_cos6-linux-gnu-cc in your PATH.

  Note that this compiler was either specified at configure time or in
  one of several possible environment variables.
  --------------------------------------------------------------------------
  failure.
  removing: _configtest.c _configtest.o
  building 'vt-mpi' dylib library
  /home/cv8888/anaconda3/envs/efficientvit/bin/mpicc -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/cv8888/anaconda3/envs/efficientvit/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -c src/lib-pmpi/vt-mpi.c -o build/temp.linux-x86_64-cpython-310/src/lib-pmpi/vt-mpi.o
  --------------------------------------------------------------------------
  The Open MPI wrapper compiler was unable to find the specified compiler
  x86_64-conda_cos6-linux-gnu-cc in your PATH.

  Note that this compiler was either specified at configure time or in
  one of several possible environment variables.
  --------------------------------------------------------------------------
  warning: build_clib: command '/home/cv8888/anaconda3/envs/efficientvit/bin/mpicc' failed with exit code 1

  warning: build_clib: building optional library "vt-mpi" failed

  checking for library 'vt-hyb' ...
  /home/cv8888/anaconda3/envs/efficientvit/bin/mpicc -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/cv8888/anaconda3/envs/efficientvit/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -c _configtest.c -o _configtest.o
  --------------------------------------------------------------------------
  The Open MPI wrapper compiler was unable to find the specified compiler
  x86_64-conda_cos6-linux-gnu-cc in your PATH.

  Note that this compiler was either specified at configure time or in
  one of several possible environment variables.
  --------------------------------------------------------------------------
  failure.
  removing: _configtest.c _configtest.o
  checking for library 'vt.ompi' ...
  /home/cv8888/anaconda3/envs/efficientvit/bin/mpicc -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/cv8888/anaconda3/envs/efficientvit/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -c _configtest.c -o _configtest.o
  --------------------------------------------------------------------------
  The Open MPI wrapper compiler was unable to find the specified compiler
  x86_64-conda_cos6-linux-gnu-cc in your PATH.

  Note that this compiler was either specified at configure time or in
  one of several possible environment variables.
  --------------------------------------------------------------------------
  failure.
  removing: _configtest.c _configtest.o
  building 'vt-hyb' dylib library
  /home/cv8888/anaconda3/envs/efficientvit/bin/mpicc -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/cv8888/anaconda3/envs/efficientvit/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -c src/lib-pmpi/vt-hyb.c -o build/temp.linux-x86_64-cpython-310/src/lib-pmpi/vt-hyb.o
  --------------------------------------------------------------------------
  The Open MPI wrapper compiler was unable to find the specified compiler
  x86_64-conda_cos6-linux-gnu-cc in your PATH.

  Note that this compiler was either specified at configure time or in
  one of several possible environment variables.
  --------------------------------------------------------------------------
  warning: build_clib: command '/home/cv8888/anaconda3/envs/efficientvit/bin/mpicc' failed with exit code 1

  warning: build_clib: building optional library "vt-hyb" failed

  running build_ext
  MPI configuration: [mpi] from 'mpi.cfg'
  MPI C compiler:    /home/cv8888/anaconda3/envs/efficientvit/bin/mpicc
  MPI C++ compiler:  /home/cv8888/anaconda3/envs/efficientvit/bin/mpicxx
  MPI F compiler:    /home/cv8888/anaconda3/envs/efficientvit/bin/mpifort
  MPI F90 compiler:  /home/cv8888/anaconda3/envs/efficientvit/bin/mpif90
  MPI F77 compiler:  /home/cv8888/anaconda3/envs/efficientvit/bin/mpif77
  checking for dlopen() availability ...
  checking for header 'dlfcn.h' ...
  /home/cv8888/anaconda3/envs/efficientvit/bin/x86_64-conda-linux-gnu-cc -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/cv8888/anaconda3/envs/efficientvit/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -I/home/cv8888/anaconda3/envs/efficientvit/include/python3.10 -c _configtest.c -o _configtest.o
  success!
  removing: _configtest.c _configtest.o
  success!
  checking for library 'dl' ...
  /home/cv8888/anaconda3/envs/efficientvit/bin/x86_64-conda-linux-gnu-cc -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/cv8888/anaconda3/envs/efficientvit/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -I/home/cv8888/anaconda3/envs/efficientvit/include/python3.10 -c _configtest.c -o _configtest.o
  /home/cv8888/anaconda3/envs/efficientvit/bin/x86_64-conda-linux-gnu-cc -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--disable-new-dtags -Wl,--gc-sections -Wl,-rpath,/home/cv8888/anaconda3/envs/efficientvit/lib -Wl,-rpath-link,/home/cv8888/anaconda3/envs/efficientvit/lib -L/home/cv8888/anaconda3/envs/efficientvit/lib -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/cv8888/anaconda3/envs/efficientvit/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include _configtest.o -Lbuild/temp.linux-x86_64-cpython-310 -ldl -o _configtest
  success!
  removing: _configtest.c _configtest.o _configtest
  checking for function 'dlopen' ...
  /home/cv8888/anaconda3/envs/efficientvit/bin/x86_64-conda-linux-gnu-cc -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/cv8888/anaconda3/envs/efficientvit/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -I/home/cv8888/anaconda3/envs/efficientvit/include/python3.10 -c _configtest.c -o _configtest.o
  /home/cv8888/anaconda3/envs/efficientvit/bin/x86_64-conda-linux-gnu-cc -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--disable-new-dtags -Wl,--gc-sections -Wl,-rpath,/home/cv8888/anaconda3/envs/efficientvit/lib -Wl,-rpath-link,/home/cv8888/anaconda3/envs/efficientvit/lib -L/home/cv8888/anaconda3/envs/efficientvit/lib -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/cv8888/anaconda3/envs/efficientvit/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include _configtest.o -Lbuild/temp.linux-x86_64-cpython-310 -ldl -o _configtest
  success!
  removing: _configtest.c _configtest.o _configtest
  building 'mpi4py.dl' extension
  /home/cv8888/anaconda3/envs/efficientvit/bin/x86_64-conda-linux-gnu-cc -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/cv8888/anaconda3/envs/efficientvit/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -DHAVE_DLFCN_H=1 -DHAVE_DLOPEN=1 -I/home/cv8888/anaconda3/envs/efficientvit/include/python3.10 -c src/dynload.c -o build/temp.linux-x86_64-cpython-310/src/dynload.o
  /home/cv8888/anaconda3/envs/efficientvit/bin/x86_64-conda-linux-gnu-cc -shared -Wl,-rpath,/home/cv8888/anaconda3/envs/efficientvit/lib -Wl,-rpath-link,/home/cv8888/anaconda3/envs/efficientvit/lib -L/home/cv8888/anaconda3/envs/efficientvit/lib -Wl,-rpath,/home/cv8888/anaconda3/envs/efficientvit/lib -Wl,-rpath-link,/home/cv8888/anaconda3/envs/efficientvit/lib -L/home/cv8888/anaconda3/envs/efficientvit/lib -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--disable-new-dtags -Wl,--gc-sections -Wl,-rpath,/home/cv8888/anaconda3/envs/efficientvit/lib -Wl,-rpath-link,/home/cv8888/anaconda3/envs/efficientvit/lib -L/home/cv8888/anaconda3/envs/efficientvit/lib -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/cv8888/anaconda3/envs/efficientvit/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include build/temp.linux-x86_64-cpython-310/src/dynload.o -Lbuild/temp.linux-x86_64-cpython-310 -ldl -o build/lib.linux-x86_64-cpython-310/mpi4py/dl.cpython-310-x86_64-linux-gnu.so
  checking for MPI compile and link ...
  /home/cv8888/anaconda3/envs/efficientvit/bin/mpicc -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/cv8888/anaconda3/envs/efficientvit/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -I/home/cv8888/anaconda3/envs/efficientvit/include/python3.10 -c _configtest.c -o _configtest.o
  --------------------------------------------------------------------------
  The Open MPI wrapper compiler was unable to find the specified compiler
  x86_64-conda_cos6-linux-gnu-cc in your PATH.

  Note that this compiler was either specified at configure time or in
  one of several possible environment variables.
  --------------------------------------------------------------------------
  failure.
  removing: _configtest.c _configtest.o
  error: Cannot compile MPI programs. Check your configuration!!!
  [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

DuongDiesel commented 4 months ago

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 ╰─> [228 lines of output] running bdist_wheel running build running build_src running build_py creating build creating build/lib.linux-x86_64-cpython-310 creating build/lib.linux-x86_64-cpython-310/mpi4py copying src/mpi4py/bench.py -> build/lib.linux-x86_64-cpython-310/mpi4py copying src/mpi4py/init.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/main.py -> build/lib.linux-x86_64-cpython-310/mpi4py creating 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/_base.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/_lib.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/init.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/main.py -> build/lib.linux-x86_64-cpython-310/mpi4py/futures creating 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/init.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/dl.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/MPI.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/main.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/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/libmpi.pxd -> build/lib.linux-x86_64-cpython-310/mpi4py copying src/mpi4py/init.pxd -> build/lib.linux-x86_64-cpython-310/mpi4py creating build/lib.linux-x86_64-cpython-310/mpi4py/include 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/mpi4py.MPI_api.h -> build/lib.linux-x86_64-cpython-310/mpi4py/include/mpi4py copying src/mpi4py/include/mpi4py/mpi4py.MPI.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/_lib.pyi -> build/lib.linux-x86_64-cpython-310/mpi4py/futures copying src/mpi4py/futures/init.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/main.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/server.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/util/pkl5.pyi -> build/lib.linux-x86_64-cpython-310/mpi4py/util 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 running build_clib MPI configuration: [mpi] from 'mpi.cfg' MPI C compiler: /home/cv8888/anaconda3/envs/efficientvit/bin/mpicc MPI C++ compiler: /home/cv8888/anaconda3/envs/efficientvit/bin/mpicxx MPI F compiler: /home/cv8888/anaconda3/envs/efficientvit/bin/mpifort MPI F90 compiler: /home/cv8888/anaconda3/envs/efficientvit/bin/mpif90 MPI F77 compiler: /home/cv8888/anaconda3/envs/efficientvit/bin/mpif77 checking for library 'lmpe' ... /home/cv8888/anaconda3/envs/efficientvit/bin/mpicc -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/cv8888/anaconda3/envs/efficientvit/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -c _configtest.c -o _configtest.o -------------------------------------------------------------------------- The Open MPI wrapper compiler was unable to find the specified compiler x86_64-conda_cos6-linux-gnu-cc in your PATH.

  Note that this compiler was either specified at configure time or in
  one of several possible environment variables.
  --------------------------------------------------------------------------
  failure.
  removing: _configtest.c _configtest.o
  building 'mpe' dylib library
  creating build/temp.linux-x86_64-cpython-310
  creating build/temp.linux-x86_64-cpython-310/src
  creating build/temp.linux-x86_64-cpython-310/src/lib-pmpi
  /home/cv8888/anaconda3/envs/efficientvit/bin/mpicc -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/cv8888/anaconda3/envs/efficientvit/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -c src/lib-pmpi/mpe.c -o build/temp.linux-x86_64-cpython-310/src/lib-pmpi/mpe.o
  --------------------------------------------------------------------------
  The Open MPI wrapper compiler was unable to find the specified compiler
  x86_64-conda_cos6-linux-gnu-cc in your PATH.

  Note that this compiler was either specified at configure time or in
  one of several possible environment variables.
  --------------------------------------------------------------------------
  warning: build_clib: command '/home/cv8888/anaconda3/envs/efficientvit/bin/mpicc' failed with exit code 1

  warning: build_clib: building optional library "mpe" failed

  checking for library 'vt-mpi' ...
  /home/cv8888/anaconda3/envs/efficientvit/bin/mpicc -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/cv8888/anaconda3/envs/efficientvit/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -c _configtest.c -o _configtest.o
  --------------------------------------------------------------------------
  The Open MPI wrapper compiler was unable to find the specified compiler
  x86_64-conda_cos6-linux-gnu-cc in your PATH.

  Note that this compiler was either specified at configure time or in
  one of several possible environment variables.
  --------------------------------------------------------------------------
  failure.
  removing: _configtest.c _configtest.o
  checking for library 'vt.mpi' ...
  /home/cv8888/anaconda3/envs/efficientvit/bin/mpicc -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/cv8888/anaconda3/envs/efficientvit/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -c _configtest.c -o _configtest.o
  --------------------------------------------------------------------------
  The Open MPI wrapper compiler was unable to find the specified compiler
  x86_64-conda_cos6-linux-gnu-cc in your PATH.

  Note that this compiler was either specified at configure time or in
  one of several possible environment variables.
  --------------------------------------------------------------------------
  failure.
  removing: _configtest.c _configtest.o
  building 'vt' dylib library
  /home/cv8888/anaconda3/envs/efficientvit/bin/mpicc -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/cv8888/anaconda3/envs/efficientvit/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -c src/lib-pmpi/vt.c -o build/temp.linux-x86_64-cpython-310/src/lib-pmpi/vt.o
  --------------------------------------------------------------------------
  The Open MPI wrapper compiler was unable to find the specified compiler
  x86_64-conda_cos6-linux-gnu-cc in your PATH.

  Note that this compiler was either specified at configure time or in
  one of several possible environment variables.
  --------------------------------------------------------------------------
  warning: build_clib: command '/home/cv8888/anaconda3/envs/efficientvit/bin/mpicc' failed with exit code 1

  warning: build_clib: building optional library "vt" failed

  checking for library 'vt-mpi' ...
  /home/cv8888/anaconda3/envs/efficientvit/bin/mpicc -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/cv8888/anaconda3/envs/efficientvit/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -c _configtest.c -o _configtest.o
  --------------------------------------------------------------------------
  The Open MPI wrapper compiler was unable to find the specified compiler
  x86_64-conda_cos6-linux-gnu-cc in your PATH.

  Note that this compiler was either specified at configure time or in
  one of several possible environment variables.
  --------------------------------------------------------------------------
  failure.
  removing: _configtest.c _configtest.o
  checking for library 'vt.mpi' ...
  /home/cv8888/anaconda3/envs/efficientvit/bin/mpicc -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/cv8888/anaconda3/envs/efficientvit/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -c _configtest.c -o _configtest.o
  --------------------------------------------------------------------------
  The Open MPI wrapper compiler was unable to find the specified compiler
  x86_64-conda_cos6-linux-gnu-cc in your PATH.

  Note that this compiler was either specified at configure time or in
  one of several possible environment variables.
  --------------------------------------------------------------------------
  failure.
  removing: _configtest.c _configtest.o
  building 'vt-mpi' dylib library
  /home/cv8888/anaconda3/envs/efficientvit/bin/mpicc -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/cv8888/anaconda3/envs/efficientvit/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -c src/lib-pmpi/vt-mpi.c -o build/temp.linux-x86_64-cpython-310/src/lib-pmpi/vt-mpi.o
  --------------------------------------------------------------------------
  The Open MPI wrapper compiler was unable to find the specified compiler
  x86_64-conda_cos6-linux-gnu-cc in your PATH.

  Note that this compiler was either specified at configure time or in
  one of several possible environment variables.
  --------------------------------------------------------------------------
  warning: build_clib: command '/home/cv8888/anaconda3/envs/efficientvit/bin/mpicc' failed with exit code 1

  warning: build_clib: building optional library "vt-mpi" failed

  checking for library 'vt-hyb' ...
  /home/cv8888/anaconda3/envs/efficientvit/bin/mpicc -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/cv8888/anaconda3/envs/efficientvit/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -c _configtest.c -o _configtest.o
  --------------------------------------------------------------------------
  The Open MPI wrapper compiler was unable to find the specified compiler
  x86_64-conda_cos6-linux-gnu-cc in your PATH.

  Note that this compiler was either specified at configure time or in
  one of several possible environment variables.
  --------------------------------------------------------------------------
  failure.
  removing: _configtest.c _configtest.o
  checking for library 'vt.ompi' ...
  /home/cv8888/anaconda3/envs/efficientvit/bin/mpicc -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/cv8888/anaconda3/envs/efficientvit/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -c _configtest.c -o _configtest.o
  --------------------------------------------------------------------------
  The Open MPI wrapper compiler was unable to find the specified compiler
  x86_64-conda_cos6-linux-gnu-cc in your PATH.

  Note that this compiler was either specified at configure time or in
  one of several possible environment variables.
  --------------------------------------------------------------------------
  failure.
  removing: _configtest.c _configtest.o
  building 'vt-hyb' dylib library
  /home/cv8888/anaconda3/envs/efficientvit/bin/mpicc -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/cv8888/anaconda3/envs/efficientvit/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -c src/lib-pmpi/vt-hyb.c -o build/temp.linux-x86_64-cpython-310/src/lib-pmpi/vt-hyb.o
  --------------------------------------------------------------------------
  The Open MPI wrapper compiler was unable to find the specified compiler
  x86_64-conda_cos6-linux-gnu-cc in your PATH.

  Note that this compiler was either specified at configure time or in
  one of several possible environment variables.
  --------------------------------------------------------------------------
  warning: build_clib: command '/home/cv8888/anaconda3/envs/efficientvit/bin/mpicc' failed with exit code 1

  warning: build_clib: building optional library "vt-hyb" failed

  running build_ext
  MPI configuration: [mpi] from 'mpi.cfg'
  MPI C compiler:    /home/cv8888/anaconda3/envs/efficientvit/bin/mpicc
  MPI C++ compiler:  /home/cv8888/anaconda3/envs/efficientvit/bin/mpicxx
  MPI F compiler:    /home/cv8888/anaconda3/envs/efficientvit/bin/mpifort
  MPI F90 compiler:  /home/cv8888/anaconda3/envs/efficientvit/bin/mpif90
  MPI F77 compiler:  /home/cv8888/anaconda3/envs/efficientvit/bin/mpif77
  checking for dlopen() availability ...
  checking for header 'dlfcn.h' ...
  /home/cv8888/anaconda3/envs/efficientvit/bin/x86_64-conda-linux-gnu-cc -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/cv8888/anaconda3/envs/efficientvit/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -I/home/cv8888/anaconda3/envs/efficientvit/include/python3.10 -c _configtest.c -o _configtest.o
  success!
  removing: _configtest.c _configtest.o
  success!
  checking for library 'dl' ...
  /home/cv8888/anaconda3/envs/efficientvit/bin/x86_64-conda-linux-gnu-cc -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/cv8888/anaconda3/envs/efficientvit/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -I/home/cv8888/anaconda3/envs/efficientvit/include/python3.10 -c _configtest.c -o _configtest.o
  /home/cv8888/anaconda3/envs/efficientvit/bin/x86_64-conda-linux-gnu-cc -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--disable-new-dtags -Wl,--gc-sections -Wl,-rpath,/home/cv8888/anaconda3/envs/efficientvit/lib -Wl,-rpath-link,/home/cv8888/anaconda3/envs/efficientvit/lib -L/home/cv8888/anaconda3/envs/efficientvit/lib -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/cv8888/anaconda3/envs/efficientvit/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include _configtest.o -Lbuild/temp.linux-x86_64-cpython-310 -ldl -o _configtest
  success!
  removing: _configtest.c _configtest.o _configtest
  checking for function 'dlopen' ...
  /home/cv8888/anaconda3/envs/efficientvit/bin/x86_64-conda-linux-gnu-cc -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/cv8888/anaconda3/envs/efficientvit/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -I/home/cv8888/anaconda3/envs/efficientvit/include/python3.10 -c _configtest.c -o _configtest.o
  /home/cv8888/anaconda3/envs/efficientvit/bin/x86_64-conda-linux-gnu-cc -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--disable-new-dtags -Wl,--gc-sections -Wl,-rpath,/home/cv8888/anaconda3/envs/efficientvit/lib -Wl,-rpath-link,/home/cv8888/anaconda3/envs/efficientvit/lib -L/home/cv8888/anaconda3/envs/efficientvit/lib -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/cv8888/anaconda3/envs/efficientvit/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include _configtest.o -Lbuild/temp.linux-x86_64-cpython-310 -ldl -o _configtest
  success!
  removing: _configtest.c _configtest.o _configtest
  building 'mpi4py.dl' extension
  /home/cv8888/anaconda3/envs/efficientvit/bin/x86_64-conda-linux-gnu-cc -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/cv8888/anaconda3/envs/efficientvit/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -DHAVE_DLFCN_H=1 -DHAVE_DLOPEN=1 -I/home/cv8888/anaconda3/envs/efficientvit/include/python3.10 -c src/dynload.c -o build/temp.linux-x86_64-cpython-310/src/dynload.o
  /home/cv8888/anaconda3/envs/efficientvit/bin/x86_64-conda-linux-gnu-cc -shared -Wl,-rpath,/home/cv8888/anaconda3/envs/efficientvit/lib -Wl,-rpath-link,/home/cv8888/anaconda3/envs/efficientvit/lib -L/home/cv8888/anaconda3/envs/efficientvit/lib -Wl,-rpath,/home/cv8888/anaconda3/envs/efficientvit/lib -Wl,-rpath-link,/home/cv8888/anaconda3/envs/efficientvit/lib -L/home/cv8888/anaconda3/envs/efficientvit/lib -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--disable-new-dtags -Wl,--gc-sections -Wl,-rpath,/home/cv8888/anaconda3/envs/efficientvit/lib -Wl,-rpath-link,/home/cv8888/anaconda3/envs/efficientvit/lib -L/home/cv8888/anaconda3/envs/efficientvit/lib -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/cv8888/anaconda3/envs/efficientvit/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include build/temp.linux-x86_64-cpython-310/src/dynload.o -Lbuild/temp.linux-x86_64-cpython-310 -ldl -o build/lib.linux-x86_64-cpython-310/mpi4py/dl.cpython-310-x86_64-linux-gnu.so
  checking for MPI compile and link ...
  /home/cv8888/anaconda3/envs/efficientvit/bin/mpicc -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/cv8888/anaconda3/envs/efficientvit/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/cv8888/anaconda3/envs/efficientvit/include -fPIC -I/home/cv8888/anaconda3/envs/efficientvit/include/python3.10 -c _configtest.c -o _configtest.o
  --------------------------------------------------------------------------
  The Open MPI wrapper compiler was unable to find the specified compiler
  x86_64-conda_cos6-linux-gnu-cc in your PATH.

  Note that this compiler was either specified at configure time or in
  one of several possible environment variables.
  --------------------------------------------------------------------------
  failure.
  removing: _configtest.c _configtest.o
  error: Cannot compile MPI programs. Check your configuration!!!
  [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

Comment out the following line mpi4py==3.1.5 in the requirements.txt file. Then install mpi4py using conda or apt.

JustinKai0527 commented 3 months ago

sudo apt-get install openmpi-bin libopenmpi-dev conda install gcc_linux-64 pip install mpi4py