I have seen situations where after installing Open MPI, the wrapper
compilers did not create any executables, and seemed to do nothing.
I was never able to figure out why the wrappers were broken, and
reinstalling Open MPI always seemed to make it work.
If I recall correctly, when this happened 'mpicc --showme' returned nothing.
FWIW, I only ever saw this on old versions of Open MPI, so I would
second Jeff in recommending an upgrade.
Tim
Jeff Squyres wrote:
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
site.
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.