[Paraview] ENABLE_MPI4PY on Mac OSX

Pettey . Lucas LPettey at drc.com
Thu Feb 7 14:49:34 EST 2013


Hi Nikhi,

My system details:

Mac Pro Mid 2012 OSX 10.8.2

Python:
Python 2.7.2 (default, Jun 20 2012, 16:23:33)
[GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
dlopen("/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/readline.so", 2);
import readline # dynamically loaded from /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/readline.so

MPI is OpenMPI 1.6.3 built from source

MPI4PY is 1.3 also built from source

Here is the error message:

[100%] Generating mpi4py/pv_mpi_compile_complete
Listing /Users/lucaspettey/ParaView-3.98/Utilities/mpi4py/mpi4py ...
Compiling /Users/lucaspettey/ParaView-3.98/Utilities/mpi4py/mpi4py/MPI.py ...
Compiling /Users/lucaspettey/ParaView-3.98/Utilities/mpi4py/mpi4py/__init__.py ...
Compiling /Users/lucaspettey/ParaView-3.98/Utilities/mpi4py/mpi4py/compile_all_pv_mpi.py ...
Listing /Users/lucaspettey/ParaView-3.98/Utilities/mpi4py/mpi4py/include ...
Listing /Users/lucaspettey/ParaView-3.98/Utilities/mpi4py/mpi4py/include/mpi4py ...
Compiling /Users/lucaspettey/ParaView-3.98/Utilities/mpi4py/mpi4py/rc.py ...
[100%] Built target paraview_mpi_pyc
Scanning dependencies of target MPIPython
[100%] Building C object Utilities/mpi4py/Library/CMakeFiles/MPIPython.dir/MPI.c.o
Linking CXX shared module ../../../lib/MPIPython.so
Undefined symbols for architecture x86_64:
  "_lt_dladvise_destroy", referenced from:
      _dlopen_mpi_lib in MPI.c.o
  "_lt_dladvise_ext", referenced from:
      _dlopen_mpi_lib in MPI.c.o
  "_lt_dladvise_global", referenced from:
      _dlopen_mpi_lib in MPI.c.o
  "_lt_dladvise_init", referenced from:
      _dlopen_mpi_lib in MPI.c.o
  "_lt_dlclose", referenced from:
      _dlclose_mpi_lib in MPI.c.o
  "_lt_dlexit", referenced from:
      _dlclose_mpi_lib in MPI.c.o
  "_lt_dlinit", referenced from:
      _dlopen_mpi_lib in MPI.c.o
  "_lt_dlopenadvise", referenced from:
      _dlopen_mpi_lib in MPI.c.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [lib/MPIPython.so] Error 1
make[1]: *** [Utilities/mpi4py/Library/CMakeFiles/MPIPython.dir/all] Error 2
make: *** [all] Error 2

Any help is appreciated.

Thanks
Lucas

________________________________
From: Nikhil Shetty [nikhil.shetty at kitware.com]
Sent: Thursday, February 07, 2013 10:45 AM
To: Pettey . Lucas
Cc: paraview at paraview.org
Subject: Re: [Paraview] ENABLE_MPI4PY on Mac OSX

Hi Lucas,

Can you tell what MAC, Python and MPI versions you are using.

Also can you attach the complete message about which symbols are not being found.

-Nikhi




On Thu, Feb 7, 2013 at 11:32 AM, Pettey . Lucas <LPettey at drc.com<mailto:LPettey at drc.com>> wrote:
Hello,

Has anyone had success with enabling MPI4PY on the Mac? I rebuilt the latest version of mpi4py from source and it still doesn't build in ParaView. I get the "undefined symbols for architecture x86_64" errors.

Thanks
Lucas
________________________________
This electronic message transmission and any attachments that accompany it contain information from DRC® (Dynamics Research Corporation) or its subsidiaries, or the intended recipient, which is privileged, proprietary, business confidential, or otherwise protected from disclosure and is the exclusive property of DRC and/or the intended recipient. The information in this email is solely intended for the use of the individual or entity that is the intended recipient. If you are not the intended recipient, any use, dissemination, distribution, retention, or copying of this communication, attachments, or substance is prohibited. If you have received this electronic transmission in error, please immediately reply to the author via email that you received the message by mistake and also promptly and permanently delete this message and all copies of this email and any attachments. We thank you for your assistance and apologize for any inconvenience.
_______________________________________________
Powered by www.kitware.com<http://www.kitware.com>

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview



More information about the ParaView mailing list