| COMPILER_ALIAS(5) | COMPILER_ALIAS(5) | 
alias realname ,,,
    egcs	gnu
    gnu3	gnu
You can write in compilers
    mpicc	gnu=gcc egcs=egcs gnu3=gcc3
    mpif77	gnu=g77 gnu3=g77-3
And you run following command:
    mpif77 -compiler gnu3 ...
Instead of
    mpif77 -compiler gnu -compiler-path g77-3 ...