1

I'm stuck with an error in which I don't know what else to do :(

Please help!

symbol lookup error: /ompi/lib/libmpi_cxx.so.1: undefined symbol: ompi_mpi_real

Thanks in advance!

ps: I've already googled a lot and found nothing related to this error :/ So.. if you could help.

Best Regards.

CrashLaker
  • 61
  • 3
  • 8
  • It will greatly help if you could provide the command that causes the error. You are probably using the wrong link command since `ompi_mpi_real` is defined in `libmpi.so.1` and that should be linked in automatically if you use `mpic++` as linker. – Hristo Iliev Apr 14 '14 at 09:12
  • Hello @Hristo! I did something simple like mpicxx conftest.cpp | mpic++ conftest.cpp. It generates de executable but prints this error. – CrashLaker Apr 14 '14 at 10:02
  • 1
    Got it! My LD_LIBRARY_PATH was actually linked to another MPI implementation. I got another error reporting that it couldn't load shared libraries and this solved my problem http://stackoverflow.com/questions/14769599/mpi-error-loading-shared-libraries Thanks guys! – CrashLaker Apr 14 '14 at 14:44

1 Answers1

0

How about upgrading to Open MPI 1.8? It was recently released and is the next generation stable series for Open MPI.

Jeff Squyres
  • 744
  • 4
  • 6