Skip to content

It looks like I need a specific version of MPI. what is the right version I should apt install?  #16

Description

@ildefons

Dear Ignasi,

I get the following error while trying to create the conda environment (step B, after solving the botocore issue-previous reported issue). It looks like I need a specific version of MPI. what is the right version I should apt install?

My current MPI version:

mpiexec --version
mpiexec (OpenRTE) 4.0.3

conda env create -f docker/environment.yml
Warning: you have pip-installed dependencies in your environment file, but you do not list pip itself as one of your conda dependencies. Conda may not use the correct pip to install your packages, and they may end up in the wrong place. Please add an explicit pip dependency. I'm adding one for you, but still nagging you.
Collecting package metadata (repodata.json): done
Solving environment: done

==> WARNING: A newer version of conda exists. <==
current version: 4.9.2
latest version: 4.10.1

Please update conda by running

$ conda update -n base -c defaults conda

Preparing transaction: done
Verifying transaction: done
Executing transaction: done
Installing pip dependencies: / Ran pip subprocess with arguments:
['/home/ildefons/anaconda3/envs/learning_to_adapt2/bin/python', '-m', 'pip', 'install', '-U', '-r', '/home/ildefons/iclavera/learning_to_adapt/docker/condaenv.eq_1vsms.requirements.txt']
Pip subprocess output:
Collecting bleach==1.5.0
Using cached bleach-1.5.0-py2.py3-none-any.whl (17 kB)
Collecting boto3==1.8.9
Using cached boto3-1.8.9-py2.py3-none-any.whl (128 kB)
Collecting botocore==1.11.9
Downloading botocore-1.11.9-py2.py3-none-any.whl (4.7 MB)
Collecting cffi==1.11.5
Using cached cffi-1.11.5-cp36-cp36m-manylinux1_x86_64.whl (421 kB)
Collecting chardet==3.0.4
Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Collecting click==6.7
Using cached click-6.7-py2.py3-none-any.whl (71 kB)
Collecting cloudpickle==0.6.1
Using cached cloudpickle-0.6.1-py2.py3-none-any.whl (14 kB)
Collecting cycler==0.10.0
Using cached cycler-0.10.0-py2.py3-none-any.whl (6.5 kB)
Collecting Cython==0.28.5
Using cached Cython-0.28.5-cp36-cp36m-manylinux1_x86_64.whl (3.4 MB)
Collecting decorator==4.3.0
Using cached decorator-4.3.0-py2.py3-none-any.whl (9.2 kB)
Collecting docutils==0.14
Using cached docutils-0.14-py3-none-any.whl (543 kB)
Collecting enum34==1.1.6
Using cached enum34-1.1.6-py3-none-any.whl (12 kB)
Collecting Flask==1.0.2
Using cached Flask-1.0.2-py2.py3-none-any.whl (91 kB)
Collecting future==0.16.0
Using cached future-0.16.0.tar.gz (824 kB)
Collecting glfw==1.7.0
Using cached glfw-1.7.0.tar.gz (19 kB)
Collecting gym==0.7.4
Using cached gym-0.7.4.tar.gz (152 kB)
Collecting html5lib==0.9999999
Using cached html5lib-0.9999999.tar.gz (889 kB)
Collecting idna==2.7
Using cached idna-2.7-py2.py3-none-any.whl (58 kB)
Collecting imageio==2.4.1
Using cached imageio-2.4.1.tar.gz (3.3 MB)
Collecting ipython-genutils==0.2.0
Using cached ipython_genutils-0.2.0-py2.py3-none-any.whl (26 kB)
Collecting itsdangerous==0.24
Using cached itsdangerous-0.24.tar.gz (46 kB)
Collecting Jinja2==2.10
Using cached Jinja2-2.10-py2.py3-none-any.whl (126 kB)
Collecting jmespath==0.9.3
Using cached jmespath-0.9.3-py2.py3-none-any.whl (23 kB)
Collecting joblib==0.12.4
Using cached joblib-0.12.4-py2.py3-none-any.whl (272 kB)
Collecting jsonschema==2.6.0
Using cached jsonschema-2.6.0-py2.py3-none-any.whl (39 kB)
Collecting kiwisolver==1.0.1
Using cached kiwisolver-1.0.1-cp36-cp36m-manylinux1_x86_64.whl (949 kB)
Collecting matplotlib==2.2.3
Using cached matplotlib-2.2.3-cp36-cp36m-manylinux1_x86_64.whl (12.6 MB)
Collecting moviepy==0.2.3.5
Using cached moviepy-0.2.3.5.tar.gz (372 kB)
Collecting mpi4py==3.0.0
Using cached mpi4py-3.0.0.tar.gz (1.4 MB)
Collecting mujoco-py==0.5.7
Using cached mujoco-py-0.5.7.tar.gz (37 kB)
Collecting nbformat==4.4.0
Using cached nbformat-4.4.0-py2.py3-none-any.whl (155 kB)
Collecting nose==1.3.7
Using cached nose-1.3.7-py3-none-any.whl (154 kB)
Collecting numpy==1.15.1
Using cached numpy-1.15.1-cp36-cp36m-manylinux1_x86_64.whl (13.9 MB)
Collecting Pillow==5.2.0
Using cached Pillow-5.2.0-cp36-cp36m-manylinux1_x86_64.whl (2.0 MB)
Collecting pip==10.0.1
Using cached pip-10.0.1-py2.py3-none-any.whl (1.3 MB)
Collecting plotly==3.2.0
Using cached plotly-3.2.0-py2.py3-none-any.whl (37.0 MB)
Collecting protobuf==3.6.1
Using cached protobuf-3.6.1-cp36-cp36m-manylinux1_x86_64.whl (1.1 MB)
Collecting pycparser==2.18
Using cached pycparser-2.18.tar.gz (245 kB)
Collecting pyglet==1.3.2
Using cached pyglet-1.3.2-py2.py3-none-any.whl (1.0 MB)
Collecting PyOpenGL==3.1.0
Using cached PyOpenGL-3.1.0.zip (2.2 MB)
Collecting pyparsing==2.2.0
Using cached pyparsing-2.2.0-py2.py3-none-any.whl (56 kB)
Collecting PyPrind==2.11.2
Using cached PyPrind-2.11.2-py3-none-any.whl (8.6 kB)
Collecting pyquaternion==0.9.2
Using cached pyquaternion-0.9.2.tar.gz (13 kB)
Collecting python-dateutil==2.7.3
Using cached python_dateutil-2.7.3-py2.py3-none-any.whl (211 kB)
Collecting pytz==2018.5
Using cached pytz-2018.5-py2.py3-none-any.whl (510 kB)
Collecting requests==2.19.1
Using cached requests-2.19.1-py2.py3-none-any.whl (91 kB)
Collecting retrying==1.3.3
Using cached retrying-1.3.3.tar.gz (10 kB)
Collecting s3transfer==0.1.13
Using cached s3transfer-0.1.13-py2.py3-none-any.whl (59 kB)
Collecting scipy==1.1.0
Using cached scipy-1.1.0-cp36-cp36m-manylinux1_x86_64.whl (31.2 MB)
Collecting setuptools==40.2.0
Using cached setuptools-40.2.0-py2.py3-none-any.whl (568 kB)
Collecting six==1.11.0
Using cached six-1.11.0-py2.py3-none-any.whl (10 kB)
Collecting tensorflow==1.13.1
Using cached tensorflow-1.13.1-cp36-cp36m-manylinux1_x86_64.whl (92.5 MB)
Collecting tensorflow-tensorboard==0.4.0
Using cached tensorflow_tensorboard-0.4.0-py3-none-any.whl (1.7 MB)
Collecting tqdm==4.25.0
Using cached tqdm-4.25.0-py2.py3-none-any.whl (43 kB)
Collecting traitlets==4.3.2
Using cached traitlets-4.3.2-py2.py3-none-any.whl (74 kB)
Collecting urllib3==1.23
Using cached urllib3-1.23-py2.py3-none-any.whl (133 kB)
Collecting Werkzeug==0.14.1
Using cached Werkzeug-0.14.1-py2.py3-none-any.whl (322 kB)
Collecting wheel==0.31.1
Using cached wheel-0.31.1-py2.py3-none-any.whl (41 kB)
Collecting MarkupSafe>=0.23
Downloading MarkupSafe-2.0.0-cp36-cp36m-manylinux2010_x86_64.whl (30 kB)
Collecting jupyter-core
Downloading jupyter_core-4.7.1-py3-none-any.whl (82 kB)
Requirement already satisfied: certifi>=2017.4.17 in /home/ildefons/anaconda3/envs/learning_to_adapt2/lib/python3.6/site-packages (from requests==2.19.1->-r /home/ildefons/iclavera/learning_to_adapt/docker/condaenv.eq_1vsms.requirements.txt (line 46)) (2020.12.5)
Collecting keras-preprocessing>=1.0.5
Using cached Keras_Preprocessing-1.1.2-py2.py3-none-any.whl (42 kB)
Collecting termcolor>=1.1.0
Using cached termcolor-1.1.0-py3-none-any.whl
Collecting keras-applications>=1.0.6
Using cached Keras_Applications-1.0.8-py3-none-any.whl (50 kB)
Collecting absl-py>=0.1.6
Using cached absl_py-0.12.0-py3-none-any.whl (129 kB)
Collecting gast>=0.2.0
Using cached gast-0.4.0-py3-none-any.whl (9.8 kB)
Collecting tensorboard<1.14.0,>=1.13.0
Downloading tensorboard-1.13.1-py3-none-any.whl (3.2 MB)
Collecting astor>=0.6.0
Using cached astor-0.8.1-py2.py3-none-any.whl (27 kB)
Collecting tensorflow-estimator<1.14.0rc0,>=1.13.0
Downloading tensorflow_estimator-1.13.0-py2.py3-none-any.whl (367 kB)
Collecting grpcio>=1.8.6
Downloading grpcio-1.37.1-cp36-cp36m-manylinux2014_x86_64.whl (4.2 MB)
Collecting markdown>=2.6.8
Using cached Markdown-3.3.4-py3-none-any.whl (97 kB)
Collecting h5py
Using cached h5py-3.1.0-cp36-cp36m-manylinux1_x86_64.whl (4.0 MB)
Collecting importlib-metadata
Downloading importlib_metadata-4.0.1-py3-none-any.whl (16 kB)
Collecting mock>=2.0.0
Using cached mock-4.0.3-py3-none-any.whl (28 kB)
Collecting cached-property
Using cached cached_property-1.5.2-py2.py3-none-any.whl (7.6 kB)
Collecting typing-extensions>=3.6.4
Downloading typing_extensions-3.10.0.0-py3-none-any.whl (26 kB)
Collecting zipp>=0.5
Downloading zipp-3.4.1-py3-none-any.whl (5.2 kB)
Building wheels for collected packages: future, glfw, gym, html5lib, imageio, itsdangerous, moviepy, mpi4py, mujoco-py, pycparser, PyOpenGL, pyquaternion, retrying
Building wheel for future (setup.py): started
Building wheel for future (setup.py): finished with status 'done'
Created wheel for future: filename=future-0.16.0-py3-none-any.whl size=487798 sha256=6066596fbb249e923c594f5d7cb1e08199b4febf76ed87ad4a5d59f32258eb68
Stored in directory: /home/ildefons/.cache/pip/wheels/06/d8/4f/1fda930a85fef200da1e8cb24dae1821feb00270b42990efee
Building wheel for glfw (setup.py): started
Building wheel for glfw (setup.py): finished with status 'done'
Created wheel for glfw: filename=glfw-1.7.0-py3-none-any.whl size=20190 sha256=d6355e09091344ddc7cec17fccea5bd923a63ad5944a0959956940c3d201f779
Stored in directory: /home/ildefons/.cache/pip/wheels/4b/bd/4e/85ce541aa708dce19bea41ded256352e6c45fd3f27161b7622
Building wheel for gym (setup.py): started
Building wheel for gym (setup.py): finished with status 'done'
Created wheel for gym: filename=gym-0.7.4-py3-none-any.whl size=204691 sha256=2ba09e7ad9f13e0a3cb9ed2ea8195757b82c7f37625b079ed9af68c81b784609
Stored in directory: /home/ildefons/.cache/pip/wheels/a8/50/b3/97ded97c24ca5fd89eca860e47001f5cf390b5d1f9177ed59b
Building wheel for html5lib (setup.py): started
Building wheel for html5lib (setup.py): finished with status 'done'
Created wheel for html5lib: filename=html5lib-0.9999999-py3-none-any.whl size=107219 sha256=3945770a1c92150234e444d39b2dd1d5de81e99843bb98eece192e82d56bafd2
Stored in directory: /home/ildefons/.cache/pip/wheels/90/1c/cb/a87fd097ff74648ecc468a703001f6c7c86d8a71d459e65c98
Building wheel for imageio (setup.py): started
Building wheel for imageio (setup.py): finished with status 'done'
Created wheel for imageio: filename=imageio-2.4.1-py3-none-any.whl size=3303870 sha256=8736c76a736b7cd7364ba0c2d8dbf2c2a12dfe87f275adb1b6b67f8749d9da01
Stored in directory: /home/ildefons/.cache/pip/wheels/44/46/c8/1c4dcdfaa55e113be908e8a07c4a29b1b09c790651c67163e3
Building wheel for itsdangerous (setup.py): started
Building wheel for itsdangerous (setup.py): finished with status 'done'
Created wheel for itsdangerous: filename=itsdangerous-0.24-py3-none-any.whl size=10621 sha256=bcee4f7e5a0b40335988d6600ed4af6fcf24f6d017c30b10148a07d43122cd45
Stored in directory: /home/ildefons/.cache/pip/wheels/87/c5/5a/ec57bae8cc6dc7933ea260ae3170fd858bec5673131c289a95
Building wheel for moviepy (setup.py): started
Building wheel for moviepy (setup.py): finished with status 'done'
Created wheel for moviepy: filename=moviepy-0.2.3.5-py3-none-any.whl size=130198 sha256=150c676578b9d12b1f38c801844eb07cbca7cae851dc3e864f0b03ac3f121fe7
Stored in directory: /home/ildefons/.cache/pip/wheels/ed/56/5e/351de3c1f858708c490f933d1d19fee08fa699f2daaf19d4e8
Building wheel for mpi4py (setup.py): started
Building wheel for mpi4py (setup.py): finished with status 'error'
Running setup.py clean for mpi4py
Building wheel for mujoco-py (setup.py): started
Building wheel for mujoco-py (setup.py): finished with status 'done'
Created wheel for mujoco-py: filename=mujoco_py-0.5.7-py3-none-any.whl size=40059 sha256=3d3d53f1eb58e390d32b5e26a3b072a08353314fa5864ad3f9fa02aa09356017
Stored in directory: /home/ildefons/.cache/pip/wheels/7a/bb/bb/a5d2a83e6bdf24a29f03b4c304f1f4c867c91172e31c04defc
Building wheel for pycparser (setup.py): started
Building wheel for pycparser (setup.py): finished with status 'done'
Created wheel for pycparser: filename=pycparser-2.18-py2.py3-none-any.whl size=206723 sha256=541f9db09ce814fa1b1605bf46e6a1b77ae313fd665472cc18a93fb743ab5a70
Stored in directory: /home/ildefons/.cache/pip/wheels/be/ba/89/4df1a952bcd0716ac1d5f6f051233e1f3a653948f08bc0a7be
Building wheel for PyOpenGL (setup.py): started
Building wheel for PyOpenGL (setup.py): finished with status 'done'
Created wheel for PyOpenGL: filename=PyOpenGL-3.1.0-py3-none-any.whl size=1745211 sha256=2019a5348c51ff4ed5483d7d0d67a6e6ce60042c069403a1e43f830f18e103ad
Stored in directory: /home/ildefons/.cache/pip/wheels/2c/60/a8/75dc000450f1a148c66456347f4bd01a6b60205557b6b5cab7
Building wheel for pyquaternion (setup.py): started
Building wheel for pyquaternion (setup.py): finished with status 'done'
Created wheel for pyquaternion: filename=pyquaternion-0.9.2-py3-none-any.whl size=13122 sha256=f035c46a83b80b95e8dc1d0fa4bf378c1462bcb6a7ab3f50541f4066ef8bbfee
Stored in directory: /home/ildefons/.cache/pip/wheels/9b/43/07/cdcc7ce2207c412431f9f9588b6b38a11b5d45eda279c57d42
Building wheel for retrying (setup.py): started
Building wheel for retrying (setup.py): finished with status 'done'
Created wheel for retrying: filename=retrying-1.3.3-py3-none-any.whl size=11429 sha256=9dfda68e7e069395bf73f68560f0e0d33558703ae11d86355e5a0b59f5e519b6
Stored in directory: /home/ildefons/.cache/pip/wheels/ac/cb/8a/b27bf6323e2f4c462dcbf77d70b7c5e7868a7fbe12871770cf
Successfully built future glfw gym html5lib imageio itsdangerous moviepy mujoco-py pycparser PyOpenGL pyquaternion retrying
Failed to build mpi4py
Installing collected packages: zipp, typing-extensions, six, ipython-genutils, decorator, urllib3, traitlets, setuptools, python-dateutil, numpy, jmespath, importlib-metadata, docutils, cached-property, wheel, Werkzeug, protobuf, Pillow, mock, MarkupSafe, markdown, jupyter-core, jsonschema, idna, html5lib, h5py, grpcio, future, chardet, botocore, absl-py, tqdm, termcolor, tensorflow-estimator, tensorboard, s3transfer, retrying, requests, pytz, pyparsing, PyOpenGL, pyglet, pycparser, nbformat, kiwisolver, keras-preprocessing, keras-applications, Jinja2, itsdangerous, imageio, gast, cycler, click, bleach, astor, tensorflow-tensorboard, tensorflow, scipy, pyquaternion, PyPrind, plotly, pip, nose, mujoco-py, mpi4py, moviepy, matplotlib, joblib, gym, glfw, Flask, enum34, Cython, cloudpickle, cffi, boto3
Attempting uninstall: setuptools
Found existing installation: setuptools 52.0.0.post20210125
Uninstalling setuptools-52.0.0.post20210125:
Successfully uninstalled setuptools-52.0.0.post20210125
Attempting uninstall: wheel
Found existing installation: wheel 0.36.2
Uninstalling wheel-0.36.2:
Successfully uninstalled wheel-0.36.2
Attempting uninstall: pip
Found existing installation: pip 21.0.1
Uninstalling pip-21.0.1:
Successfully uninstalled pip-21.0.1
Running setup.py install for mpi4py: started
Running setup.py install for mpi4py: finished with status 'error'

