I used MacPorts to install openmpi. However, I realized when I use mpicxx, it actually uses clang at the backend. I want it to wrap with intel compiler (i.e. icpc). I checked the openmpi website but didn't figure out how to do this.
Could anyone help me?
It's spelled out in the docs:
Set the environment variable
OMPI_CXX(or perhaps justCXX) before invokingmpicxxormpic++.or