HI,
I am trying to dynamically load mpi.dylib on Mac OS X (using ctypes in
python). It seems to
load fine, but when I call MPI_Init(), I get the error shown below. I
can call other functions just fine (like MPI_Initialized).
Also, my mpi install is seeing all the needed components and I can
load them myself without error using dlopen. I can also compile and
run mpi programs and I build openmpi with shared library support.
[localhost:00973] mca: base: component_find: unable to open:
dlopen(/usr/local/openmpi-1.1/lib/openmpi/mca_allocator_basic.so, 9):
Symbol not found: _ompi_free_list_item_t_class
Referenced from:
/usr/local/openmpi-1.1/lib/openmpi/mca_allocator_basic.so
Expected in: flat namespace
(ignored)
[localhost:00973] mca: base: component_find: unable to open:
dlopen(/usr/local/openmpi-1.1/lib/openmpi/mca_rcache_rb.so, 9): Symbol
not found: _ompi_free_list_item_t_class
Referenced from: /usr/local/openmpi-1.1/lib/openmpi/mca_rcache_rb.so
Expected in: flat namespace
(ignored)
[localhost:00973] mca: base: component_find: unable to open:
dlopen(/usr/local/openmpi-1.1/lib/openmpi/mca_mpool_sm.so, 9): Symbol
not found: _mca_allocator_base_components
Referenced from: /usr/local/openmpi-1.1/lib/openmpi/mca_mpool_sm.so
Expected in: flat namespace
(ignored)
[localhost:00973] mca: base: component_find: unable to open:
dlopen(/usr/local/openmpi-1.1/lib/openmpi/mca_pml_ob1.so, 9): Symbol
not found: _ompi_free_list_item_t_class
Referenced from: /usr/local/openmpi-1.1/lib/openmpi/mca_pml_ob1.so
Expected in: flat namespace
(ignored)
[localhost:00973] mca: base: component_find: unable to open:
dlopen(/usr/local/openmpi-1.1/lib/openmpi/mca_coll_basic.so, 9):
Symbol not found: _mca_pml
Referenced from: /usr/local/openmpi-1.1/lib/openmpi/mca_coll_basic.so
Expected in: flat namespace
(ignored)
[localhost:00973] mca: base: component_find: unable to open:
dlopen(/usr/local/openmpi-1.1/lib/openmpi/mca_coll_hierarch.so, 9):
Symbol not found: _ompi_mpi_op_max
Referenced from: /usr/local/openmpi-1.1/lib/openmpi/mca_coll_hierarch.so
Expected in: flat namespace
(ignored)
[localhost:00973] mca: base: component_find: unable to open:
dlopen(/usr/local/openmpi-1.1/lib/openmpi/mca_coll_sm.so, 9): Symbol
not found: _ompi_mpi_local_convertor
Referenced from: /usr/local/openmpi-1.1/lib/openmpi/mca_coll_sm.so
Expected in: flat namespace
(ignored)
[localhost:00973] mca: base: component_find: unable to open:
dlopen(/usr/local/openmpi-1.1/lib/openmpi/mca_coll_tuned.so, 9):
Symbol not found: _mca_pml
Referenced from: /usr/local/openmpi-1.1/lib/openmpi/mca_coll_tuned.so
Expected in: flat namespace
(ignored)
[localhost:00973] mca: base: component_find: unable to open:
dlopen(/usr/local/openmpi-1.1/lib/openmpi/mca_osc_pt2pt.so, 9): Symbol
not found: _ompi_request_t_class
Referenced from: /usr/local/openmpi-1.1/lib/openmpi/mca_osc_pt2pt.so
Expected in: flat namespace
(ignored)
--------------------------------------------------------------------------
No available pml components were found!
This means that there are no components of this type installed on your
system or all the components reported that they could not be used.
This is a fatal error; your MPI process is likely to abort. Check the
output of the "ompi_info" command and ensure that components of this
type are available on your system. You may also wish to check the
value of the "component_path" MCA parameter and ensure that it has at
least one directory that contains valid MCA components.
--------------------------------------------------------------------------
[localhost:00973] PML ob1 cannot be selected
Any Ideas?
Thanks
Brian Granger