And if “which mpicc” doesn’t find the executable, you could try
rpmquery -l openmpi
rpmquery -l openmpi-devel
Do you see mpicc? Is its parent directory in your PATH?
On 3/29/12 8:33 AM, "Hameed Alzahrani" <email@example.com> wrote:
When you type "which mpicc" does the system return the correct path for the open MPI binaries?
Date: Thu, 29 Mar 2012 19:45:18 +0800
Subject: [OMPI users] mpicc command not found - Fedora
I have installed mpi successfully on fedora using yum install openmpi openmpi-devel openmpi-libs
I have also added /usr/lib/openmpi/bin to PATH and LD_LIBRARY_PATH variable.
But when I try to complie my program using mpicc hello.c or /usr/lib/openmpi/bin/mpicc hello.c I get error saying mpicc: command not found
I checked the contents of /user/lib/openmpi/bin and there is no mpicc... here is the screenshot
The add/remove programs show the installation details
I have tried re installing but same thing happened.
Can someone help me to solve this issue?