Results 1 to 9 of 9

Thread: Ancient MPI implementations, and how to properly install a newer one from source?

  1. #1

    Default Ancient MPI implementations, and how to properly install a newer one from source?

    Hello. I have use for an MPI implementation, and it seem that the two that are available for OpenSUSE 11.4 are rather old. OpenMPI is version 1.2.8 (from 2008) and MPICH(1) is version 1.2.7 (from 2005!). As far as I can tell both are no longer supported upstream and both projects encourage switching to newer versions. Why are the MPI implementations in the repositories so old?

    Anyway, this means that I would like to compile and install a newer version myself. The process of compiling and installing to some prefix I think won't be a problem, however I don't know how I should do it when there is already an MPI implementation installed. On my computer OpenMPI has been installed, presumably because something else depended on it (any way to check if that's the case?).

    My problem then is how to install a newer version of OpenMPI or MPICH2 without messing up the package management and anything that might be depending on the old OpenMPI 1.2.8. Is it even possible, or do I have to install the new version to a place not in default search paths for include files and libraries (a hassle when I want cross-platform compilation with CMake). Does anyone have any suggestions on how to do this?

  2. #2
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,654

    Default Re: Ancient MPI implementations, and how to properly install a newer one from source?

    You can look into the science repository which contains openmpi 1.3.2
    http://download.opensuse.org/reposit.../openSUSE_11.4

    --
    PC: oS 11.4 64 bit | Intel Core i7-2600@3.40GHz | KDE 4.6.0 | GeForce GT 420
    | 16GB Ram
    Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.6.5 | nVidia
    ION | 3GB Ram

  3. #3

    Default Re: Ancient MPI implementations, and how to properly install a newer one from source?

    It's still pretty old (from 2009, also abandoned upstream I think) but at least it's an improvement. So if I install openmpi from the science repository it would replace the older version, and that would (most likely?) not cause problems with whatever depends on openmpi in the original repos?

  4. #4
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,654

    Default Re: Ancient MPI implementations, and how to properly install a newer one from source?

    Quantumboredom wrote:

    >
    > It's still pretty old (from 2009, also abandoned upstream I think) but
    > at least it's an improvement. So if I install openmpi from the science
    > repository it would replace the older version, and that would (most
    > likely?) not cause problems with whatever depends on openmpi in the
    > original repos?
    >

    It should not conflict with the original repositories, that is the point. I
    know that it is realtively old. You can also install a newer mpi by
    compiling the source or contact the package maintainer for openmpi/mpich and
    ask if they are willing to pack a newer version.

    --
    PC: oS 11.4 64 bit | Intel Core i7-2600@3.40GHz | KDE 4.6.0 | GeForce GT 420
    | 16GB Ram
    Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.6.5 | nVidia
    ION | 3GB Ram

  5. #5
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,654

    Default Re: Ancient MPI implementations, and how to properly install a newer one from source?

    I just saw that you can find the latest stable release for openmpi for
    openSUSE here
    http://download.opensuse.org/reposit.../openSUSE_11.4

    I also checked now the src rpm from the original openmpi page
    http://www.open-mpi.org/software/ompi/v1.4/ and it compiles easily with
    "rpmbuild --rebuild openmpi-1.4.3-1.src.rpm".

    --
    PC: oS 11.4 64 bit | Intel Core i7-2600@3.40GHz | KDE 4.6.0 | GeForce GT 420
    | 16GB Ram
    Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.6.5 | nVidia
    ION | 3GB Ram

  6. #6

    Default Re: Ancient MPI implementations, and how to properly install a newer one from source?

    Thanks! I added the science repository and the "scorot" repository you linked to (which is supposed to extend the science repository). Then I did "zypper dup" which upgraded and changed vendors for openmpi and a few other sciency packages. Everything seems to be working fine (I just had to manually change the default MPI implementation in mpi-selector even though there was only one installed).

    It's a little scary having unofficial repositories enabled (everywhere I look it seems people say you shouldn't do that unless you're named Linus), but it seems to be working fine for now at least.

    Thanks for your help

  7. #7
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,654

    Default Re: Ancient MPI implementations, and how to properly install a newer one from source?

    The general advice not to enable unofficial repos has of course a good
    reason. Too many people enable a variety of additional repos too often
    without a good reason and are then surprised to introduce conflicts.
    On the other hand it makes sense to have this repos for special use cases (I
    also have always the scorot repo because I need some libs for scientific
    computing which I do not want to compile myself).
    After you installed what you want you can of course disable the additional
    repos and just enable them if you need again something special or want to
    update a package from it.
    Have much fun.

    --
    PC: oS 11.4 64 bit | Intel Core i7-2600@3.40GHz | KDE 4.6.0 | GeForce GT 420
    | 16GB Ram
    Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.6.5 | nVidia
    ION | 3GB Ram

  8. #8

    Default Re: Ancient MPI implementations, and how to properly install a newer one from source?

    I know this is an old thread but I just wanted to clarify how to install the compiled version of openmpi

    Quote Originally Posted by martin_helm View Post

    I also checked now the src rpm from the original openmpi page
    Open MPI: Version 1.4.5 and it compiles easily with
    "rpmbuild --rebuild openmpi-1.4.3-1.src.rpm".
    I have successfully compiled it but when I execute the following

    Code:
    sudo yum install openmpi-1.4.3.x86_64
    I receive the following message:

    Setting up Install Process
    No package openmpi-1.4.3.x86_64 available.
    Nothing to do
    Your help in resolving this issue would be greatly appreciated. Thanks in advance!

  9. #9
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,699

    Default Re: Ancient MPI implementations, and how to properly install a newer one from source?

    You do know that yum is not a normal openSUSE program?? It may not work right without extraordinary effort

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •