Bug 874256

Summary: binaries of openmpi-devel are not in the PATH
Product: [Fedora] Fedora Reporter: Téo M. <teomazars>
Component: openmpiAssignee: Doug Ledford <dledford>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: dakingun, dledford, fenlason, orion
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-07 21:00:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Téo M. 2012-11-07 19:39:33 UTC
Description of problem:

The executables such as mpicc mpirun and all the other mpi* are not in the PATH and need to be called with the full path 

e.g : /usr/lib64/openmpi/bin/mpirun


Version-Release number of selected component (if applicable):
Name        : openmpi-devel
Arch        : x86_64
Version     : 1.5.4
Release     : 5.fc17.1


How reproducible:
Always

Steps to Reproduce:
1. Install openmp-devel
2. Try to compile a mpi program by running mpicc
3.
  
Actual results: 
$ mpicc prog.c
bash: mpicc: command not found...


Expected results:
compilation of prog.c


Additional info:
Binary are at the wrong place ?

Comment 1 Jay Fenlason 2012-11-07 20:31:19 UTC
Did you use the module command to set up your path and environment for the mpi system you are using?  Since Fedora has multiple mpi packages available, and different users on the same machine may want to use different mpis at the same time, we can't simply install their binaries in the standard path, because then there'd be no way to tell which mpicc (etc) a user wanted.

Comment 2 Téo M. 2012-11-07 21:00:00 UTC
I did not know there were multiple mpi packages... I thought that openMPI was alone to provide the MPI implementation under Linux. Sorry... I close the bug.