Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] Problem with running openMPI program
From: Gus Correa (gus_at_[hidden])
Date: 2009-04-23 10:34:32


Hi Ankush

Jeff already sent clarifications about image processing,
and the portable API nature of OpenMPI (and other MPI implementations).

As for "mpicc: command not found" this is again a problem with your
PATH.
Remember the "locate" command? :)
Find where mpicc is installed, and put that directory on your PATH.

In any case, I would suggest that you choose a central NFS mounted
file system on your cluster master node, and install OpenMPI there,
configuring and building it from source (not from yum).
If this directory is mounted on all nodes, the same OpenMPI will be
available on all nodes.
This will give you a single standard version of OpenMPI across the board.

Clustering can become a very confusing and tricky business if you
have heterogeneous nodes, with different OS/Linux versions,
different MPI versions etc, software installed in different locations
on each node, etc, regardless of whether you use mpiselector or
you set the PATH variable on each node, or you use environment modules
package, or any other technique to setup your environment.
Installing less software, rather than more software,
and doing so in a standardized homogeneous way across all cluster nodes,
will give you a cleaner environment, which is easier to understand,
control, upgrade, and update.

A relatively simple way to install a homogeneous cluster is
to use the Rocks Clusters "rolls" suite,
which is free and based on CentOS.
It will probably give you some extra work in the beginning,
but may be worthwhile in the long run.
See this:
http://www.rocksclusters.org/wordpress/

My two cents.

Gus Correa
---------------------------------------------------------------------
Gustavo Correa
Lamont-Doherty Earth Observatory - Columbia University
Palisades, NY, 10964-8000 - USA
---------------------------------------------------------------------

Ankush Kaul wrote:
> @Gus, Eugene
> I read all you mails and even followed the same procedure, it was blas
> that was giving the problem.
>
> Thanks
>
> I am again stuck on a problem, i connected a new node to my cluster and
> installed CentOS 5.2 on it. after that i use yum to install
> openmpi,openmpi-libs and openmpi-devel sucessfully.
>
> But still when i run mpicc command it gives me error :
> /bash: mpicc: command not found/
>
> i found out there is a command *mpi-selector* but dont know hoe to use it.
> Is this a new version of openmpi? how do i configure it?
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users