I have openmpi via the distribution package: openmpi-1.4.3-7.fc14.i686
When attempting to make mpicc use another compiler as follows:
mpicc -cc=icc ...
gcc: unrecognized option '-cc=icc'
/tmp/ccHd339C.o: In function `main':
It looks like it's just passing this as option to gcc instead of using
the supplied compiler.