By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,089 Members | 2,359 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,089 IT Pros & Developers. It's quick & easy.

undefined symbol: MPI_Get_version in mpi.so on kubuntu 7.04

P: 16
HELP!!!!
when i am trying to import mpi in python the following message presents:

Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: /usr/lib/python2.5/site-packages/mpi.so: undefined symbol: MPI_Get_version

what can i do?
Aug 7 '07 #1
Share this Question
Share on Google+
6 Replies


bartonc
Expert 5K+
P: 6,596
HELP!!!!
when i am trying to import mpi in python the following message presents:

Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: /usr/lib/python2.5/site-packages/mpi.so: undefined symbol: MPI_Get_version

what can i do?
Sounds like more compiler issues on Linux. Is this a download or did you compile this?
Aug 7 '07 #2

P: 16
Hi and thanks for reporting.
I'm trying to import mpi module in python2.5(kubuntu 7.04)
%python
>>>import mpi
and the above message present. I have download the module pyMPI-2.4b4.tar.tar from sourceforge.net,extract it and install it according to README instructions(./configure, make, make check, python softload_setup.py install).The mpi.so file exist to /usr/lib/python2.5/site-packages directory but according to error message the MPI_Get_version has not defined.

I'm replying here so my reply doesn't cover yours. I'm hoping that one of our Linux experts (there are a couple) will pick this up. Most users on this forum are running on Windows.
Aug 8 '07 #3

varuns
P: 39
Hi and thanks for reporting.
I'm trying to import mpi module in python2.5(kubuntu 7.04)
%python
>>>import mpi
and the above message present. I have download the module pyMPI-2.4b4.tar.tar from sourceforge.net,extract it and install it according to README instructions(./configure, make, make check, python softload_setup.py install).The mpi.so file exist to /usr/lib/python2.5/site-packages directory but according to error message the MPI_Get_version has not defined.
hi
first install python2.5 as ./configure && make && make install
than install your pyMDI-2.4b4 as ./configure PYTHON=python2.5 && make && make install or what ever is there in README file but configure using PYTHON variable
than from terminal run
$ python2.5
>>> import mpi

it should run
Aug 17 '07 #4

P: 1
I've had the same error appear when importing the mpi module. The suggested fix did not work, any other suggestions?
Sep 5 '07 #5

varuns
P: 39
I've had the same error appear when importing the mpi module. The suggested fix did not work, any other suggestions?
search for .override file in the MPI source code, open it and search for "ignore" field, under that field write MPI_Get_version

it will be something like this
%%
ignore
......<some function name>
....
MPI_Get_version ----->>> add like this
%%

give a try
Sep 7 '07 #6

P: 1
Hi I am having the same issue. I have tried to find the .override file in mpi code and I did not find any. I have the same error. I would very much appreciate if somebody would give me another possible way to try to resolve this. again. I see this error

ImportError: /usr/lib/python2.5/site-packages/mpi.so: undefined symbol: MPI_Get_version

after two different ways of resolving (using the above steps)

Thank you
Jan 6 '08 #7

Post your reply

Sign in to post your reply or Sign up for a free account.