<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>You need to set CC before invoking cmake so that cmake will know to use the Intel compilers<br><br><div><br></div></div><div><br>On May 10, 2015, at 12:57, Rahul K Soni <<a href="mailto:rahul@ismu.ac.in">rahul@ismu.ac.in</a>> wrote:<br><br></div><blockquote type="cite"><div>
<div>No Tom, thats not working. </div>
<div><br></div>
<div>I did ccmake CC=icc /path/to/vtk</div>
<div><br></div>
<div>But the result is same. </div>
<div class="mailbox_signature">
<br>—<br>Rahul Kumar Soni<br>Scientist<div>CSIR-IMMT</div>
<div>
<br>Sent from iPad Rahul</div>
</div>
<br><br><div class="gmail_quote"><p>On Sun, May 10, 2015 at 10:04 PM, Tom Kacvinsky <span dir="ltr"><<a href="mailto:tom.kacvinsky@vectorcast.com" target="_blank">tom.kacvinsky@vectorcast.com</a>></span> wrote:<br></p><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><p>CC=icc cmake <options> should do the trick
<br><br><br><br>> On May 10, 2015, at 12:18, Rahul K Soni <<a href="mailto:rahul@ismu.ac.in">rahul@ismu.ac.in</a>> wrote:
<br>> 
<br>> Hello everyone
<br>> 
<br>> I am trying to configure vtk with cmake-3.2.2 in suse-hpc cluster. Prefeerred compiler in that cluster is intel. But I don't know why when Cmake is always configuring things for gcc when it is having icc also.
<br>> 
<br>> Please help, how to switch the configuration to icc.
<br>> 
<br>> —
<br>> Rahul Kumar Soni
<br>> Scientist
<br>> CSIR-IMMT
<br>> 
<br>> Sent from iPad Rahul
<br>> -- 
<br>> 
<br>> Powered by <a href="http://www.kitware.com">www.kitware.com</a>
<br>> 
<br>> Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ">http://www.cmake.org/Wiki/CMake_FAQ</a>
<br>> 
<br>> Kitware offers various services to support the CMake community. For more information on each offering, please visit:
<br>> 
<br>> CMake Support: <a href="http://cmake.org/cmake/help/support.html">http://cmake.org/cmake/help/support.html</a>
<br>> CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html">http://cmake.org/cmake/help/consulting.html</a>
<br>> CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html">http://cmake.org/cmake/help/training.html</a>
<br>> 
<br>> Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>
<br>> 
<br>> Follow this link to subscribe/unsubscribe:
<br>> <a href="http://public.kitware.com/mailman/listinfo/cmake">http://public.kitware.com/mailman/listinfo/cmake</a>
<br></p></blockquote></div><br></div></blockquote></body></html>