[Paraview] compiling ParaView v4.2.0-RC1-75-gf64ee7a with -DModule_vtkIOXdmf3:BOOL=ON

David E DeMarle dave.demarle at kitware.com
Wed Sep 17 11:56:50 EDT 2014


I had similar config problems in the DoD HPC machines I tested on. The root
cause was that the system boost was CMakefied and find boost didn't like it
but insisted on using it.

To get around it I downloaded my own boost (no need to compile it) and made
the my PV build use it by:
In cmakecache.txt
set Boost_NO_SYSTEM_PATHS:BOOL=ON
set Boost_NO_BOOST_CMAKE:BOOL=ON
Then it will ask for an respect your choice of boost headers to use.


David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909

On Tue, Sep 16, 2014 at 12:55 PM, Ben Boeckel <ben.boeckel at kitware.com>
wrote:

> On Tue, Sep 16, 2014 at 16:22:38 +0000, Su, Simon M CTR USARMY ARL (US)
> wrote:
> > I would like to test out the xdmf3 writer in ParaView 4.2 RC to see if
> the file
> > size is still increase 10 fold when saving pvd file to xmf format.
> >
> > However, when I configure ParaView v4.2.0-RC1-75-gf64ee7a with
> > -DModule_vtkIOXdmf3:BOOL=ON
> >
> > cmake -DCMAKE_BUILD_TYPE=release
> -DCMAKE_INSTALL_PREFIX=/home/simonsm/tools/
> > paraview/paraview-v4.2.0-RC1-75-gf64ee7a_mesa
> -DPARAVIEW_ENABLE_PYTHON:BOOL=ON
> > -DPARAVIEW_USE_MPI:BOOL=ON -DPARAVIEW_ENABLE_WEB:BOOL=OFF
> > -DModule_vtkIOXdmf3:BOOL=ON ../ParaView-v4.2.0-RC1-75-gf64ee7a
> >
> > I got whole bunch of boost related cmake error with cmake version 3.0.0
> and
> > cmake version 2.8.12.2. Some of the error messages are included at the
> end of
> > this email.
> >
> > I am able to compile RC1-22-g9ca4e44 version ok but without
> Module_vtkIOXdmf3
> > set to ON. Is there anything on the boost side that I am not setting it
> right?
> > I am compiling on RHEL 6.5 with boost-devel-1.41.0-18.el6.x86_64
> installed.
>
> Looks to be a CMake-ified boost. It worked here on Fedora with 1.54.0
> (which I don't believe is built using CMake anymore). It seems that it
> doesn't support multiple find_package calls. Try setting
> Boost_NO_BOOST_CMAKE to ON to force the FindBoost.cmake logic to kick
> in.
>
> --Ben
> _______________________________________________
> 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
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20140917/2f8fa7eb/attachment.html>


More information about the ParaView mailing list