Open MPI logo

Open MPI User's Mailing List Archives

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

From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2007-09-18 20:13:11


On Sep 18, 2007, at 7:38 PM, rokuingh_at_[hidden] wrote:

> I had to sudo make all install first of all, is this normal?

It depends on where you install. If you're installing into a
directory to where your user does not have write permissions, then
yes, you need to su or sudo to "make install".

> Next, i'm using an example code i found on the site somewhere, and
> my driver is the following line
>
> mpicc mpiex.C -o mpiex

Try using "mpiCC" or "mpic++" (the C++ compiler -- mpicc is the C
compiler).

-- 
Jeff Squyres
Cisco Systems