title: Could not find compiler set in environment variable CC (MPI, Intel compiler, wrappers)
body: <p>I am compiling MPI-based C++ code with PrgEnv-intel/5.2.82.
  I am using cmake/3.0.2 and cray-mpich/7.0.4.
  My commands are:</p>
  
  <pre><code>    export CC=mpiicc
      export CXX=mpiicpc
      cmake ./path_to_my_CMakeLists.txt
      make
  </code></pre>
  
  <p>But I am having this error:</p>
  
  <pre><code>    CMake Error at /.../cmake-3.0/Modules/CMakeDetermineCCompiler.cmake:57 (message):
        Could not find compiler set in environment variable CC:
  
        mpiicc.
      Call Stack (most recent call first):
        CMakeLists.txt:11 (project)
  </code></pre>
  
  <p>What am I doing wrong?</p>