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: St Druid (tq02ksu_at_[hidden])
Date: 2009-09-05 12:55:16


Dear Ben:

On Fri, Sep 4, 2009 at 11:05 PM, Gus Correa<gus_at_[hidden]> wrote:
> 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.
I agree the point, then you can export environment variables to
exchange compilers.

OMPI_MPIFC=pgf90

Good Luck!

>
> 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
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>

-- 
B.W. Dong
State Key Laboratory of Superhard Materials,
Jilin University, Changchun, China. 130012
tq02ksu_at_[hidden] [ dbw07_at_[hidden] ]