[CMake] Switching configuration to icc

Rahul K Soni rahul at ismu.ac.in
Sun May 10 13:03:42 EDT 2015


I am really sorry Tom. I am very new to all these things. Can you just exaplain in just one or two lines, how to do that. 




I will really appreciate your help. I am struggling with all these from several days. 



—
Rahul Kumar Soni
ScientistCSIR-IMMT



Sent from iPad Rahul

On Sun, May 10, 2015 at 10:30 PM, Tom Kacvinsky
<tom.kacvinsky at vectorcast.com> wrote:

> You need to set CC before invoking cmake so that cmake will know to use the Intel compilers
>> On May 10, 2015, at 12:57, Rahul K Soni <rahul at ismu.ac.in> wrote:
>> 
>> No Tom, thats not working. 
>> 
>> I did ccmake CC=icc /path/to/vtk
>> 
>> But the result is same. 
>> 
>>>> Rahul Kumar Soni
>> Scientist
>> CSIR-IMMT
>> 
>> Sent from iPad Rahul
>> 
>> 
>>> On Sun, May 10, 2015 at 10:04 PM, Tom Kacvinsky <tom.kacvinsky at vectorcast.com> wrote:
>>> CC=icc cmake <options> should do the trick 
>>> 
>>> 
>>> 
>>> > On May 10, 2015, at 12:18, Rahul K Soni <rahul at ismu.ac.in> wrote: 
>>> > 
>>> > Hello everyone 
>>> > 
>>> > 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. 
>>> > 
>>> > Please help, how to switch the configuration to icc. 
>>> > 
>>> > — 
>>> > Rahul Kumar Soni 
>>> > Scientist 
>>> > CSIR-IMMT 
>>> > 
>>> > Sent from iPad Rahul 
>>> > -- 
>>> > 
>>> > Powered by www.kitware.com 
>>> > 
>>> > Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ 
>>> > 
>>> > Kitware offers various services to support the CMake community. For more information on each offering, please visit: 
>>> > 
>>> > CMake Support: http://cmake.org/cmake/help/support.html 
>>> > CMake Consulting: http://cmake.org/cmake/help/consulting.html 
>>> > CMake Training Courses: http://cmake.org/cmake/help/training.html 
>>> > 
>>> > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html 
>>> > 
>>> > Follow this link to subscribe/unsubscribe: 
>>> > http://public.kitware.com/mailman/listinfo/cmake
>> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20150510/fa5490f2/attachment.html>


More information about the CMake mailing list