Pip subprocess error:
ERROR: Command errored out with exit status 1:
command: /home/ildefons/anaconda3/envs/learning_to_adapt2/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-dkay6ilw/mpi4py_c0dceec44a8640748ee17551f775be7e/setup.py'"'"'; file='"'"'/tmp/pip-install-dkay6ilw/mpi4py_c0dceec44a8640748ee17551f775be7e/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-rjxlhlm7
cwd: /tmp/pip-install-dkay6ilw/mpi4py_c0dceec44a8640748ee17551f775be7e/
Complete output (261 lines):
running bdist_wheel
running build
running build_src
running build_py
creating build
creating build/lib.linux-x86_64-3.6
creating build/lib.linux-x86_64-3.6/mpi4py
copying src/mpi4py/main.py -> build/lib.linux-x86_64-3.6/mpi4py
copying src/mpi4py/run.py -> build/lib.linux-x86_64-3.6/mpi4py
copying src/mpi4py/bench.py -> build/lib.linux-x86_64-3.6/mpi4py
copying src/mpi4py/init.py -> build/lib.linux-x86_64-3.6/mpi4py
creating build/lib.linux-x86_64-3.6/mpi4py/futures
copying src/mpi4py/futures/main.py -> build/lib.linux-x86_64-3.6/mpi4py/futures
copying src/mpi4py/futures/_lib.py -> build/lib.linux-x86_64-3.6/mpi4py/futures
copying src/mpi4py/futures/init.py -> build/lib.linux-x86_64-3.6/mpi4py/futures
copying src/mpi4py/futures/aplus.py -> build/lib.linux-x86_64-3.6/mpi4py/futures
copying src/mpi4py/futures/pool.py -> build/lib.linux-x86_64-3.6/mpi4py/futures
copying src/mpi4py/futures/server.py -> build/lib.linux-x86_64-3.6/mpi4py/futures
copying src/mpi4py/futures/_base.py -> build/lib.linux-x86_64-3.6/mpi4py/futures
copying src/mpi4py/libmpi.pxd -> build/lib.linux-x86_64-3.6/mpi4py
copying src/mpi4py/init.pxd -> build/lib.linux-x86_64-3.6/mpi4py
copying src/mpi4py/MPI.pxd -> build/lib.linux-x86_64-3.6/mpi4py
creating build/lib.linux-x86_64-3.6/mpi4py/include
creating build/lib.linux-x86_64-3.6/mpi4py/include/mpi4py
copying src/mpi4py/include/mpi4py/mpi4py.h -> build/lib.linux-x86_64-3.6/mpi4py/include/mpi4py
copying src/mpi4py/include/mpi4py/mpi4py.MPI_api.h -> build/lib.linux-x86_64-3.6/mpi4py/include/mpi4py
copying src/mpi4py/include/mpi4py/mpi4py.MPI.h -> build/lib.linux-x86_64-3.6/mpi4py/include/mpi4py
copying src/mpi4py/include/mpi4py/mpi4py.i -> build/lib.linux-x86_64-3.6/mpi4py/include/mpi4py
copying src/mpi4py/include/mpi4py/mpi.pxi -> build/lib.linux-x86_64-3.6/mpi4py/include/mpi4py
running build_clib
MPI configuration: [mpi] from 'mpi.cfg'
MPI C compiler: /usr/bin/mpicc
MPI C++ compiler: /usr/bin/mpicxx
MPI F compiler: /usr/bin/mpifort
MPI F90 compiler: /usr/bin/mpif90
MPI F77 compiler: /usr/bin/mpif77
checking for library 'lmpe' ...
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c _configtest.c -o _configtest.o
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ _configtest.o -llmpe -o _configtest
/home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat/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.6
creating build/temp.linux-x86_64-3.6/src
creating build/temp.linux-x86_64-3.6/src/lib-pmpi
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/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-3.6/src/lib-pmpi/mpe.o
creating build/lib.linux-x86_64-3.6/mpi4py/lib-pmpi
/usr/bin/mpicc -pthread -shared -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -L/home/ildefons/anaconda3/envs/learning_to_adapt2/lib -Wl,-rpath=/home/ildefons/anaconda3/envs/learning_to_adapt2/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.6/src/lib-pmpi/mpe.o -o build/lib.linux-x86_64-3.6/mpi4py/lib-pmpi/libmpe.so
checking for library 'vt-mpi' ...
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c _configtest.c -o _configtest.o
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ _configtest.o -lvt-mpi -o _configtest
/home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat/ld: cannot find -lvt-mpi
collect2: error: ld returned 1 exit status
failure.
removing: _configtest.c _configtest.o
checking for library 'vt.mpi' ...
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c _configtest.c -o _configtest.o
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ _configtest.o -lvt.mpi -o _configtest
/home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat/ld: cannot find -lvt.mpi
collect2: error: ld returned 1 exit status
failure.
removing: _configtest.c _configtest.o
building 'vt' dylib library
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/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-3.6/src/lib-pmpi/vt.o
/usr/bin/mpicc -pthread -shared -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -L/home/ildefons/anaconda3/envs/learning_to_adapt2/lib -Wl,-rpath=/home/ildefons/anaconda3/envs/learning_to_adapt2/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.6/src/lib-pmpi/vt.o -o build/lib.linux-x86_64-3.6/mpi4py/lib-pmpi/libvt.so
checking for library 'vt-mpi' ...
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c _configtest.c -o _configtest.o
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ _configtest.o -lvt-mpi -o _configtest
/home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat/ld: cannot find -lvt-mpi
collect2: error: ld returned 1 exit status
failure.
removing: _configtest.c _configtest.o
checking for library 'vt.mpi' ...
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c _configtest.c -o _configtest.o
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ _configtest.o -lvt.mpi -o _configtest
/home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat/ld: cannot find -lvt.mpi
collect2: error: ld returned 1 exit status
failure.
removing: _configtest.c _configtest.o
building 'vt-mpi' dylib library
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/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-3.6/src/lib-pmpi/vt-mpi.o
/usr/bin/mpicc -pthread -shared -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -L/home/ildefons/anaconda3/envs/learning_to_adapt2/lib -Wl,-rpath=/home/ildefons/anaconda3/envs/learning_to_adapt2/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.6/src/lib-pmpi/vt-mpi.o -o build/lib.linux-x86_64-3.6/mpi4py/lib-pmpi/libvt-mpi.so
checking for library 'vt-hyb' ...
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c _configtest.c -o _configtest.o
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ _configtest.o -lvt-hyb -o _configtest
/home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat/ld: cannot find -lvt-hyb
collect2: error: ld returned 1 exit status
failure.
removing: _configtest.c _configtest.o
checking for library 'vt.ompi' ...
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c _configtest.c -o _configtest.o
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ _configtest.o -lvt.ompi -o _configtest
/home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat/ld: cannot find -lvt.ompi
collect2: error: ld returned 1 exit status
failure.
removing: _configtest.c _configtest.o
building 'vt-hyb' dylib library
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/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-3.6/src/lib-pmpi/vt-hyb.o
/usr/bin/mpicc -pthread -shared -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -L/home/ildefons/anaconda3/envs/learning_to_adapt2/lib -Wl,-rpath=/home/ildefons/anaconda3/envs/learning_to_adapt2/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.6/src/lib-pmpi/vt-hyb.o -o build/lib.linux-x86_64-3.6/mpi4py/lib-pmpi/libvt-hyb.so
running build_ext
MPI configuration: [mpi] from 'mpi.cfg'
MPI C compiler: /usr/bin/mpicc
MPI C++ compiler: /usr/bin/mpicxx
MPI F compiler: /usr/bin/mpifort
MPI F90 compiler: /usr/bin/mpif90
MPI F77 compiler: /usr/bin/mpif77
checking for dlopen() availability ...
checking for header 'dlfcn.h' ...
gcc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ildefons/anaconda3/envs/learning_to_adapt2/include/python3.6m -c _configtest.c -o _configtest.o
success!
removing: _configtest.c _configtest.o
success!
checking for library 'dl' ...
gcc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ildefons/anaconda3/envs/learning_to_adapt2/include/python3.6m -c _configtest.c -o _configtest.o
gcc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ _configtest.o -Lbuild/temp.linux-x86_64-3.6 -ldl -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
checking for function 'dlopen' ...
gcc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ildefons/anaconda3/envs/learning_to_adapt2/include/python3.6m -c _configtest.c -o _configtest.o
gcc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ _configtest.o -Lbuild/temp.linux-x86_64-3.6 -ldl -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
building 'mpi4py.dl' extension
gcc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DHAVE_DLFCN_H=1 -DHAVE_DLOPEN=1 -I/home/ildefons/anaconda3/envs/learning_to_adapt2/include/python3.6m -c src/dynload.c -o build/temp.linux-x86_64-3.6/src/dynload.o
gcc -pthread -shared -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -L/home/ildefons/anaconda3/envs/learning_to_adapt2/lib -Wl,-rpath=/home/ildefons/anaconda3/envs/learning_to_adapt2/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.6/src/dynload.o -Lbuild/temp.linux-x86_64-3.6 -ldl -o build/lib.linux-x86_64-3.6/mpi4py/dl.cpython-36m-x86_64-linux-gnu.so
checking for MPI compile and link ...
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ildefons/anaconda3/envs/learning_to_adapt2/include/python3.6m -c _configtest.c -o _configtest.o
success!
removing: _configtest.c _configtest.o
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ildefons/anaconda3/envs/learning_to_adapt2/include/python3.6m -c _configtest.c -o _configtest.o
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ _configtest.o -Lbuild/temp.linux-x86_64-3.6 -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
checking for missing MPI functions/symbols ...
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ildefons/anaconda3/envs/learning_to_adapt2/include/python3.6m -c _configtest.c -o _configtest.o
success!
removing: _configtest.c _configtest.o
checking for function 'MPI_Type_create_f90_integer' ...
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ildefons/anaconda3/envs/learning_to_adapt2/include/python3.6m -c _configtest.c -o _configtest.o
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ _configtest.o -Lbuild/temp.linux-x86_64-3.6 -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
checking for function 'MPI_Type_create_f90_real' ...
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ildefons/anaconda3/envs/learning_to_adapt2/include/python3.6m -c _configtest.c -o _configtest.o
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ _configtest.o -Lbuild/temp.linux-x86_64-3.6 -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
checking for function 'MPI_Type_create_f90_complex' ...
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ildefons/anaconda3/envs/learning_to_adapt2/include/python3.6m -c _configtest.c -o _configtest.o
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ _configtest.o -Lbuild/temp.linux-x86_64-3.6 -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
checking for function 'MPI_Status_c2f' ...
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ildefons/anaconda3/envs/learning_to_adapt2/include/python3.6m -c _configtest.c -o _configtest.o
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ _configtest.o -Lbuild/temp.linux-x86_64-3.6 -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
checking for function 'MPI_Status_f2c' ...
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ildefons/anaconda3/envs/learning_to_adapt2/include/python3.6m -c _configtest.c -o _configtest.o
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ _configtest.o -Lbuild/temp.linux-x86_64-3.6 -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
checking for dlopen() availability ...
checking for header 'dlfcn.h' ...
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ildefons/anaconda3/envs/learning_to_adapt2/include/python3.6m -c _configtest.c -o _configtest.o
success!
removing: _configtest.c _configtest.o
success!
checking for library 'dl' ...
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ildefons/anaconda3/envs/learning_to_adapt2/include/python3.6m -c _configtest.c -o _configtest.o
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ _configtest.o -Lbuild/temp.linux-x86_64-3.6 -ldl -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
checking for function 'dlopen' ...
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ildefons/anaconda3/envs/learning_to_adapt2/include/python3.6m -c _configtest.c -o _configtest.o
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ _configtest.o -Lbuild/temp.linux-x86_64-3.6 -ldl -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
building 'mpi4py.MPI' extension
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DHAVE_DLFCN_H=1 -DHAVE_DLOPEN=1 -I/home/ildefons/anaconda3/envs/learning_to_adapt2/include/python3.6m -c src/MPI.c -o build/temp.linux-x86_64-3.6/src/MPI.o
In file included from src/mpi4py.MPI.c:523,
from src/MPI.c:4:
src/mpi4py.MPI.c: In function ‘__pyx_f_6mpi4py_3MPI_del_Datatype’:
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:322:57: error: expected expression before ‘_Static_assert’
322 | #define THIS_SYMBOL_WAS_REMOVED_IN_MPI30(func, newfunc) _Static_assert(0, #func " was removed in MPI-3.0. Use " #newfunc " instead.")
| ^~~~~~~~~~~~~~
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:1112:24: note: in expansion of macro ‘THIS_SYMBOL_WAS_REMOVED_IN_MPI30’
1112 | # define MPI_UB THIS_SYMBOL_WAS_REMOVED_IN_MPI30(MPI_UB, MPI_Type_create_resized);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mpi4py.MPI.c:15086:36: note: in expansion of macro ‘MPI_UB’
15086 | __pyx_t_1 = (((__pyx_v_ob[0]) == MPI_UB) != 0);
| ^~~~~~
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:322:57: error: expected expression before ‘_Static_assert’
322 | #define THIS_SYMBOL_WAS_REMOVED_IN_MPI30(func, newfunc) _Static_assert(0, #func " was removed in MPI-3.0. Use " #newfunc " instead.")
| ^~~~~~~~~~~~~~
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:1113:24: note: in expansion of macro ‘THIS_SYMBOL_WAS_REMOVED_IN_MPI30’
1113 | # define MPI_LB THIS_SYMBOL_WAS_REMOVED_IN_MPI30(MPI_LB, MPI_Type_create_resized);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mpi4py.MPI.c:15099:36: note: in expansion of macro ‘MPI_LB’
15099 | __pyx_t_1 = (((__pyx_v_ob[0]) == MPI_LB) != 0);
| ^~~~~~
src/mpi4py.MPI.c: In function ‘__pyx_pf_6mpi4py_3MPI_8Datatype_44Free’:
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:322:57: error: expected expression before ‘_Static_assert’
322 | #define THIS_SYMBOL_WAS_REMOVED_IN_MPI30(func, newfunc) _Static_assert(0, #func " was removed in MPI-3.0. Use " #newfunc " instead.")
| ^~~~~~~~~~~~~~
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:1112:24: note: in expansion of macro ‘THIS_SYMBOL_WAS_REMOVED_IN_MPI30’
1112 | # define MPI_UB THIS_SYMBOL_WAS_REMOVED_IN_MPI30(MPI_UB, MPI_Type_create_resized);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mpi4py.MPI.c:69477:17: note: in expansion of macro ‘MPI_UB’
69477 | __pyx_v_p = MPI_UB;
| ^~~~~~
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:322:57: error: expected expression before ‘_Static_assert’
322 | #define THIS_SYMBOL_WAS_REMOVED_IN_MPI30(func, newfunc) _Static_assert(0, #func " was removed in MPI-3.0. Use " #newfunc " instead.")
| ^~~~~~~~~~~~~~
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:1113:24: note: in expansion of macro ‘THIS_SYMBOL_WAS_REMOVED_IN_MPI30’
1113 | # define MPI_LB THIS_SYMBOL_WAS_REMOVED_IN_MPI30(MPI_LB, MPI_Type_create_resized);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mpi4py.MPI.c:69491:17: note: in expansion of macro ‘MPI_LB’
69491 | __pyx_v_p = MPI_LB;
| ^~~~~~
src/mpi4py.MPI.c: In function ‘__pyx_f_6mpi4py_3MPI_Datatype2String’:
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:322:57: error: expected expression before ‘_Static_assert’
322 | #define THIS_SYMBOL_WAS_REMOVED_IN_MPI30(func, newfunc) _Static_assert(0, #func " was removed in MPI-3.0. Use " #newfunc " instead.")
| ^~~~~~~~~~~~~~
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:1113:24: note: in expansion of macro ‘THIS_SYMBOL_WAS_REMOVED_IN_MPI30’
1113 | # define MPI_LB THIS_SYMBOL_WAS_REMOVED_IN_MPI30(MPI_LB, MPI_Type_create_resized);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mpi4py.MPI.c:76868:37: note: in expansion of macro ‘MPI_LB’
76868 | __pyx_t_1 = ((__pyx_v_datatype == MPI_LB) != 0);
| ^~~~~~
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:322:57: error: expected expression before ‘_Static_assert’
322 | #define THIS_SYMBOL_WAS_REMOVED_IN_MPI30(func, newfunc) _Static_assert(0, #func " was removed in MPI-3.0. Use " #newfunc " instead.")
| ^~~~~~~~~~~~~~
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:1112:24: note: in expansion of macro ‘THIS_SYMBOL_WAS_REMOVED_IN_MPI30’
1112 | # define MPI_UB THIS_SYMBOL_WAS_REMOVED_IN_MPI30(MPI_UB, MPI_Type_create_resized);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mpi4py.MPI.c:76881:37: note: in expansion of macro ‘MPI_UB’
76881 | __pyx_t_1 = ((__pyx_v_datatype == MPI_UB) != 0);
| ^~~~~~
src/mpi4py.MPI.c: In function ‘PyInit_MPI’:
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:322:57: error: expected expression before ‘_Static_assert’
322 | #define THIS_SYMBOL_WAS_REMOVED_IN_MPI30(func, newfunc) _Static_assert(0, #func " was removed in MPI-3.0. Use " #newfunc " instead.")
| ^~~~~~~~~~~~~~
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:1112:24: note: in expansion of macro ‘THIS_SYMBOL_WAS_REMOVED_IN_MPI30’
1112 | # define MPI_UB THIS_SYMBOL_WAS_REMOVED_IN_MPI30(MPI_UB, MPI_Type_create_resized);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mpi4py.MPI.c:167040:62: note: in expansion of macro ‘MPI_UB’
167040 | __pyx_t_3 = ((PyObject *)__pyx_f_6mpi4py_3MPI_new_Datatype(MPI_UB)); if (unlikely(!__pyx_t_3)) __PYX_ERR(21, 862, __pyx_L1_error)
| ^~~~~~
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:322:57: error: expected expression before ‘_Static_assert’
322 | #define THIS_SYMBOL_WAS_REMOVED_IN_MPI30(func, newfunc) _Static_assert(0, #func " was removed in MPI-3.0. Use " #newfunc " instead.")
| ^~~~~~~~~~~~~~
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:1113:24: note: in expansion of macro ‘THIS_SYMBOL_WAS_REMOVED_IN_MPI30’
1113 | # define MPI_LB THIS_SYMBOL_WAS_REMOVED_IN_MPI30(MPI_LB, MPI_Type_create_resized);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mpi4py.MPI.c:167054:62: note: in expansion of macro ‘MPI_LB’
167054 | __pyx_t_3 = ((PyObject *)__pyx_f_6mpi4py_3MPI_new_Datatype(MPI_LB)); if (unlikely(!__pyx_t_3)) __PYX_ERR(21, 863, __pyx_L1_error)
| ^~~~~~
error: command '/usr/bin/mpicc' failed with exit status 1

