FedoraForum.org - Fedora Support Forums and Community
Results 1 to 8 of 8
  1. #1
    Join Date
    Dec 2007
    Posts
    70
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    yum install openmpi ?

    Hi,

    I just tried installing OpenMPI on my Fedora 8 laptop by doing
    Code:
    yum install openmpi
    It seemed to work fine, but when I try e.g.
    Code:
    which mpicc
    it does not find anything. Shouldn't all paths and stuff be set up correctly when yum installs something? I'm pretty sure there's supposed to be a mpicc wrapper with OpenMPI. Has anyone had any luck installing OpenMPI via yum?

  2. #2
    pescobar Guest
    You need to run sudo yum install openmpi-devel

    to install developer packages as well..

  3. #3
    Join Date
    Jan 2010
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Same problem

    Tried the solution and still can't find mpicc or mpi either for that matter. Any ideas?

  4. #4
    Join Date
    Dec 2008
    Location
    Lepoglava, Croatia
    Age
    39
    Posts
    35
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have the same problem ... OpenMPI worked well (with mpicc command) before when I used FC10 ...

  5. #5
    Join Date
    Aug 2007
    Location
    Switzerland
    Posts
    479
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    that is weird, yum can find it:
    Code:
    $ sudo yum provides */mpicc
    Loaded plugins: refresh-packagekit
    openmpi-devel-1.3.1-1.fc11.i586 : Development files for openmpi
    Repo        : fedora
    Matched from:
    Filename    : /usr/bin/mpicc
    Filename    : /usr/share/openmpi/1.3.1-gcc/bin%{mode}/mpicc
    
    
    
    openmpi-devel-1.3.1-1.fc11.x86_64 : Development files for openmpi
    Repo        : fedora
    Matched from:
    Filename    : /usr/bin/mpicc
    Filename    : /usr/share/openmpi/1.3.1-gcc/bin64/mpicc
    [...]
    Edit: just installed it, seems like they forgot to link mpicc to /usr/bin, or add it to the PATH variable or whatever.
    so, to fix this, just do a
    Code:
    $ su -
    # ln -s /usr/lib[64]/openmpi/bin/mpicc /usr/bin/mpicc
    Last edited by newiLuvatar; 25th January 2010 at 02:52 PM.

  6. #6
    Join Date
    Sep 2006
    Location
    Connellsville, PA, USA
    Posts
    11,306
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  7. #7
    Join Date
    Dec 2008
    Location
    Lepoglava, Croatia
    Age
    39
    Posts
    35
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You've got the point newiLuvatar:
    When openmpi and openmpi-devel are installed, there is mpicc in "/usr/lib/openmpi/bin/mpicc".

    So the only bug is that there is no link in /usr/bin.

    I can use mpicc with full path and there are no other problems ...

    ---------- Post added at 04:55 PM CST ---------- Previous post was at 03:44 PM CST ----------

    Actually, there was a similar minor problem, libmpi.so.0 needed by compiled application was also not linked in /usr/bin, it's location is in /usr/lib/openmpi/lib.

    Static link in /usr/bin solved that problem too ...

    ---------- Post added at 04:57 PM CST ---------- Previous post was at 04:55 PM CST ----------

    same with libopen-rte.so.0, mpirun, mpiexec, ...
    Last edited by shumi; 25th January 2010 at 05:08 PM.

  8. #8
    Join Date
    Mar 2010
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: yum install openmpi ?

    I used installed all the MPICH files in the package manager.

Similar Threads

  1. confict between eamcs and openMPI
    By shumi in forum Using Fedora
    Replies: 1
    Last Post: 7th October 2009, 06:19 AM
  2. OpenMPI doesn't come with mpd?
    By daviddoria in forum Using Fedora
    Replies: 5
    Last Post: 23rd July 2009, 07:53 PM
  3. How to mount using only IP (installing openMPI)
    By ankushkool in forum Servers & Networking
    Replies: 1
    Last Post: 12th March 2009, 11:37 AM
  4. Solved: OpenMPI and TORQUE on Fedora Core 10
    By gwiesenekker in forum Using Fedora
    Replies: 0
    Last Post: 5th January 2009, 11:34 PM
  5. yum -c option ( openmpi fortran )
    By MarkS in forum Using Fedora
    Replies: 1
    Last Post: 7th February 2008, 04:51 PM

Tags for this Thread

Posting Permissions

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