Hi all,

I’m currently trying to use MPI within a Python extension (written in C++). I 
was able to compile the extension and import it correctly, but as soon as I run 
the function, which contains the MPI code, I get the following error:

```
[aia256:15841] mca: base: component_find: unable to open 
/pds/opt/openmpi-1.8.7/lib64/openmpi/mca_shmem_posix: 
/pds/opt/openmpi-1.8.7/lib64/openmpi/mca_shmem_posix.so: undefined symbol: 
opal_shmem_base_framework (ignored)
[aia256:15841] mca: base: component_find: unable to open 
/pds/opt/openmpi-1.8.7/lib64/openmpi/mca_shmem_mmap: 
/pds/opt/openmpi-1.8.7/lib64/openmpi/mca_shmem_mmap.so: undefined symbol: 
opal_show_help (ignored)
[aia256:15841] mca: base: component_find: unable to open 
/pds/opt/openmpi-1.8.7/lib64/openmpi/mca_shmem_sysv: 
/pds/opt/openmpi-1.8.7/lib64/openmpi/mca_shmem_sysv.so: undefined symbol: 
opal_show_help (ignored)
...
```

(for the full message please have a look at [1])


I put together a minimal example to reproduce this problem, which can be found 
at [1]. Essentially, it is an extension that consist of only one function. The 
function basically just runs MPI_Init and MPI_Finalize. 

Maybe someone has some ideas what I could try to do.

Thanks in advance!


Best,
Joel


[1] https://github.com/jhedev/mpi_python

Reply via email to