ERROR: Failed building wheel for mpi4py
ERROR: Command errored out with exit status 1:
command: /home/ildefons/anaconda3/envs/learning_to_adapt2/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-dkay6ilw/mpi4py_c0dceec44a8640748ee17551f775be7e/setup.py'"'"'; file='"'"'/tmp/pip-install-dkay6ilw/mpi4py_c0dceec44a8640748ee17551f775be7e/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-t1ifdxum/install-record.txt --single-version-externally-managed --compile --install-headers /home/ildefons/anaconda3/envs/learning_to_adapt2/include/python3.6m/mpi4py
cwd: /tmp/pip-install-dkay6ilw/mpi4py_c0dceec44a8640748ee17551f775be7e/
Complete output (261 lines):
running install
running build
running build_src
running build_py
creating build
creating build/lib.linux-x86_64-3.6
creating build/lib.linux-x86_64-3.6/mpi4py
copying src/mpi4py/main.py -> build/lib.linux-x86_64-3.6/mpi4py
copying src/mpi4py/run.py -> build/lib.linux-x86_64-3.6/mpi4py
copying src/mpi4py/bench.py -> build/lib.linux-x86_64-3.6/mpi4py
copying src/mpi4py/init.py -> build/lib.linux-x86_64-3.6/mpi4py
creating build/lib.linux-x86_64-3.6/mpi4py/futures
copying src/mpi4py/futures/main.py -> build/lib.linux-x86_64-3.6/mpi4py/futures
copying src/mpi4py/futures/_lib.py -> build/lib.linux-x86_64-3.6/mpi4py/futures
copying src/mpi4py/futures/init.py -> build/lib.linux-x86_64-3.6/mpi4py/futures
copying src/mpi4py/futures/aplus.py -> build/lib.linux-x86_64-3.6/mpi4py/futures
copying src/mpi4py/futures/pool.py -> build/lib.linux-x86_64-3.6/mpi4py/futures
copying src/mpi4py/futures/server.py -> build/lib.linux-x86_64-3.6/mpi4py/futures
copying src/mpi4py/futures/_base.py -> build/lib.linux-x86_64-3.6/mpi4py/futures
copying src/mpi4py/libmpi.pxd -> build/lib.linux-x86_64-3.6/mpi4py
copying src/mpi4py/init.pxd -> build/lib.linux-x86_64-3.6/mpi4py
copying src/mpi4py/MPI.pxd -> build/lib.linux-x86_64-3.6/mpi4py
creating build/lib.linux-x86_64-3.6/mpi4py/include
creating build/lib.linux-x86_64-3.6/mpi4py/include/mpi4py
copying src/mpi4py/include/mpi4py/mpi4py.h -> build/lib.linux-x86_64-3.6/mpi4py/include/mpi4py
copying src/mpi4py/include/mpi4py/mpi4py.MPI_api.h -> build/lib.linux-x86_64-3.6/mpi4py/include/mpi4py
copying src/mpi4py/include/mpi4py/mpi4py.MPI.h -> build/lib.linux-x86_64-3.6/mpi4py/include/mpi4py
copying src/mpi4py/include/mpi4py/mpi4py.i -> build/lib.linux-x86_64-3.6/mpi4py/include/mpi4py
copying src/mpi4py/include/mpi4py/mpi.pxi -> build/lib.linux-x86_64-3.6/mpi4py/include/mpi4py
running build_clib
MPI configuration: [mpi] from 'mpi.cfg'
MPI C compiler: /usr/bin/mpicc
MPI C++ compiler: /usr/bin/mpicxx
MPI F compiler: /usr/bin/mpifort
MPI F90 compiler: /usr/bin/mpif90
MPI F77 compiler: /usr/bin/mpif77
checking for library 'lmpe' ...
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c _configtest.c -o _configtest.o
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ _configtest.o -llmpe -o _configtest
/home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat/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.6
creating build/temp.linux-x86_64-3.6/src
creating build/temp.linux-x86_64-3.6/src/lib-pmpi
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/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-3.6/src/lib-pmpi/mpe.o
creating build/lib.linux-x86_64-3.6/mpi4py/lib-pmpi
/usr/bin/mpicc -pthread -shared -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -L/home/ildefons/anaconda3/envs/learning_to_adapt2/lib -Wl,-rpath=/home/ildefons/anaconda3/envs/learning_to_adapt2/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.6/src/lib-pmpi/mpe.o -o build/lib.linux-x86_64-3.6/mpi4py/lib-pmpi/libmpe.so
checking for library 'vt-mpi' ...
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c _configtest.c -o _configtest.o
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ _configtest.o -lvt-mpi -o _configtest
/home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat/ld: cannot find -lvt-mpi
collect2: error: ld returned 1 exit status
failure.
removing: _configtest.c _configtest.o
checking for library 'vt.mpi' ...
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c _configtest.c -o _configtest.o
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ _configtest.o -lvt.mpi -o _configtest
/home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat/ld: cannot find -lvt.mpi
collect2: error: ld returned 1 exit status
failure.
removing: _configtest.c _configtest.o
building 'vt' dylib library
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/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-3.6/src/lib-pmpi/vt.o
/usr/bin/mpicc -pthread -shared -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -L/home/ildefons/anaconda3/envs/learning_to_adapt2/lib -Wl,-rpath=/home/ildefons/anaconda3/envs/learning_to_adapt2/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.6/src/lib-pmpi/vt.o -o build/lib.linux-x86_64-3.6/mpi4py/lib-pmpi/libvt.so
checking for library 'vt-mpi' ...
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c _configtest.c -o _configtest.o
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ _configtest.o -lvt-mpi -o _configtest
/home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat/ld: cannot find -lvt-mpi
collect2: error: ld returned 1 exit status
failure.
removing: _configtest.c _configtest.o
checking for library 'vt.mpi' ...
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c _configtest.c -o _configtest.o
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ _configtest.o -lvt.mpi -o _configtest
/home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat/ld: cannot find -lvt.mpi
collect2: error: ld returned 1 exit status
failure.
removing: _configtest.c _configtest.o
building 'vt-mpi' dylib library
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/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-3.6/src/lib-pmpi/vt-mpi.o
/usr/bin/mpicc -pthread -shared -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -L/home/ildefons/anaconda3/envs/learning_to_adapt2/lib -Wl,-rpath=/home/ildefons/anaconda3/envs/learning_to_adapt2/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.6/src/lib-pmpi/vt-mpi.o -o build/lib.linux-x86_64-3.6/mpi4py/lib-pmpi/libvt-mpi.so
checking for library 'vt-hyb' ...
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c _configtest.c -o _configtest.o
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ _configtest.o -lvt-hyb -o _configtest
/home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat/ld: cannot find -lvt-hyb
collect2: error: ld returned 1 exit status
failure.
removing: _configtest.c _configtest.o
checking for library 'vt.ompi' ...
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c _configtest.c -o _configtest.o
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ _configtest.o -lvt.ompi -o _configtest
/home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat/ld: cannot find -lvt.ompi
collect2: error: ld returned 1 exit status
failure.
removing: _configtest.c _configtest.o
building 'vt-hyb' dylib library
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/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-3.6/src/lib-pmpi/vt-hyb.o
/usr/bin/mpicc -pthread -shared -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -L/home/ildefons/anaconda3/envs/learning_to_adapt2/lib -Wl,-rpath=/home/ildefons/anaconda3/envs/learning_to_adapt2/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.6/src/lib-pmpi/vt-hyb.o -o build/lib.linux-x86_64-3.6/mpi4py/lib-pmpi/libvt-hyb.so
running build_ext
MPI configuration: [mpi] from 'mpi.cfg'
MPI C compiler: /usr/bin/mpicc
MPI C++ compiler: /usr/bin/mpicxx
MPI F compiler: /usr/bin/mpifort
MPI F90 compiler: /usr/bin/mpif90
MPI F77 compiler: /usr/bin/mpif77
checking for dlopen() availability ...
checking for header 'dlfcn.h' ...
gcc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ildefons/anaconda3/envs/learning_to_adapt2/include/python3.6m -c _configtest.c -o _configtest.o
success!
removing: _configtest.c _configtest.o
success!
checking for library 'dl' ...
gcc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ildefons/anaconda3/envs/learning_to_adapt2/include/python3.6m -c _configtest.c -o _configtest.o
gcc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ _configtest.o -Lbuild/temp.linux-x86_64-3.6 -ldl -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
checking for function 'dlopen' ...
gcc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ildefons/anaconda3/envs/learning_to_adapt2/include/python3.6m -c _configtest.c -o _configtest.o
gcc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ _configtest.o -Lbuild/temp.linux-x86_64-3.6 -ldl -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
building 'mpi4py.dl' extension
gcc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DHAVE_DLFCN_H=1 -DHAVE_DLOPEN=1 -I/home/ildefons/anaconda3/envs/learning_to_adapt2/include/python3.6m -c src/dynload.c -o build/temp.linux-x86_64-3.6/src/dynload.o
gcc -pthread -shared -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -L/home/ildefons/anaconda3/envs/learning_to_adapt2/lib -Wl,-rpath=/home/ildefons/anaconda3/envs/learning_to_adapt2/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.6/src/dynload.o -Lbuild/temp.linux-x86_64-3.6 -ldl -o build/lib.linux-x86_64-3.6/mpi4py/dl.cpython-36m-x86_64-linux-gnu.so
checking for MPI compile and link ...
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ildefons/anaconda3/envs/learning_to_adapt2/include/python3.6m -c _configtest.c -o _configtest.o
success!
removing: _configtest.c _configtest.o
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ildefons/anaconda3/envs/learning_to_adapt2/include/python3.6m -c _configtest.c -o _configtest.o
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ _configtest.o -Lbuild/temp.linux-x86_64-3.6 -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
checking for missing MPI functions/symbols ...
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ildefons/anaconda3/envs/learning_to_adapt2/include/python3.6m -c _configtest.c -o _configtest.o
success!
removing: _configtest.c _configtest.o
checking for function 'MPI_Type_create_f90_integer' ...
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ildefons/anaconda3/envs/learning_to_adapt2/include/python3.6m -c _configtest.c -o _configtest.o
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ _configtest.o -Lbuild/temp.linux-x86_64-3.6 -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
checking for function 'MPI_Type_create_f90_real' ...
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ildefons/anaconda3/envs/learning_to_adapt2/include/python3.6m -c _configtest.c -o _configtest.o
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ _configtest.o -Lbuild/temp.linux-x86_64-3.6 -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
checking for function 'MPI_Type_create_f90_complex' ...
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ildefons/anaconda3/envs/learning_to_adapt2/include/python3.6m -c _configtest.c -o _configtest.o
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ _configtest.o -Lbuild/temp.linux-x86_64-3.6 -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
checking for function 'MPI_Status_c2f' ...
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ildefons/anaconda3/envs/learning_to_adapt2/include/python3.6m -c _configtest.c -o _configtest.o
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ _configtest.o -Lbuild/temp.linux-x86_64-3.6 -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
checking for function 'MPI_Status_f2c' ...
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ildefons/anaconda3/envs/learning_to_adapt2/include/python3.6m -c _configtest.c -o _configtest.o
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ _configtest.o -Lbuild/temp.linux-x86_64-3.6 -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
checking for dlopen() availability ...
checking for header 'dlfcn.h' ...
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ildefons/anaconda3/envs/learning_to_adapt2/include/python3.6m -c _configtest.c -o _configtest.o
success!
removing: _configtest.c _configtest.o
success!
checking for library 'dl' ...
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ildefons/anaconda3/envs/learning_to_adapt2/include/python3.6m -c _configtest.c -o _configtest.o
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ _configtest.o -Lbuild/temp.linux-x86_64-3.6 -ldl -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
checking for function 'dlopen' ...
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ildefons/anaconda3/envs/learning_to_adapt2/include/python3.6m -c _configtest.c -o _configtest.o
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ _configtest.o -Lbuild/temp.linux-x86_64-3.6 -ldl -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
building 'mpi4py.MPI' extension
/usr/bin/mpicc -pthread -B /home/ildefons/anaconda3/envs/learning_to_adapt2/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DHAVE_DLFCN_H=1 -DHAVE_DLOPEN=1 -I/home/ildefons/anaconda3/envs/learning_to_adapt2/include/python3.6m -c src/MPI.c -o build/temp.linux-x86_64-3.6/src/MPI.o
In file included from src/mpi4py.MPI.c:523,
from src/MPI.c:4:
src/mpi4py.MPI.c: In function ‘__pyx_f_6mpi4py_3MPI_del_Datatype’:
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:322:57: error: expected expression before ‘_Static_assert’
322 | #define THIS_SYMBOL_WAS_REMOVED_IN_MPI30(func, newfunc) _Static_assert(0, #func " was removed in MPI-3.0. Use " #newfunc " instead.")
| ^~~~~~~~~~~~~~
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:1112:24: note: in expansion of macro ‘THIS_SYMBOL_WAS_REMOVED_IN_MPI30’
1112 | # define MPI_UB THIS_SYMBOL_WAS_REMOVED_IN_MPI30(MPI_UB, MPI_Type_create_resized);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mpi4py.MPI.c:15086:36: note: in expansion of macro ‘MPI_UB’
15086 | __pyx_t_1 = (((__pyx_v_ob[0]) == MPI_UB) != 0);
| ^~~~~~
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:322:57: error: expected expression before ‘_Static_assert’
322 | #define THIS_SYMBOL_WAS_REMOVED_IN_MPI30(func, newfunc) _Static_assert(0, #func " was removed in MPI-3.0. Use " #newfunc " instead.")
| ^~~~~~~~~~~~~~
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:1113:24: note: in expansion of macro ‘THIS_SYMBOL_WAS_REMOVED_IN_MPI30’
1113 | # define MPI_LB THIS_SYMBOL_WAS_REMOVED_IN_MPI30(MPI_LB, MPI_Type_create_resized);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mpi4py.MPI.c:15099:36: note: in expansion of macro ‘MPI_LB’
15099 | __pyx_t_1 = (((__pyx_v_ob[0]) == MPI_LB) != 0);
| ^~~~~~
src/mpi4py.MPI.c: In function ‘__pyx_pf_6mpi4py_3MPI_8Datatype_44Free’:
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:322:57: error: expected expression before ‘_Static_assert’
322 | #define THIS_SYMBOL_WAS_REMOVED_IN_MPI30(func, newfunc) _Static_assert(0, #func " was removed in MPI-3.0. Use " #newfunc " instead.")
| ^~~~~~~~~~~~~~
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:1112:24: note: in expansion of macro ‘THIS_SYMBOL_WAS_REMOVED_IN_MPI30’
1112 | # define MPI_UB THIS_SYMBOL_WAS_REMOVED_IN_MPI30(MPI_UB, MPI_Type_create_resized);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mpi4py.MPI.c:69477:17: note: in expansion of macro ‘MPI_UB’
69477 | __pyx_v_p = MPI_UB;
| ^~~~~~
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:322:57: error: expected expression before ‘_Static_assert’
322 | #define THIS_SYMBOL_WAS_REMOVED_IN_MPI30(func, newfunc) _Static_assert(0, #func " was removed in MPI-3.0. Use " #newfunc " instead.")
| ^~~~~~~~~~~~~~
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:1113:24: note: in expansion of macro ‘THIS_SYMBOL_WAS_REMOVED_IN_MPI30’
1113 | # define MPI_LB THIS_SYMBOL_WAS_REMOVED_IN_MPI30(MPI_LB, MPI_Type_create_resized);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mpi4py.MPI.c:69491:17: note: in expansion of macro ‘MPI_LB’
69491 | __pyx_v_p = MPI_LB;
| ^~~~~~
src/mpi4py.MPI.c: In function ‘__pyx_f_6mpi4py_3MPI_Datatype2String’:
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:322:57: error: expected expression before ‘_Static_assert’
322 | #define THIS_SYMBOL_WAS_REMOVED_IN_MPI30(func, newfunc) _Static_assert(0, #func " was removed in MPI-3.0. Use " #newfunc " instead.")
| ^~~~~~~~~~~~~~
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:1113:24: note: in expansion of macro ‘THIS_SYMBOL_WAS_REMOVED_IN_MPI30’
1113 | # define MPI_LB THIS_SYMBOL_WAS_REMOVED_IN_MPI30(MPI_LB, MPI_Type_create_resized);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mpi4py.MPI.c:76868:37: note: in expansion of macro ‘MPI_LB’
76868 | __pyx_t_1 = ((__pyx_v_datatype == MPI_LB) != 0);
| ^~~~~~
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:322:57: error: expected expression before ‘_Static_assert’
322 | #define THIS_SYMBOL_WAS_REMOVED_IN_MPI30(func, newfunc) _Static_assert(0, #func " was removed in MPI-3.0. Use " #newfunc " instead.")
| ^~~~~~~~~~~~~~
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:1112:24: note: in expansion of macro ‘THIS_SYMBOL_WAS_REMOVED_IN_MPI30’
1112 | # define MPI_UB THIS_SYMBOL_WAS_REMOVED_IN_MPI30(MPI_UB, MPI_Type_create_resized);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mpi4py.MPI.c:76881:37: note: in expansion of macro ‘MPI_UB’
76881 | __pyx_t_1 = ((__pyx_v_datatype == MPI_UB) != 0);
| ^~~~~~
src/mpi4py.MPI.c: In function ‘PyInit_MPI’:
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:322:57: error: expected expression before ‘_Static_assert’
322 | #define THIS_SYMBOL_WAS_REMOVED_IN_MPI30(func, newfunc) _Static_assert(0, #func " was removed in MPI-3.0. Use " #newfunc " instead.")
| ^~~~~~~~~~~~~~
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:1112:24: note: in expansion of macro ‘THIS_SYMBOL_WAS_REMOVED_IN_MPI30’
1112 | # define MPI_UB THIS_SYMBOL_WAS_REMOVED_IN_MPI30(MPI_UB, MPI_Type_create_resized);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mpi4py.MPI.c:167040:62: note: in expansion of macro ‘MPI_UB’
167040 | __pyx_t_3 = ((PyObject *)__pyx_f_6mpi4py_3MPI_new_Datatype(MPI_UB)); if (unlikely(!__pyx_t_3)) __PYX_ERR(21, 862, __pyx_L1_error)
| ^~~~~~
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:322:57: error: expected expression before ‘_Static_assert’
322 | #define THIS_SYMBOL_WAS_REMOVED_IN_MPI30(func, newfunc) _Static_assert(0, #func " was removed in MPI-3.0. Use " #newfunc " instead.")
| ^~~~~~~~~~~~~~
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:1113:24: note: in expansion of macro ‘THIS_SYMBOL_WAS_REMOVED_IN_MPI30’
1113 | # define MPI_LB THIS_SYMBOL_WAS_REMOVED_IN_MPI30(MPI_LB, MPI_Type_create_resized);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mpi4py.MPI.c:167054:62: note: in expansion of macro ‘MPI_LB’
167054 | __pyx_t_3 = ((PyObject *)__pyx_f_6mpi4py_3MPI_new_Datatype(MPI_LB)); if (unlikely(!__pyx_t_3)) __PYX_ERR(21, 863, __pyx_L1_error)
| ^~~~~~
error: command '/usr/bin/mpicc' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /home/ildefons/anaconda3/envs/learning_to_adapt2/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-dkay6ilw/mpi4py_c0dceec44a8640748ee17551f775be7e/setup.py'"'"'; file='"'"'/tmp/pip-install-dkay6ilw/mpi4py_c0dceec44a8640748ee17551f775be7e/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-t1ifdxum/install-record.txt --single-version-externally-managed --compile --install-headers /home/ildefons/anaconda3/envs/learning_to_adapt2/include/python3.6m/mpi4py Check the logs for full command output.

failed

CondaEnvException: Pip failed

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions