473,574 Members | 2,661 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

undefined symbol: MPI_Get_version in mpi.so on kubuntu 7.04

16 New Member
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
6 1696
bartonc
6,596 Recognized Expert Expert
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
nimitsis
16 New Member
Hi and thanks for reporting.
I'm trying to import mpi module in python2.5(kubun tu 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
39 New Member
Hi and thanks for reporting.
I'm trying to import mpi module in python2.5(kubun tu 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
quinn004
1 New Member
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
39 New Member
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
bond007fedora
1 New Member
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

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

Similar topics

1
11235
by: Stu | last post by:
I am trying to build the xerces shared library with 2.3.0 version of their source code on an AIX 5.1 32 bit machine with the following version of the g++ compiler /usr/local/bin/g++ -v Reading specs from /usr/local/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.3.1/specs Configured with: ../gcc-3.3.1/configure --disable-nls Thread model: aix gcc...
0
1762
by: pervinder | last post by:
Hi, I have a c++ application which depends on some other libs which uses stlport When i build the application, it works fine on sun/linux/hp platform. (provided the .a for the dependency libs) But it errors out on AIX ( xlC va6) with below errors:- ld: 0711-317 ERROR: Undefined symbol: ._STL::ios_base::_Loc_init::_Loc_init() ld: 0711-317...
4
5721
by: r.nikhilk | last post by:
Hi, We are porting C++ applications from 32 bit to 64 bit on AIX platform. (The current version of AIX is 5.3 and xlC verison is 8.0). We are able to compile the applications by including the -q64 option in xlC compiler. But, when we link all these libraries to one of the main applications, we are getting the following errors: ld:...
1
5535
by: yamitmehta | last post by:
When I compile to code using g++arm of VxWorks 5.5 and put it on my board i get the follwing undefined symbols:- Cpool and Csingleton are template classes. CPool has the static member variables:-ms_uCapacity ,ms_uAllocatedCount , ms_uLockCapacity ,ms_pmutex -ld < yamit/apps1.out Undefined symbol:...
0
7736
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8067
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7826
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8107
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6464
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5631
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5307
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3756
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2252
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.