[Paraview] Question about build paraview
Cory Quammen
cory.quammen at kitware.com
Mon Jan 8 09:22:46 EST 2018
It's kind of a quirk of CMake, but once CMAKE_CXX_COMPILER is set by
the initial CMake configuration, you can't change it. So what should
you do?
The solution is to set an environment variable named
CMAKE_CXX_COMPILER in your shell prior to running CMake for the first
time. Set that variable to the path of version of gcc or icc you want
to use, and that should do it. You may also need to set
CMAKE_C_COMPILER as well.
HTH,
Cory
On Mon, Jan 8, 2018 at 12:17 AM, Yangguang Liao <ygliao at ucdavis.edu> wrote:
> Hi,
>
> Anyone has experience build paraview on TACC Maverick or other clusters
> before? I need to build my own paraview. I use superbuild to build paraview.
> but everytime it stop at the step of configure paraview due to GCC version
> is lower than 4.6. Maverick does have GCC 4.9 and 5.4 installed and also
> have intel icc and icpc installed. When I try to change CMAKE_CXX_COMPILER
> to high verion GCC it still detect GCC is lower than 4.6. Even when I try to
> use icc to compile it still detects GCC lower version error. No idea how to
> fix. I know I should probably ask Maverick system admin. Just wonder if
> anybody happen to know this issue.
> Thanks.
>
> --
> Yangguang Liao
> PhD. student of Computer Science Department
> University of California, Davis
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> https://paraview.org/mailman/listinfo/paraview
>
--
Cory Quammen
Staff R&D Engineer
Kitware, Inc.
More information about the ParaView
mailing list