StanfordVL / GibsonEnv

Gibson Environments: Real-World Perception for Embodied Agents
http://gibsonenv.stanford.edu/
MIT License
868 stars 146 forks source link

[ERROR] Failed to build mpi4py #134

Open adbidwai opened 2 years ago

adbidwai commented 2 years ago

System Config: OS : Ubuntu 18.04

Issue: The GibsonEnv fails to install at the step : pip install -e . Following is the error log (error at the end):

(py35) $USER@Cadence:~/GibsonEnv$ pip install -e .
DEPRECATION: Python 3.5 reached the end of its life on September 13th, 2020. Please upgrade your Python as Python 3.5 is no longer maintained. pip 21.0 will drop support for Python 3.5 in January 2021. pip 21.0 will remove support for this functionality.
Obtaining file:///home/$USER/GibsonEnv
Requirement already satisfied: numpy>=1.10.4 in /home/$USER/anaconda3/envs/py35/lib/python3.5/site-packages (from gibson==0.3.1) (1.14.3)
Requirement already satisfied: pyglet>=1.2.0 in /home/$USER/anaconda3/envs/py35/lib/python3.5/site-packages (from gibson==0.3.1) (1.5.23)
Requirement already satisfied: gym==0.9.4 in /home/$USER/anaconda3/envs/py35/lib/python3.5/site-packages (from gibson==0.3.1) (0.9.4)
Requirement already satisfied: Pillow>=3.3.0 in /home/$USER/anaconda3/envs/py35/lib/python3.5/site-packages (from gibson==0.3.1) (5.1.0)
Requirement already satisfied: PyYAML>=3.12 in /home/$USER/anaconda3/envs/py35/lib/python3.5/site-packages (from gibson==0.3.1) (3.12)
Collecting pybullet==1.9.4
  Using cached pybullet-1.9.4-cp35-cp35m-linux_x86_64.whl
Collecting transforms3d>=0.3.1
  Using cached transforms3d-0.3.1-py3-none-any.whl
