ImportError: /usr/lib64/mpi/gcc/openmpi/lib64/libmpi_cxx.so.1: undefined symbol: ompi_mpi_real
I am able to setup by cmake the yade package and the full make compilation ends without error but when i launch yade after that I got this :
../install/bin/yade-ci --check
Welcome to Yade 2019-05-08.git-d216c18
Using python version: 3.6.5 (default, Mar 31 2018, 19:45:04) [GCC]
Traceback (most recent call last):
File "../install/bin/yade-ci", line 138, in <module>
import yade
File "/home/oger/Yade_users/trunk/install/lib64/yade-ci/py/yade/__init__.py", line 73, in <module>
from yade import boot
ImportError: /usr/lib64/mpi/gcc/openmpi/lib64/libmpi_cxx.so.1: undefined symbol: ompi_mpi_real
here the cmake answers:
-- Found MPI_C: /usr/lib64/mpi/gcc/openmpi/lib64/libmpi.so (found version "3.0")
-- Found MPI_CXX: /usr/lib64/mpi/gcc/openmpi/lib64/libmpi_cxx.so (found version "3.0")
-- Found MPI: TRUE (found version "3.0")
-- MPI found
I guess that I have too many mpi or some links are not kept after the make?:
LIBs:
/usr/lib/hpc/gnu7/mpi/openmpi/1.10.7/lib64/libmpi_cxx.so.1
/usr/lib64/mpi/gcc/openmpi/lib64/libmpi_cxx.so
and
compiler:
/usr/lib/hpc/gnu7/mpi/mvapich2/2.2/bin/mpicxx
/usr/lib/hpc/gnu7/mpi/mpich/3.2.1/bin/mpicxx
/usr/lib64/mpi/gcc/openmpi/bin/mpicxx
/usr/lib64/mpi/gcc/openmpi/bin/mpicxx-vt
/usr/lib64/mpi/gcc/openmpi2/bin/mpicxx
EDIT: please use ``` when citing.
Edited by Janek Kozicki