Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] OpenMPI - compilation
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2007-11-15 09:34:51

On Nov 14, 2007, at 10:48 PM, Sajjad wrote:

> No i didn't find any executable after the issued the command "mpicc
> mpitest1.c -o mpitest1"

If you're not finding the executable at all, then something else is
very wrong. The "mpicc" command is just a "wrapper" compiler, meaning
that it takes your command line, adds some more flags, and then
invokes the underlying compiler (e.g., gcc). You can use the "--
showme" flag to see exactly what command mpicc actually invokes:

     mpicc mpitest1.c -o mpitest1 --showme

Then try running the command that that shows manually and see what
happens. If your compiler is not producing executables at all, then
you have some other (non-MPI) system-level issue.

> And sorry for dumping such an irrelevant chunk of data to the
> mailing list.

We actually request the output from ompi_info from users who are
having run-time problems. See the "getting help" page on the OMPI web

Also, I still strongly recommend upgrading to the latest stable
version of Open MPI if possible. The version you have (v1.1) should
not be responsible for you not being able to create executables,
though -- you may need to fix that independently of upgrading Open MPI.

Jeff Squyres
Cisco Systems