Dear Ben: On Fri, Sep 4, 2009 at 11:05 PM, Gus Correa<g...@ldeo.columbia.edu> 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 >> us...@open-mpi.org >> http://www.open-mpi.org/mailman/listinfo.cgi/users > > _______________________________________________ > users mailing list > us...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/users > -- B.W. Dong State Key Laboratory of Superhard Materials, Jilin University, Changchun, China. 130012 tq02...@gmail.com [ db...@mails.jlu.edu.cn ]