Requirement already satisfied: tqdm>=4 in /home/$USER/anaconda3/envs/py35/lib/python3.5/site-packages (from gibson==0.3.1) (4.64.0)
Requirement already satisfied: pyzmq>=16.0.2 in /home/$USER/anaconda3/envs/py35/lib/python3.5/site-packages (from gibson==0.3.1) (17.0.0)
Requirement already satisfied: matplotlib>=2.1.0 in /home/$USER/anaconda3/envs/py35/lib/python3.5/site-packages (from gibson==0.3.1) (2.2.2)
Collecting mpi4py>=2.0.0
  Using cached mpi4py-3.1.3.tar.gz (2.5 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Requirement already satisfied: cloudpickle>=0.4.1 in /home/$USER/anaconda3/envs/py35/lib/python3.5/site-packages (from gibson==0.3.1) (0.5.3)
Collecting pygame>=1.9.3
  Using cached pygame-2.0.3-cp35-cp35m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (13.3 MB)
Collecting opencv-python
  Using cached opencv_python-4.4.0.42-cp35-cp35m-manylinux2014_x86_64.whl (49.4 MB)
Requirement already satisfied: torchvision==0.2.0 in /home/$USER/anaconda3/envs/py35/lib/python3.5/site-packages (from gibson==0.3.1) (0.2.0)
Collecting aenum
  Using cached aenum-3.1.11-py3-none-any.whl (131 kB)
Requirement already satisfied: requests>=2.0 in /home/$USER/anaconda3/envs/py35/lib/python3.5/site-packages (from gym==0.9.4->gibson==0.3.1) (2.18.4)
Requirement already satisfied: six in /home/$USER/anaconda3/envs/py35/lib/python3.5/site-packages (from gym==0.9.4->gibson==0.3.1) (1.11.0)
Requirement already satisfied: torch in /home/$USER/anaconda3/envs/py35/lib/python3.5/site-packages (from torchvision==0.2.0->gibson==0.3.1) (0.3.1)
Requirement already satisfied: cycler>=0.10 in /home/$USER/anaconda3/envs/py35/lib/python3.5/site-packages (from matplotlib>=2.1.0->gibson==0.3.1) (0.10.0)
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in /home/$USER/anaconda3/envs/py35/lib/python3.5/site-packages (from matplotlib>=2.1.0->gibson==0.3.1) (2.2.0)
Requirement already satisfied: python-dateutil>=2.1 in /home/$USER/anaconda3/envs/py35/lib/python3.5/site-packages (from matplotlib>=2.1.0->gibson==0.3.1) (2.7.3)
Requirement already satisfied: pytz in /home/$USER/anaconda3/envs/py35/lib/python3.5/site-packages (from matplotlib>=2.1.0->gibson==0.3.1) (2018.4)
Requirement already satisfied: kiwisolver>=1.0.1 in /home/$USER/anaconda3/envs/py35/lib/python3.5/site-packages (from matplotlib>=2.1.0->gibson==0.3.1) (1.0.1)
Requirement already satisfied: setuptools in /home/$USER/anaconda3/envs/py35/lib/python3.5/site-packages (from kiwisolver>=1.0.1->matplotlib>=2.1.0->gibson==0.3.1) (39.1.0)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /home/$USER/anaconda3/envs/py35/lib/python3.5/site-packages (from requests>=2.0->gym==0.9.4->gibson==0.3.1) (3.0.4)
Requirement already satisfied: idna<2.7,>=2.5 in /home/$USER/anaconda3/envs/py35/lib/python3.5/site-packages (from requests>=2.0->gym==0.9.4->gibson==0.3.1) (2.6)
Requirement already satisfied: urllib3<1.23,>=1.21.1 in /home/$USER/anaconda3/envs/py35/lib/python3.5/site-packages (from requests>=2.0->gym==0.9.4->gibson==0.3.1) (1.22)
Requirement already satisfied: certifi>=2017.4.17 in /home/$USER/anaconda3/envs/py35/lib/python3.5/site-packages (from requests>=2.0->gym==0.9.4->gibson==0.3.1) (2018.4.16)
Requirement already satisfied: importlib-resources in /home/$USER/anaconda3/envs/py35/lib/python3.5/site-packages (from tqdm>=4->gibson==0.3.1) (3.2.1)
Requirement already satisfied: zipp>=0.4 in /home/$USER/anaconda3/envs/py35/lib/python3.5/site-packages (from importlib-resources->tqdm>=4->gibson==0.3.1) (1.2.0)
Building wheels for collected packages: mpi4py
  Building wheel for mpi4py (PEP 517) ... error
  ERROR: Command errored out with exit status 1:
   command: /home/$USER/anaconda3/envs/py35/bin/python /home/$USER/anaconda3/envs/py35/lib/python3.5/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /tmp/tmpr1655c_f
       cwd: /tmp/pip-install-9dzag6bl/mpi4py_1fc915072f08497394730138e604d834
  Complete output (376 lines):
  running bdist_wheel
  running build
  running build_src
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.5
  creating build/lib.linux-x86_64-3.5/mpi4py
  copying src/mpi4py/bench.py -> build/lib.linux-x86_64-3.5/mpi4py
  copying src/mpi4py/run.py -> build/lib.linux-x86_64-3.5/mpi4py
  copying src/mpi4py/__init__.py -> build/lib.linux-x86_64-3.5/mpi4py
  copying src/mpi4py/__main__.py -> build/lib.linux-x86_64-3.5/mpi4py
  creating build/lib.linux-x86_64-3.5/mpi4py/futures
  copying src/mpi4py/futures/_lib.py -> build/lib.linux-x86_64-3.5/mpi4py/futures
  copying src/mpi4py/futures/_base.py -> build/lib.linux-x86_64-3.5/mpi4py/futures
  copying src/mpi4py/futures/pool.py -> build/lib.linux-x86_64-3.5/mpi4py/futures
  copying src/mpi4py/futures/server.py -> build/lib.linux-x86_64-3.5/mpi4py/futures
  copying src/mpi4py/futures/aplus.py -> build/lib.linux-x86_64-3.5/mpi4py/futures
  copying src/mpi4py/futures/_core.py -> build/lib.linux-x86_64-3.5/mpi4py/futures
  copying src/mpi4py/futures/__init__.py -> build/lib.linux-x86_64-3.5/mpi4py/futures
  copying src/mpi4py/futures/__main__.py -> build/lib.linux-x86_64-3.5/mpi4py/futures
  creating build/lib.linux-x86_64-3.5/mpi4py/util
  copying src/mpi4py/util/__init__.py -> build/lib.linux-x86_64-3.5/mpi4py/util
  copying src/mpi4py/util/dtlib.py -> build/lib.linux-x86_64-3.5/mpi4py/util
  copying src/mpi4py/util/pkl5.py -> build/lib.linux-x86_64-3.5/mpi4py/util
  copying src/mpi4py/py.typed -> build/lib.linux-x86_64-3.5/mpi4py
  copying src/mpi4py/MPI.pyi -> build/lib.linux-x86_64-3.5/mpi4py
  copying src/mpi4py/__main__.pyi -> build/lib.linux-x86_64-3.5/mpi4py
  copying src/mpi4py/__init__.pyi -> build/lib.linux-x86_64-3.5/mpi4py
  copying src/mpi4py/dl.pyi -> build/lib.linux-x86_64-3.5/mpi4py
  copying src/mpi4py/run.pyi -> build/lib.linux-x86_64-3.5/mpi4py
  copying src/mpi4py/bench.pyi -> build/lib.linux-x86_64-3.5/mpi4py
  copying src/mpi4py/libmpi.pxd -> build/lib.linux-x86_64-3.5/mpi4py
  copying src/mpi4py/MPI.pxd -> build/lib.linux-x86_64-3.5/mpi4py
  copying src/mpi4py/__init__.pxd -> build/lib.linux-x86_64-3.5/mpi4py
  creating build/lib.linux-x86_64-3.5/mpi4py/include
  creating build/lib.linux-x86_64-3.5/mpi4py/include/mpi4py
  copying src/mpi4py/include/mpi4py/mpi4py.MPI.h -> build/lib.linux-x86_64-3.5/mpi4py/include/mpi4py
  copying src/mpi4py/include/mpi4py/mpi4py.MPI_api.h -> build/lib.linux-x86_64-3.5/mpi4py/include/mpi4py
  copying src/mpi4py/include/mpi4py/mpi4py.h -> build/lib.linux-x86_64-3.5/mpi4py/include/mpi4py
  copying src/mpi4py/include/mpi4py/mpi4py.i -> build/lib.linux-x86_64-3.5/mpi4py/include/mpi4py
  copying src/mpi4py/include/mpi4py/mpi.pxi -> build/lib.linux-x86_64-3.5/mpi4py/include/mpi4py
  copying src/mpi4py/futures/__main__.pyi -> build/lib.linux-x86_64-3.5/mpi4py/futures
  copying src/mpi4py/futures/__init__.pyi -> build/lib.linux-x86_64-3.5/mpi4py/futures
  copying src/mpi4py/futures/pool.pyi -> build/lib.linux-x86_64-3.5/mpi4py/futures
  copying src/mpi4py/futures/aplus.pyi -> build/lib.linux-x86_64-3.5/mpi4py/futures
  copying src/mpi4py/futures/server.pyi -> build/lib.linux-x86_64-3.5/mpi4py/futures
  copying src/mpi4py/futures/_lib.pyi -> build/lib.linux-x86_64-3.5/mpi4py/futures
  copying src/mpi4py/futures/_core.pyi -> build/lib.linux-x86_64-3.5/mpi4py/futures
  copying src/mpi4py/util/__init__.pyi -> build/lib.linux-x86_64-3.5/mpi4py/util
  copying src/mpi4py/util/dtlib.pyi -> build/lib.linux-x86_64-3.5/mpi4py/util
  copying src/mpi4py/util/pkl5.pyi -> build/lib.linux-x86_64-3.5/mpi4py/util
  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/$USER/anaconda3/envs/py35/compiler_compat -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c _configtest.c -o _configtest.o
  /usr/bin/mpicc -pthread -B /home/$USER/anaconda3/envs/py35/compiler_compat _configtest.o -llmpe -o _configtest
  /home/$USER/anaconda3/envs/py35/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.5
  creating build/temp.linux-x86_64-3.5/src
  creating build/temp.linux-x86_64-3.5/src/lib-pmpi
  /usr/bin/mpicc -pthread -B /home/$USER/anaconda3/envs/py35/compiler_compat -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c src/lib-pmpi/mpe.c -o build/temp.linux-x86_64-3.5/src/lib-pmpi/mpe.o
  creating build/lib.linux-x86_64-3.5/mpi4py/lib-pmpi
  /usr/bin/mpicc -pthread -shared -L/home/$USER/anaconda3/envs/py35/lib -B /home/$USER/anaconda3/envs/py35/compiler_compat -Wl,-rpath=/home/$USER/anaconda3/envs/py35/lib,--no-as-needed -Wl,--no-as-needed build/temp.linux-x86_64-3.5/src/lib-pmpi/mpe.o -o build/lib.linux-x86_64-3.5/mpi4py/lib-pmpi/libmpe.so
  checking for library 'vt-mpi' ...
  /usr/bin/mpicc -pthread -B /home/$USER/anaconda3/envs/py35/compiler_compat -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c _configtest.c -o _configtest.o
  /usr/bin/mpicc -pthread -B /home/$USER/anaconda3/envs/py35/compiler_compat _configtest.o -lvt-mpi -o _configtest
  /home/$USER/anaconda3/envs/py35/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/$USER/anaconda3/envs/py35/compiler_compat -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c _configtest.c -o _configtest.o
  /usr/bin/mpicc -pthread -B /home/$USER/anaconda3/envs/py35/compiler_compat _configtest.o -lvt.mpi -o _configtest
  /home/$USER/anaconda3/envs/py35/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/$USER/anaconda3/envs/py35/compiler_compat -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c src/lib-pmpi/vt.c -o build/temp.linux-x86_64-3.5/src/lib-pmpi/vt.o
  /usr/bin/mpicc -pthread -shared -L/home/$USER/anaconda3/envs/py35/lib -B /home/$USER/anaconda3/envs/py35/compiler_compat -Wl,-rpath=/home/$USER/anaconda3/envs/py35/lib,--no-as-needed -Wl,--no-as-needed build/temp.linux-x86_64-3.5/src/lib-pmpi/vt.o -o build/lib.linux-x86_64-3.5/mpi4py/lib-pmpi/libvt.so
  checking for library 'vt-mpi' ...
  /usr/bin/mpicc -pthread -B /home/$USER/anaconda3/envs/py35/compiler_compat -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c _configtest.c -o _configtest.o
  /usr/bin/mpicc -pthread -B /home/$USER/anaconda3/envs/py35/compiler_compat _configtest.o -lvt-mpi -o _configtest
  /home/$USER/anaconda3/envs/py35/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/$USER/anaconda3/envs/py35/compiler_compat -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c _configtest.c -o _configtest.o
  /usr/bin/mpicc -pthread -B /home/$USER/anaconda3/envs/py35/compiler_compat _configtest.o -lvt.mpi -o _configtest
  /home/$USER/anaconda3/envs/py35/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/$USER/anaconda3/envs/py35/compiler_compat -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c src/lib-pmpi/vt-mpi.c -o build/temp.linux-x86_64-3.5/src/lib-pmpi/vt-mpi.o
  /usr/bin/mpicc -pthread -shared -L/home/$USER/anaconda3/envs/py35/lib -B /home/$USER/anaconda3/envs/py35/compiler_compat -Wl,-rpath=/home/$USER/anaconda3/envs/py35/lib,--no-as-needed -Wl,--no-as-needed build/temp.linux-x86_64-3.5/src/lib-pmpi/vt-mpi.o -o build/lib.linux-x86_64-3.5/mpi4py/lib-pmpi/libvt-mpi.so
  checking for library 'vt-hyb' ...
  /usr/bin/mpicc -pthread -B /home/$USER/anaconda3/envs/py35/compiler_compat -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c _configtest.c -o _configtest.o
  /usr/bin/mpicc -pthread -B /home/$USER/anaconda3/envs/py35/compiler_compat _configtest.o -lvt-hyb -o _configtest
  /home/$USER/anaconda3/envs/py35/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/$USER/anaconda3/envs/py35/compiler_compat -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c _configtest.c -o _configtest.o
  /usr/bin/mpicc -pthread -B /home/$USER/anaconda3/envs/py35/compiler_compat _configtest.o -lvt.ompi -o _configtest
  /home/$USER/anaconda3/envs/py35/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/$USER/anaconda3/envs/py35/compiler_compat -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c src/lib-pmpi/vt-hyb.c -o build/temp.linux-x86_64-3.5/src/lib-pmpi/vt-hyb.o
  /usr/bin/mpicc -pthread -shared -L/home/$USER/anaconda3/envs/py35/lib -B /home/$USER/anaconda3/envs/py35/compiler_compat -Wl,-rpath=/home/$USER/anaconda3/envs/py35/lib,--no-as-needed -Wl,--no-as-needed build/temp.linux-x86_64-3.5/src/lib-pmpi/vt-hyb.o -o build/lib.linux-x86_64-3.5/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/$USER/anaconda3/envs/py35/compiler_compat -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/$USER/anaconda3/envs/py35/include/python3.5m -c _configtest.c -o _configtest.o
  success!
  removing: _configtest.c _configtest.o
  success!
  checking for library 'dl' ...
  gcc -pthread -B /home/$USER/anaconda3/envs/py35/compiler_compat -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/$USER/anaconda3/envs/py35/include/python3.5m -c _configtest.c -o _configtest.o
  gcc -pthread -B /home/$USER/anaconda3/envs/py35/compiler_compat _configtest.o -Lbuild/temp.linux-x86_64-3.5 -ldl -o _configtest
  success!
  removing: _configtest.c _configtest.o _configtest
  checking for function 'dlopen' ...
  gcc -pthread -B /home/$USER/anaconda3/envs/py35/compiler_compat -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/$USER/anaconda3/envs/py35/include/python3.5m -c _configtest.c -o _configtest.o
  gcc -pthread -B /home/$USER/anaconda3/envs/py35/compiler_compat _configtest.o -Lbuild/temp.linux-x86_64-3.5 -ldl -o _configtest
  success!
  removing: _configtest.c _configtest.o _configtest
  building 'mpi4py.dl' extension
  gcc -pthread -B /home/$USER/anaconda3/envs/py35/compiler_compat -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DHAVE_DLFCN_H=1 -DHAVE_DLOPEN=1 -I/home/$USER/anaconda3/envs/py35/include/python3.5m -c src/dynload.c -o build/temp.linux-x86_64-3.5/src/dynload.o
  gcc -pthread -shared -L/home/$USER/anaconda3/envs/py35/lib -B /home/$USER/anaconda3/envs/py35/compiler_compat -Wl,-rpath=/home/$USER/anaconda3/envs/py35/lib,--no-as-needed build/temp.linux-x86_64-3.5/src/dynload.o -Lbuild/temp.linux-x86_64-3.5 -ldl -o build/lib.linux-x86_64-3.5/mpi4py/dl.cpython-35m-x86_64-linux-gnu.so
  checking for MPI compile and link ...
  /usr/bin/mpicc -pthread -B /home/$USER/anaconda3/envs/py35/compiler_compat -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/$USER/anaconda3/envs/py35/include/python3.5m -c _configtest.c -o _configtest.o
  success!
  removing: _configtest.c _configtest.o
  /usr/bin/mpicc -pthread -B /home/$USER/anaconda3/envs/py35/compiler_compat -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/$USER/anaconda3/envs/py35/include/python3.5m -c _configtest.c -o _configtest.o
  /usr/bin/mpicc -pthread -B /home/$USER/anaconda3/envs/py35/compiler_compat _configtest.o -Lbuild/temp.linux-x86_64-3.5 -o _configtest
  /home/$USER/anaconda3/envs/py35/compiler_compat/ld: warning: libopen-rte.so.20, needed by /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so, not found (try using -rpath or -rpath-link)
  /home/$USER/anaconda3/envs/py35/compiler_compat/ld: warning: libopen-pal.so.20, needed by /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so, not found (try using -rpath or -rpath-link)
  /home/$USER/anaconda3/envs/py35/compiler_compat/ld: warning: librt.so.1, needed by /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so, not found (try using -rpath or -rpath-link)
  /home/$USER/anaconda3/envs/py35/compiler_compat/ld: warning: libm.so.6, needed by /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so, not found (try using -rpath or -rpath-link)
  /home/$USER/anaconda3/envs/py35/compiler_compat/ld: warning: libhwloc.so.5, needed by /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so, not found (try using -rpath or -rpath-link)
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `mca_base_framework_components_close'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_list_sort'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_hwloc_base_get_topology'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_datatype_get_element_count'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_convertor_t_class'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_namelist_t_class'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `mca_base_var_dump'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_install_dirs'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_hash_table_set_value_ptr'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_rand'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `hwloc_bitmap_alloc'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `hwloc_get_obj_by_depth'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_convertor_raw'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_strncpy'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `hwloc_bitmap_free'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `mca_base_var_get'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_local_arch'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_list_item_t_class'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_backtrace_print'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_pmix_collect_all_data'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `mca_base_component_close'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_hash_table_get_value_ptr'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `mca_base_var_register'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_info_register_framework_params'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `hwloc_bitmap_iszero'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_hwloc_base_cset2mapstr'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_proc_local_set'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `hwloc_bitmap_isincluded'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_datatype_dump_data_flags'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_hwloc_topology'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_convertor_pack'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_output_stream_t_class'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_info_out'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_pmix_base_exchange'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_allocator_base_framework'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_argv_join'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_pmix_base_async_modex'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_datatype_set_element_count'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `mca_base_pvar_handle_reset'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_argv_free'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_hash_table_init'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_process_info'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_path_nfs'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `mca_base_pvar_get'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `sync_wait_mt'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_hwloc_base_get_available_cpus'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_backtrace_buffer'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_btl_base_framework'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_pmix_app_t_class'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_progress_set_event_poll_rate'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_pointer_array_test_and_set_item'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_thread_get_self'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_pointer_array_t_class'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_datatype_copy_content_same_ddt'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `mca_base_components_close'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_pointer_array_init'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `orte_info_show_orte_version'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `orte_init'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `mca_base_select'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_argv_append_unique_nosize'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `mca_base_pvar_handle_read_value'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_datatype_finalize'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `orte_session_dir_finalize'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_process_name_print'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `mca_base_pvar_handle_alloc'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `hwloc_get_type_depth'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `clock_gettime@GLIBC_2.2.5'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_buffer_t_class'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_convert_process_name_to_string'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_free_list_t_class'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_abort_delay'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_output'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `sqrt@GLIBC_2.2.5'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `mca_base_var_find_by_name'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_progress'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_hwloc_base_single_cpu'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_compare_proc'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_free_list_item_t_class'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_datatype_contain_basic_datatypes'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `mca_base_framework_is_open'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_convertor_prepare_for_recv'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `hwloc_bitmap_compare'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_hash_table_t_class'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_dss'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_value_unload'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_built_with_cuda_support'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `mca_base_var_set_value'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_progress_register'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_info_register_project_frameworks'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_hash_table_get_next_key_uint32'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_pointer_array_add'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `orte_util_compare_name_fields'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_finalize_util'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_output_close'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_progress_event_users_increment'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_pointer_array_set_item'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `orte_in_parallel_debugger'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_convertor_prepare_for_send'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_hash_table_remove_value_uint32'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `orte_rml_recv_callback'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_mpool_base_framework'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `orte_ess'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_value_load'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `mca_base_var_enum_create_flag'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_bitmap_set_bit'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_info_close_components'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_output_verbose'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `orte_process_info'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_argv_append_nosize'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `hwloc_get_cpubind'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_pmix_pdata_t_class'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `mca_base_pvar_handle_free'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `orte_info_close_components'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `orte_proc_applied_binding'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `mca_base_component_var_register'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `orte_proc_is_bound'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `orte_name_wildcard'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `mca_base_var_get_value'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_rcache_base_framework'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `mca_base_var_find'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `mca_base_pvar_handle_write_value'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_hwloc_base_cset2str'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `mca_mpool_base_alloc'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_init_util'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `orte_rml'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_convertor_create'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_output_open'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_thread_self_compare'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_free_list_grow_st'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_condition_t_class'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_show_help'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_datatype_predefined_elem_desc'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_cuda_support'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_datatype_clone'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `orte_odls'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `mca_mpool_base_free'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_progress_set_event_flag'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `clock_getres@GLIBC_2.2.5'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_convertor_unpack'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `mca_base_var_register_synonym'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_hash_table_get_value_uint32'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `mca_base_var_group_find_by_name'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_argv_split'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_strerror'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `mca_base_var_group_get_stamp'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `mca_base_pvar_session_t_class'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_pmix'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_srand'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_arch_set_fortran_logical_size'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_object_t_class'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `orte_util_convert_process_name_to_string'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `mca_base_pvar_get_count'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `mca_mpool_base_tree_print'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_class_initialize'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_progress_set_yield_when_idle'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_bitmap_is_set_bit'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `mca_base_var_get_count'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `mca_base_pvar_find_by_name'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_proc_for_name'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `mca_base_framework_close'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_bitmap_init'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `mca_base_framework_components_open'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_datatype_t_class'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `orte_standalone_operation'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_uses_threads'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `orte_util_convert_string_to_process_name'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_proc_t_class'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_argv_append'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_mutex_t_class'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `mca_base_component_to_string'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `orte_util_print_name_args'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `mca_allocator_component_lookup'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `mca_base_pvar_handle_stop'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_datatype_init'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_hash_table_set_value_uint32'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_abort_print_stack'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `log@GLIBC_2.2.5'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_hash_table_get_value_uint64'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `mca_base_var_group_get'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_convert_string_to_process_name'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_datatype_commit'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_bitmap_find_and_set_first_unset_bit'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_getcwd'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `orte_errmgr'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_datatype_dump_data_desc'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `mca_base_var_enum_create'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `mca_base_component_repository_release'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_value_t_class'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_free_list_init'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_bitmap_set_max_size'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_info_make_version_str'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_progress_unregister'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `mca_base_pvar_handle_start'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_datatype_create_desc'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_setenv'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_progress_event_users_decrement'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_hash_table_remove_value_ptr'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `orte_finalize'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_bitmap_clear_bit'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_bitmap_t_class'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_hash_table_get_first_key_uint32'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `mca_base_component_list_item_t_class'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `orte_info_register_framework_params'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `mca_base_framework_open'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `orte_rml_recv_cb_t_class'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `orte_session_dir_cleanup'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_info_show_opal_version'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_datatype_add'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `mca_base_var_group_get_count'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_datatype_resize'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_hash_table_set_value_uint64'
  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so: undefined reference to `opal_list_t_class'
  collect2: error: ld returned 1 exit status
  failure.
  removing: _configtest.c _configtest.o
  error: Cannot link MPI programs. Check your configuration!!!
  ----------------------------------------
  ERROR: Failed building wheel for mpi4py
Failed to build mpi4py
ERROR: Could not build wheels for mpi4py which use PEP 517 and cannot be installed directly

Please let me know if any more information is required from my side. Any help is appreciated, TIA!!

adbidwai commented 2 years ago

@fxia22 , @hzyjerry , @amir32002 , @alexsax , @ir0 , @gene-lewis , I am facing this issue since a long time and on multiple systems. It would be really helpful if I could get some advice about this issue.

Thanks!

Atellas23 commented 1 year ago

Hi! I'm having the same issue. It'd be great if someone could come up with a fix :)