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 specifying compiler (pgi)
From: Gus Correa (gus_at_[hidden])
Date: 2009-09-04 11:05:39


Hi Ben

Is it a possible problem with your PATH?

Very often Linux distributions (I suppose it is Linux, but maybe not)
have several MPI versions, plus others that may come with compilers,
etc, and their order on your path may not be what you want.

What do "which mpif90" and "which mpiexec" tell?

Have you tried to use full path names to mpif90
*and* to mpiexec/mpirun ?

/shared/ben/openmpi-1.3.3/bin/mpif90,
/shared/ben/openmpi-1.3.3/bin/mpiexec

My $0.02

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

Ben Mayer wrote:
> I am using PGI 9.0-1 to compile OpenMPI 1.3.3. I use the following
> command to configure OpenMPI:
>
> ./configure CC=pgcc CXX=pgCC FC=pgf90 F90=pgf90
> --prefix=/shared/ben/openmpi-1.3.3
>
> The PGI compilers are in the path. The make and make install complete
> successfully. The problem that I am having is that why I actually run
> mpif90 (or any of other mpi* executables) it returns a message like
> "gfortran: no input files". When I compiler when those files it is
> calling gcc compilers. There is also some vt* files (vtf90, etc) which
> appear to be for VampirTrace integration. They point to the proper pgi
> compilers.
>
> Any idea what is going on here and how to fix it?
>
> Thank you,
>
> Ben Mayer
>
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users