Francesco, Try replacing 'icc' with 'icpc' in the CXX definition. Also, you shouldn't need the full path to the compilers. Are you initializing the compilers before configuring openmpi? If not, I strongly recommend that you run the ifortvars.{sh|csh} and iccvars.{sh|csh} scripts before building openmpi. These scripts are in the bin directories of the Intel compilers.
Best regards, Henry