undefined symbol: MPI_Get_version in mpi.so on kubuntu 7.04

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nimitsis
    New Member
    • Aug 2007
    • 16

    undefined symbol: MPI_Get_version in mpi.so on kubuntu 7.04

    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?
  • bartonc
    Recognized Expert Expert
    • Sep 2006
    • 6478

    #2
    Originally posted by nimitsis
    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?

    Comment

    • nimitsis
      New Member
      • Aug 2007
      • 16

      #3
      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.

      Originally posted by bartonc
      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.

      Comment

      • varuns
        New Member
        • Jun 2007
        • 39

        #4
        Originally posted by nimitsis
        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

        Comment

        • quinn004
          New Member
          • Sep 2007
          • 1

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

          Comment

          • varuns
            New Member
            • Jun 2007
            • 39

            #6
            Originally posted by quinn004
            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

            Comment

            • bond007fedora
              New Member
              • Jan 2008
              • 1

              #7
              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

              Comment

              Working...