Why don you use compilers mpicc, mpiCC etc when they exist on parallel machines?
The compilers mpicc etc are scripts for compilation which are site dependent and whose contents can change. The major reason we don’t use these is that in general it is difficult to work out what underlying compiler is being used, which in turn leads to problems adding the correct compilation flags. So far we have found it more convenient and transparent to manually add libraries and options to the configure system than to rely on mpicc behaving well on all platforms. At some point we will be reinvestigating this.