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