Sounds like a problem with the installation or configuration of pgf90 since “-V” should work fine as well as the recognition of “.f”. When “-V” is used, the compiler driver (pgf90) is actually restarted since you could use “-V5.1” which would use the 5.1 compilers (if installed). So if “-V” doesn’t work, it’s most likely that it can’t find pgf90 in the location it was orginally installed. Try running the following commands and please post the output.
I had wanted to work around having to change each user’s .login by linking everything in the pgi bin directory to /usr/local/bin, but that didn’t work.
Symbolic links from /usr/local/bin/pgxxx to $PGI/…/bin/pgxxx should work; you should only need to link the executables (pgf90, pgf77, pgcc, pgCC). Particularly, you don’t want to link the rcfiles.