[CMake] Switching configuration to icc
Rahul K Soni
rahul at ismu.ac.in
Sun May 10 14:25:06 EDT 2015
Its like a ssh remote control of cluster from putty.
—
Rahul Kumar Soni
ScientistCSIR-IMMT
Sent from iPad Rahul
On Sun, May 10, 2015 at 11:53 PM, Tom Kacvinsky
<tom.kacvinsky at vectorcast.com> wrote:
>> On May 10, 2015, at 14:19, Rahul K Soni <rahul at ismu.ac.in> wrote:
>>
>> When I run like that it says CC=icc command not found.
> Which she'll are you using? If you're using bash, that should work. If you're using csh/tcsh, precede the CC with env, as follows:
> env CC=icc cmake <options>
>> —
>> Rahul Kumar Soni
>> Scientist
>> CSIR-IMMT
>>
>> Sent from iPad Rahul
>>
>>
>>> On Sun, May 10, 2015 at 11:06 PM, Tom Kacvinsky <tom.kacvinsky at vectorcast.com> wrote:
>>>
>>>
>>>
>>>
>>> > On May 10, 2015, at 13:16, Rahul K Soni <rahul at ismu.ac.in> wrote:
>>> >
>>> > Hi Petr
>>> >
>>> > Is deleting the buildsysystem means deleting the CMakeCache.txt file. How to set CC and CXX before configuring.
>>> >
>>> > Thanks a lot in advance.
>>>
>>> Shoot, I had top posted. Yes, you need to delete the bus directory as cmake caches settings after the initial run. Once the build directory is deleted, you need to run cmake as follows:
>>>
>>> CC=icc CXX=icpc cmake <options>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20150510/07f2f506/attachment-0001.html>
More information about the CMake
mailing list