Re: [CMake] Switching configuration to icc
When I run like that it says CC=icc command not found. — Rahul Kumar Soni ScientistCSIR-IMMT Sent from iPad Rahul On Sun, May 10, 2015 at 11:06 PM, Tom Kacvinsky tom.kacvin...@vectorcast.com wrote: On May 10, 2015, at 13:16, Rahul K Soni ra...@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-- 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
Re: [CMake] Switching configuration to icc
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.kacvin...@vectorcast.com wrote: On May 10, 2015, at 14:19, Rahul K Soni ra...@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.kacvin...@vectorcast.com wrote: On May 10, 2015, at 13:16, Rahul K Soni ra...@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 -- 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
Re: [CMake] Switching configuration to icc
No Tom, thats not working. I did ccmake CC=icc /path/to/vtk But the result is same. — Rahul Kumar Soni ScientistCSIR-IMMT Sent from iPad Rahul On Sun, May 10, 2015 at 10:04 PM, Tom Kacvinsky tom.kacvin...@vectorcast.com wrote: CC=icc cmake options should do the trick On May 10, 2015, at 12:18, Rahul K Soni ra...@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-- 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
Re: [CMake] Switching configuration to icc
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.kacvin...@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 ra...@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.kacvin...@vectorcast.com wrote: CC=icc cmake options should do the trick On May 10, 2015, at 12:18, Rahul K Soni ra...@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 -- 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
Re: [CMake] Switching configuration to icc
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. — Rahul Kumar Soni ScientistCSIR-IMMT Sent from iPad Rahul On Sun, May 10, 2015 at 10:32 PM, Petr Kmoch petr.km...@gmail.com wrote: And you need to do with in a *totally clean* binary directory. The compiler cannot be changed once the buildsystem has been configured at least once. Simply delete the buildsystem and start over, with the proper CC (and CXX) environment variable(s). Petr On Sun, May 10, 2015 at 7:00 PM, Tom Kacvinsky tom.kacvin...@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 ra...@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.kacvin...@vectorcast.com wrote: CC=icc cmake options should do the trick On May 10, 2015, at 12:18, Rahul K Soni ra...@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 -- 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 -- 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
[CMake] Switching configuration to icc
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 ScientistCSIR-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