<div dir="ltr">Hi Rahul,<div><br></div><div>Probably the easiest way to choose a compiler is by setting environment variables before running ccmake:</div><div><br></div><div>export CC=icc</div><div>export CXX=icpc</div><div><br></div><div>When changing compilers, it is best to delete your CMakeCache.txt file and the entire build directory.</div><div><br></div><div> - David<div class="gmail_extra"><br><div class="gmail_quote">On Sun, May 10, 2015 at 5:08 AM, Rahul Kumar Soni <span dir="ltr"><<a href="mailto:rahulsoni@immt.res.in" target="_blank">rahulsoni@immt.res.in</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-family:trebuchet ms,sans-serif">Hello everyone</div><div style="font-family:trebuchet ms,sans-serif"><br></div><div style="font-family:trebuchet ms,sans-serif">I had a hard time in trying to compile VTK in SUSE-HPC cluster. When I do ccmake it always attempt to do everything with gcc compiler. I think the instructions are governed from the CMakeLists.txt file. But the cluster is having icc compiler. Is there anyway to compile it with the icc.  </div><div><div><div dir="ltr"><div><div dir="ltr">--<br><span style="color:rgb(51,51,51)"><span style="font-family:trebuchet ms,sans-serif"><span style="font-size:10pt">Sincerely</span></span></span><p style="margin-bottom:0in;margin-bottom:.0001pt;text-align:justify;line-height:normal"><a href="https://sites.google.com/site/rahuliitdhn/" target="_blank"><span style="color:rgb(51,51,51)"><span style="font-family:trebuchet ms,sans-serif"><span style="font-size:10pt">Rahul Kumar Soni</span></span></span></a></p><span style="color:rgb(51,51,51)"><span style="font-family:trebuchet ms,sans-serif">Scientist, Institute of <span></span>Minerals & Materials Technology<br>Council of Scientific & Industrial Research, Govt. of India</span></span><br></div></div></div></div></div></div></blockquote></div></div></div></div>