I have been trying to use the same compiler mpicc that comes with openmpi-devel package, but I think I'm running into the same error you had. I've tried your work around by adding
PATH=/home/wcucluster master/override:$PATH
To my .bashsrc file then making the directory override with a script called mpicc and the commands