GLOB sdist-make: /tmp/tmpbdvvik9x/pytest-mpi-0.3/setup.py py37 create: /tmp/tmpbdvvik9x/pytest-mpi-0.3/.tox/py37 py37 installdeps: pytest==5.2.4, pytest-cov, sybil, mpi4py ERROR: invocation failed (exit code 1), logfile: /tmp/tmpbdvvik9x/pytest-mpi-0.3/.tox/py37/log/py37-1.log ================================== log start =================================== Collecting pytest==5.2.4 Using cached https://files.pythonhosted.org/packages/17/18/8bfa28d47cd71d5155fbd3b393c75e8f7966bef5f32637333e76ee74ce04/pytest-5.2.4-py3-none-any.whl Collecting pytest-cov Using cached https://files.pythonhosted.org/packages/b9/54/3673ee8be482f81527678ac894276223b9814bb7262e4f730469bb7bf70e/pytest_cov-2.8.1-py2.py3-none-any.whl Collecting sybil Downloading https://files.pythonhosted.org/packages/db/9b/8dc94ca3b0ab54e285478576451119b2ac0332dbb1bd4b530b970b9837c0/sybil-1.2.0-py2.py3-none-any.whl Collecting mpi4py Downloading https://files.pythonhosted.org/packages/ec/8f/bbd8de5ba566dd77e408d8136e2bab7fdf2b97ce06cab830ba8b50a2f588/mpi4py-3.0.3.tar.gz (1.4MB) Collecting importlib-metadata>=0.12; python_version < "3.8" (from pytest==5.2.4) Using cached https://files.pythonhosted.org/packages/ed/82/ebece33bc20b9097683d09e47563d487e411e2cf3a37789d7ec0a88c4ce4/importlib_metadata-1.1.0-py2.py3-none-any.whl Collecting attrs>=17.4.0 (from pytest==5.2.4) Using cached https://files.pythonhosted.org/packages/a2/db/4313ab3be961f7a763066401fb77f7748373b6094076ae2bda2806988af6/attrs-19.3.0-py2.py3-none-any.whl Collecting pluggy<1.0,>=0.12 (from pytest==5.2.4) Using cached https://files.pythonhosted.org/packages/a0/28/85c7aa31b80d150b772fbe4a229487bc6644da9ccb7e427dd8cc60cb8a62/pluggy-0.13.1-py2.py3-none-any.whl Collecting packaging (from pytest==5.2.4) Using cached https://files.pythonhosted.org/packages/cf/94/9672c2d4b126e74c4496c6b3c58a8b51d6419267be9e70660ba23374c875/packaging-19.2-py2.py3-none-any.whl Collecting py>=1.5.0 (from pytest==5.2.4) Using cached https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl Collecting atomicwrites>=1.0 (from pytest==5.2.4) Using cached https://files.pythonhosted.org/packages/52/90/6155aa926f43f2b2a22b01be7241be3bfd1ceaf7d0b3267213e8127d41f4/atomicwrites-1.3.0-py2.py3-none-any.whl Collecting wcwidth (from pytest==5.2.4) Using cached https://files.pythonhosted.org/packages/7e/9f/526a6947247599b084ee5232e4f9190a38f398d7300d866af3ab571a5bfe/wcwidth-0.1.7-py2.py3-none-any.whl Collecting more-itertools>=4.0.0 (from pytest==5.2.4) Using cached https://files.pythonhosted.org/packages/5c/1d/3df99de956abb96305956e09e6a1fa955883295e1f28808f9c97b3d5364d/more_itertools-8.0.0-py3-none-any.whl Collecting coverage>=4.4 (from pytest-cov) Using cached https://files.pythonhosted.org/packages/82/8f/a2a687fa00059360858023c5cb74e94b8afaf318726e9a256934066a9d90/coverage-4.5.4-cp37-cp37m-manylinux1_x86_64.whl Collecting zipp>=0.5 (from importlib-metadata>=0.12; python_version < "3.8"->pytest==5.2.4) Using cached https://files.pythonhosted.org/packages/74/3d/1ee25a26411ba0401b43c6376d2316a71addcc72ef8690b101b4ea56d76a/zipp-0.6.0-py2.py3-none-any.whl Collecting pyparsing>=2.0.2 (from packaging->pytest==5.2.4) Using cached https://files.pythonhosted.org/packages/c0/0c/fc2e007d9a992d997f04a80125b0f183da7fb554f1de701bbb70a8e7d479/pyparsing-2.4.5-py2.py3-none-any.whl Collecting six (from packaging->pytest==5.2.4) Using cached https://files.pythonhosted.org/packages/65/26/32b8464df2a97e6dd1b656ed26b2c194606c16fe163c695a992b36c11cdf/six-1.13.0-py2.py3-none-any.whl Building wheels for collected packages: mpi4py Running setup.py bdist_wheel for mpi4py: started Running setup.py bdist_wheel for mpi4py: finished with status 'error' Complete output from command /tmp/tmpbdvvik9x/pytest-mpi-0.3/.tox/py37/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-e32pbxwf/mpi4py/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-jljs8sq4 --python-tag cp37: running bdist_wheel running build running build_src running build_py creating build creating build/lib.linux-x86_64-3.7 creating build/lib.linux-x86_64-3.7/mpi4py copying src/mpi4py/__main__.py -> build/lib.linux-x86_64-3.7/mpi4py copying src/mpi4py/__init__.py -> build/lib.linux-x86_64-3.7/mpi4py copying src/mpi4py/run.py -> build/lib.linux-x86_64-3.7/mpi4py copying src/mpi4py/bench.py -> build/lib.linux-x86_64-3.7/mpi4py creating build/lib.linux-x86_64-3.7/mpi4py/futures copying src/mpi4py/futures/_base.py -> build/lib.linux-x86_64-3.7/mpi4py/futures copying src/mpi4py/futures/_lib.py -> build/lib.linux-x86_64-3.7/mpi4py/futures copying src/mpi4py/futures/pool.py -> build/lib.linux-x86_64-3.7/mpi4py/futures copying src/mpi4py/futures/__main__.py -> build/lib.linux-x86_64-3.7/mpi4py/futures copying src/mpi4py/futures/aplus.py -> build/lib.linux-x86_64-3.7/mpi4py/futures copying src/mpi4py/futures/__init__.py -> build/lib.linux-x86_64-3.7/mpi4py/futures copying src/mpi4py/futures/server.py -> build/lib.linux-x86_64-3.7/mpi4py/futures copying src/mpi4py/libmpi.pxd -> build/lib.linux-x86_64-3.7/mpi4py copying src/mpi4py/MPI.pxd -> build/lib.linux-x86_64-3.7/mpi4py copying src/mpi4py/__init__.pxd -> build/lib.linux-x86_64-3.7/mpi4py creating build/lib.linux-x86_64-3.7/mpi4py/include creating build/lib.linux-x86_64-3.7/mpi4py/include/mpi4py copying src/mpi4py/include/mpi4py/mpi4py.h -> build/lib.linux-x86_64-3.7/mpi4py/include/mpi4py copying src/mpi4py/include/mpi4py/mpi4py.MPI.h -> build/lib.linux-x86_64-3.7/mpi4py/include/mpi4py copying src/mpi4py/include/mpi4py/mpi4py.MPI_api.h -> build/lib.linux-x86_64-3.7/mpi4py/include/mpi4py copying src/mpi4py/include/mpi4py/mpi4py.i -> build/lib.linux-x86_64-3.7/mpi4py/include/mpi4py copying src/mpi4py/include/mpi4py/mpi.pxi -> build/lib.linux-x86_64-3.7/mpi4py/include/mpi4py running build_clib MPI configuration: [mpi] from 'mpi.cfg' checking for library 'lmpe' ... gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC -c _configtest.c -o _configtest.o gcc -pthread _configtest.o -llmpe -o _configtest /usr/bin/ld: cannot find -llmpe collect2: error: ld returned 1 exit status failure. removing: _configtest.c _configtest.o building 'mpe' dylib library creating build/temp.linux-x86_64-3.7 creating build/temp.linux-x86_64-3.7/src creating build/temp.linux-x86_64-3.7/src/lib-pmpi gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC -c src/lib-pmpi/mpe.c -o build/temp.linux-x86_64-3.7/src/lib-pmpi/mpe.o creating build/lib.linux-x86_64-3.7/mpi4py/lib-pmpi gcc -pthread -shared -L/opt/python/3.7.1/lib -Wl,-rpath=/opt/python/3.7.1/lib -L/opt/python/3.7.1/lib -Wl,-rpath=/opt/python/3.7.1/lib -Wl,--no-as-needed build/temp.linux-x86_64-3.7/src/lib-pmpi/mpe.o -o build/lib.linux-x86_64-3.7/mpi4py/lib-pmpi/libmpe.so checking for library 'vt-mpi' ... gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC -c _configtest.c -o _configtest.o gcc -pthread _configtest.o -lvt-mpi -o _configtest /usr/bin/ld: cannot find -lvt-mpi collect2: error: ld returned 1 exit status failure. removing: _configtest.c _configtest.o checking for library 'vt.mpi' ... gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC -c _configtest.c -o _configtest.o gcc -pthread _configtest.o -lvt.mpi -o _configtest /usr/bin/ld: cannot find -lvt.mpi collect2: error: ld returned 1 exit status failure. removing: _configtest.c _configtest.o building 'vt' dylib library gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC -c src/lib-pmpi/vt.c -o build/temp.linux-x86_64-3.7/src/lib-pmpi/vt.o gcc -pthread -shared -L/opt/python/3.7.1/lib -Wl,-rpath=/opt/python/3.7.1/lib -L/opt/python/3.7.1/lib -Wl,-rpath=/opt/python/3.7.1/lib -Wl,--no-as-needed build/temp.linux-x86_64-3.7/src/lib-pmpi/vt.o -o build/lib.linux-x86_64-3.7/mpi4py/lib-pmpi/libvt.so checking for library 'vt-mpi' ... gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC -c _configtest.c -o _configtest.o gcc -pthread _configtest.o -lvt-mpi -o _configtest /usr/bin/ld: cannot find -lvt-mpi collect2: error: ld returned 1 exit status failure. removing: _configtest.c _configtest.o checking for library 'vt.mpi' ... gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC -c _configtest.c -o _configtest.o gcc -pthread _configtest.o -lvt.mpi -o _configtest /usr/bin/ld: cannot find -lvt.mpi collect2: error: ld returned 1 exit status failure. removing: _configtest.c _configtest.o building 'vt-mpi' dylib library gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC -c src/lib-pmpi/vt-mpi.c -o build/temp.linux-x86_64-3.7/src/lib-pmpi/vt-mpi.o gcc -pthread -shared -L/opt/python/3.7.1/lib -Wl,-rpath=/opt/python/3.7.1/lib -L/opt/python/3.7.1/lib -Wl,-rpath=/opt/python/3.7.1/lib -Wl,--no-as-needed build/temp.linux-x86_64-3.7/src/lib-pmpi/vt-mpi.o -o build/lib.linux-x86_64-3.7/mpi4py/lib-pmpi/libvt-mpi.so checking for library 'vt-hyb' ... gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC -c _configtest.c -o _configtest.o gcc -pthread _configtest.o -lvt-hyb -o _configtest /usr/bin/ld: cannot find -lvt-hyb collect2: error: ld returned 1 exit status failure. removing: _configtest.c _configtest.o checking for library 'vt.ompi' ... gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC -c _configtest.c -o _configtest.o gcc -pthread _configtest.o -lvt.ompi -o _configtest /usr/bin/ld: cannot find -lvt.ompi collect2: error: ld returned 1 exit status failure. removing: _configtest.c _configtest.o building 'vt-hyb' dylib library gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC -c src/lib-pmpi/vt-hyb.c -o build/temp.linux-x86_64-3.7/src/lib-pmpi/vt-hyb.o gcc -pthread -shared -L/opt/python/3.7.1/lib -Wl,-rpath=/opt/python/3.7.1/lib -L/opt/python/3.7.1/lib -Wl,-rpath=/opt/python/3.7.1/lib -Wl,--no-as-needed build/temp.linux-x86_64-3.7/src/lib-pmpi/vt-hyb.o -o build/lib.linux-x86_64-3.7/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 -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC -I/opt/python/3.7.1/include/python3.7m -c _configtest.c -o _configtest.o success! removing: _configtest.c _configtest.o success! checking for library 'dl' ... gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC -I/opt/python/3.7.1/include/python3.7m -c _configtest.c -o _configtest.o gcc -pthread _configtest.o -L/opt/python/3.7.1/lib -Lbuild/temp.linux-x86_64-3.7 -Wl,--enable-new-dtags,-R/opt/python/3.7.1/lib -ldl -o _configtest success! removing: _configtest.c _configtest.o _configtest checking for function 'dlopen' ... gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC -I/opt/python/3.7.1/include/python3.7m -c _configtest.c -o _configtest.o gcc -pthread _configtest.o -L/opt/python/3.7.1/lib -Lbuild/temp.linux-x86_64-3.7 -Wl,--enable-new-dtags,-R/opt/python/3.7.1/lib -ldl -o _configtest success! removing: _configtest.c _configtest.o _configtest building 'mpi4py.dl' extension gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC -DHAVE_DLFCN_H=1 -DHAVE_DLOPEN=1 -I/opt/python/3.7.1/include/python3.7m -c src/dynload.c -o build/temp.linux-x86_64-3.7/src/dynload.o gcc -pthread -shared -L/opt/python/3.7.1/lib -Wl,-rpath=/opt/python/3.7.1/lib -L/opt/python/3.7.1/lib -Wl,-rpath=/opt/python/3.7.1/lib build/temp.linux-x86_64-3.7/src/dynload.o -L/opt/python/3.7.1/lib -Lbuild/temp.linux-x86_64-3.7 -Wl,--enable-new-dtags,-R/opt/python/3.7.1/lib -ldl -lpython3.7m -o build/lib.linux-x86_64-3.7/mpi4py/dl.cpython-37m-x86_64-linux-gnu.so checking for MPI compile and link ... gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC -I/opt/python/3.7.1/include/python3.7m -c _configtest.c -o _configtest.o _configtest.c:2:17: fatal error: mpi.h: No such file or directory compilation terminated. failure. removing: _configtest.c _configtest.o error: Cannot compile MPI programs. Check your configuration!!! ---------------------------------------- Failed building wheel for mpi4py Running setup.py clean for mpi4py Failed to build mpi4py Installing collected packages: more-itertools, zipp, importlib-metadata, attrs, pluggy, pyparsing, six, packaging, py, atomicwrites, wcwidth, pytest, coverage, pytest-cov, sybil, mpi4py Running setup.py install for mpi4py: started Running setup.py install for mpi4py: finished with status 'error' Complete output from command /tmp/tmpbdvvik9x/pytest-mpi-0.3/.tox/py37/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-e32pbxwf/mpi4py/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-6_j7htsm/install-record.txt --single-version-externally-managed --compile --install-headers /tmp/tmpbdvvik9x/pytest-mpi-0.3/.tox/py37/include/site/python3.7/mpi4py: running install running build running build_src running build_py creating build creating build/lib.linux-x86_64-3.7 creating build/lib.linux-x86_64-3.7/mpi4py copying src/mpi4py/__main__.py -> build/lib.linux-x86_64-3.7/mpi4py copying src/mpi4py/__init__.py -> build/lib.linux-x86_64-3.7/mpi4py copying src/mpi4py/run.py -> build/lib.linux-x86_64-3.7/mpi4py copying src/mpi4py/bench.py -> build/lib.linux-x86_64-3.7/mpi4py creating build/lib.linux-x86_64-3.7/mpi4py/futures copying src/mpi4py/futures/_base.py -> build/lib.linux-x86_64-3.7/mpi4py/futures copying src/mpi4py/futures/_lib.py -> build/lib.linux-x86_64-3.7/mpi4py/futures copying src/mpi4py/futures/pool.py -> build/lib.linux-x86_64-3.7/mpi4py/futures copying src/mpi4py/futures/__main__.py -> build/lib.linux-x86_64-3.7/mpi4py/futures copying src/mpi4py/futures/aplus.py -> build/lib.linux-x86_64-3.7/mpi4py/futures copying src/mpi4py/futures/__init__.py -> build/lib.linux-x86_64-3.7/mpi4py/futures copying src/mpi4py/futures/server.py -> build/lib.linux-x86_64-3.7/mpi4py/futures copying src/mpi4py/libmpi.pxd -> build/lib.linux-x86_64-3.7/mpi4py copying src/mpi4py/MPI.pxd -> build/lib.linux-x86_64-3.7/mpi4py copying src/mpi4py/__init__.pxd -> build/lib.linux-x86_64-3.7/mpi4py creating build/lib.linux-x86_64-3.7/mpi4py/include creating build/lib.linux-x86_64-3.7/mpi4py/include/mpi4py copying src/mpi4py/include/mpi4py/mpi4py.h -> build/lib.linux-x86_64-3.7/mpi4py/include/mpi4py copying src/mpi4py/include/mpi4py/mpi4py.MPI.h -> build/lib.linux-x86_64-3.7/mpi4py/include/mpi4py copying src/mpi4py/include/mpi4py/mpi4py.MPI_api.h -> build/lib.linux-x86_64-3.7/mpi4py/include/mpi4py copying src/mpi4py/include/mpi4py/mpi4py.i -> build/lib.linux-x86_64-3.7/mpi4py/include/mpi4py copying src/mpi4py/include/mpi4py/mpi.pxi -> build/lib.linux-x86_64-3.7/mpi4py/include/mpi4py running build_clib MPI configuration: [mpi] from 'mpi.cfg' checking for library 'lmpe' ... gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC -c _configtest.c -o _configtest.o gcc -pthread _configtest.o -llmpe -o _configtest /usr/bin/ld: cannot find -llmpe collect2: error: ld returned 1 exit status failure. removing: _configtest.c _configtest.o building 'mpe' dylib library creating build/temp.linux-x86_64-3.7 creating build/temp.linux-x86_64-3.7/src creating build/temp.linux-x86_64-3.7/src/lib-pmpi gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC -c src/lib-pmpi/mpe.c -o build/temp.linux-x86_64-3.7/src/lib-pmpi/mpe.o creating build/lib.linux-x86_64-3.7/mpi4py/lib-pmpi gcc -pthread -shared -L/opt/python/3.7.1/lib -Wl,-rpath=/opt/python/3.7.1/lib -L/opt/python/3.7.1/lib -Wl,-rpath=/opt/python/3.7.1/lib -Wl,--no-as-needed build/temp.linux-x86_64-3.7/src/lib-pmpi/mpe.o -o build/lib.linux-x86_64-3.7/mpi4py/lib-pmpi/libmpe.so checking for library 'vt-mpi' ... gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC -c _configtest.c -o _configtest.o gcc -pthread _configtest.o -lvt-mpi -o _configtest /usr/bin/ld: cannot find -lvt-mpi collect2: error: ld returned 1 exit status failure. removing: _configtest.c _configtest.o checking for library 'vt.mpi' ... gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC -c _configtest.c -o _configtest.o gcc -pthread _configtest.o -lvt.mpi -o _configtest /usr/bin/ld: cannot find -lvt.mpi collect2: error: ld returned 1 exit status failure. removing: _configtest.c _configtest.o building 'vt' dylib library gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC -c src/lib-pmpi/vt.c -o build/temp.linux-x86_64-3.7/src/lib-pmpi/vt.o gcc -pthread -shared -L/opt/python/3.7.1/lib -Wl,-rpath=/opt/python/3.7.1/lib -L/opt/python/3.7.1/lib -Wl,-rpath=/opt/python/3.7.1/lib -Wl,--no-as-needed build/temp.linux-x86_64-3.7/src/lib-pmpi/vt.o -o build/lib.linux-x86_64-3.7/mpi4py/lib-pmpi/libvt.so checking for library 'vt-mpi' ... gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC -c _configtest.c -o _configtest.o gcc -pthread _configtest.o -lvt-mpi -o _configtest /usr/bin/ld: cannot find -lvt-mpi collect2: error: ld returned 1 exit status failure. removing: _configtest.c _configtest.o checking for library 'vt.mpi' ... gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC -c _configtest.c -o _configtest.o gcc -pthread _configtest.o -lvt.mpi -o _configtest /usr/bin/ld: cannot find -lvt.mpi collect2: error: ld returned 1 exit status failure. removing: _configtest.c _configtest.o building 'vt-mpi' dylib library gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC -c src/lib-pmpi/vt-mpi.c -o build/temp.linux-x86_64-3.7/src/lib-pmpi/vt-mpi.o gcc -pthread -shared -L/opt/python/3.7.1/lib -Wl,-rpath=/opt/python/3.7.1/lib -L/opt/python/3.7.1/lib -Wl,-rpath=/opt/python/3.7.1/lib -Wl,--no-as-needed build/temp.linux-x86_64-3.7/src/lib-pmpi/vt-mpi.o -o build/lib.linux-x86_64-3.7/mpi4py/lib-pmpi/libvt-mpi.so checking for library 'vt-hyb' ... gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC -c _configtest.c -o _configtest.o gcc -pthread _configtest.o -lvt-hyb -o _configtest /usr/bin/ld: cannot find -lvt-hyb collect2: error: ld returned 1 exit status failure. removing: _configtest.c _configtest.o checking for library 'vt.ompi' ... gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC -c _configtest.c -o _configtest.o gcc -pthread _configtest.o -lvt.ompi -o _configtest /usr/bin/ld: cannot find -lvt.ompi collect2: error: ld returned 1 exit status failure. removing: _configtest.c _configtest.o building 'vt-hyb' dylib library gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC -c src/lib-pmpi/vt-hyb.c -o build/temp.linux-x86_64-3.7/src/lib-pmpi/vt-hyb.o gcc -pthread -shared -L/opt/python/3.7.1/lib -Wl,-rpath=/opt/python/3.7.1/lib -L/opt/python/3.7.1/lib -Wl,-rpath=/opt/python/3.7.1/lib -Wl,--no-as-needed build/temp.linux-x86_64-3.7/src/lib-pmpi/vt-hyb.o -o build/lib.linux-x86_64-3.7/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 -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC -I/opt/python/3.7.1/include/python3.7m -c _configtest.c -o _configtest.o success! removing: _configtest.c _configtest.o success! checking for library 'dl' ... gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC -I/opt/python/3.7.1/include/python3.7m -c _configtest.c -o _configtest.o gcc -pthread _configtest.o -L/opt/python/3.7.1/lib -Lbuild/temp.linux-x86_64-3.7 -Wl,--enable-new-dtags,-R/opt/python/3.7.1/lib -ldl -o _configtest success! removing: _configtest.c _configtest.o _configtest checking for function 'dlopen' ... gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC -I/opt/python/3.7.1/include/python3.7m -c _configtest.c -o _configtest.o gcc -pthread _configtest.o -L/opt/python/3.7.1/lib -Lbuild/temp.linux-x86_64-3.7 -Wl,--enable-new-dtags,-R/opt/python/3.7.1/lib -ldl -o _configtest success! removing: _configtest.c _configtest.o _configtest building 'mpi4py.dl' extension gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC -DHAVE_DLFCN_H=1 -DHAVE_DLOPEN=1 -I/opt/python/3.7.1/include/python3.7m -c src/dynload.c -o build/temp.linux-x86_64-3.7/src/dynload.o gcc -pthread -shared -L/opt/python/3.7.1/lib -Wl,-rpath=/opt/python/3.7.1/lib -L/opt/python/3.7.1/lib -Wl,-rpath=/opt/python/3.7.1/lib build/temp.linux-x86_64-3.7/src/dynload.o -L/opt/python/3.7.1/lib -Lbuild/temp.linux-x86_64-3.7 -Wl,--enable-new-dtags,-R/opt/python/3.7.1/lib -ldl -lpython3.7m -o build/lib.linux-x86_64-3.7/mpi4py/dl.cpython-37m-x86_64-linux-gnu.so checking for MPI compile and link ... gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC -I/opt/python/3.7.1/include/python3.7m -c _configtest.c -o _configtest.o _configtest.c:2:17: fatal error: mpi.h: No such file or directory compilation terminated. failure. removing: _configtest.c _configtest.o error: Cannot compile MPI programs. Check your configuration!!! ---------------------------------------- Command "/tmp/tmpbdvvik9x/pytest-mpi-0.3/.tox/py37/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-e32pbxwf/mpi4py/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-6_j7htsm/install-record.txt --single-version-externally-managed --compile --install-headers /tmp/tmpbdvvik9x/pytest-mpi-0.3/.tox/py37/include/site/python3.7/mpi4py" failed with error code 1 in /tmp/pip-install-e32pbxwf/mpi4py/ =================================== log end ==================================== ERROR: could not install deps [pytest==5.2.4, pytest-cov, sybil, mpi4py]; v = InvocationError('/tmp/tmpbdvvik9x/pytest-mpi-0.3/.tox/py37/bin/python -m pip install pytest==5.2.4 pytest-cov sybil mpi4py', 1) ___________________________________ summary ____________________________________ ERROR: py37: could not install deps [pytest==5.2.4, pytest-cov, sybil, mpi4py]; v = InvocationError('/tmp/tmpbdvvik9x/pytest-mpi-0.3/.tox/py37/bin/python -m pip install pytest==5.2.4 pytest-cov sybil mpi4py', 1) write json report at: /tmp/tmpbdvvik9x/pytest-mpi-0.3/result.json Time: 56.2 seconds