[Paraview] Procedure for compiling Catalyst
Shawn Waldon
shawn.waldon at kitware.com
Mon Jul 25 16:35:11 EDT 2016
He doesn't need to delete and re-clone. The recursive flag just does a
normal clone followed by a git submodule update --init. So run that
command in your paraview source tree and you should be fine.
HTH,
Shawn
On Mon, Jul 25, 2016 at 4:00 PM, Adam Lyon <lyon at fnal.gov> wrote:
> Well, reading that page again, it doesn't mention VTK, but adding
> "--recursive" to git clone will get the submodule. You should probably
> delete your repository and clone it again following the instructions at
> https://gitlab.kitware.com/paraview/paraview/blob/master/CONTRIBUTING.md.
> -- A
>
> *------*
>
> *Adam L. Lyon*
> *Scientist; Associate Division Head for Systems for Scientific
> Applications*
>
> Scientific Computing Division & Muon g-2 Experiment
> Fermi National Accelerator Laboratory
> 630 840 5522 office
> www.fnal.gov
> lyon at fnal.gov
>
> Connect with us!
> News <http://news.fnal.gov/> | Facebook
> <https://www.facebook.com/Fermilab> | Twitter
> <https://twitter.com/Fermilab>
>
> On Mon, Jul 25, 2016 at 2:58 PM, Adam Lyon <lyon at fnal.gov> wrote:
>
>> You need to follow the instructions at
>> https://gitlab.kitware.com/paraview/paraview/blob/master/CONTRIBUTING.md
>> . That will tell you how to checkout the VTK submodule. -- Adam
>>
>> *------*
>>
>> *Adam L. Lyon*
>> *Scientist; Associate Division Head for Systems for Scientific
>> Applications*
>>
>> Scientific Computing Division & Muon g-2 Experiment
>> Fermi National Accelerator Laboratory
>> 630 840 5522 office
>> www.fnal.gov
>> lyon at fnal.gov
>>
>> Connect with us!
>> News <http://news.fnal.gov/> | Facebook
>> <https://www.facebook.com/Fermilab> | Twitter
>> <https://twitter.com/Fermilab>
>>
>> On Mon, Jul 25, 2016 at 2:43 PM, Christopher Neal <
>> chrisneal at snumerics.com> wrote:
>>
>>> Hey guys,
>>>
>>>
>>>
>>> Have you ever had an issue with cmake concerning some missing VTK files?
>>> I typed Adam’s command exactly after cloning the Paraview repo(git clone
>>> https://github.com/Kitware/ParaView.git). I made a ParaView_build
>>> directory and executed Adam’s command in the build directory. I’m seeing
>>> the error shown below. The VTK folder in the cloned source directory is
>>> completely empty.
>>>
>>>
>>> CMake Error at CMakeLists.txt:615 (include):
>>>
>>> include could not find load file:
>>>
>>>
>>>
>>> vtkModuleAPI
>>>
>>>
>>>
>>>
>>>
>>> CMake Error at CMakeLists.txt:616 (include):
>>>
>>> include could not find load file:
>>>
>>>
>>>
>>> vtkModuleMacros
>>>
>>>
>>>
>>>
>>>
>>> CMake Error at CMakeLists.txt:621 (include):
>>>
>>> include could not find load file:
>>>
>>>
>>>
>>> vtkDetermineCompilerFlags
>>>
>>>
>>>
>>>
>>>
>>> CMake Error at CMake/ParaViewModuleTop.cmake:44
>>> (vtk_add_to_module_search_path):
>>>
>>> Unknown CMake command "vtk_add_to_module_search_path".
>>>
>>> Call Stack (most recent call first):
>>>
>>> CMakeLists.txt:652 (include)
>>>
>>>
>>>
>>> Thank you,
>>>
>>> Chris Neal
>>>
>>>
>>>
>>> *From: *Adam Lyon <lyon at fnal.gov>
>>> *Date: *Monday, July 25, 2016 at 1:50 PM
>>> *To: *Andy Bauer <andy.bauer at kitware.com>
>>> *Cc: *Christopher Neal <chrisneal at snumerics.com>, jeff wright <
>>> jeffwright83 at gmail.com>, "paraview at paraview.org" <paraview at paraview.org>
>>>
>>> *Subject: *Re: [Paraview] Procedure for compiling Catalyst
>>>
>>>
>>>
>>> Hi - I build the ParaView package with Catalyst turned on (but the
>>> ParaView GUI turned off). My cmake command is (sorry for the poor
>>> formatting, some of these options may not be useful for you)...
>>>
>>>
>>>
>>> cmake -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_SKIP_INSTALL_RPATH:BOOL=YES -DBUILD_TESTING:BOOL=OFF -DPARAVIEW_BUILD_QT_GUI:BOOL=OFF -DVTK_RENDERING_BACKEND=OpenGL2 -DPARAVIEW_USE_MPI:BOOL=ON -DPARAVIEW_ENABLE_PYTHON:BOOL=ON -DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON -DPARAVIEW_BUILD_CATALYST_ADAPTERS:BOOL=ON -DPARAVIEW_BUILD_PLUGIN_AnalyzeNIfTIIO:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_ArrowGlyph:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_CDIReader:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_EyeDomeLighting:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_GMVReader:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_GeodesicMeasurement:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_H5PartReader:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_InSituExodus:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_MantaView:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_Moments:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_NonOrthogonalSource:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_PacMan:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_PointSprite:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_RGBZView:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_SLACTools:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_SciberQuestToolKit:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_SierraPlotTools:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_StreamingParticles:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_SurfaceLIC:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_ThickenLayeredCells:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_UncertaintyRendering:BOOL=FALSE -DPARAVIEW_BUILD_PLUGIN_AcceleratedAlgorithms:BOOL=OFF -DVTK_USE_CXX11_FEATURES:BOOL=ON -DCMAKE_INSTALL_PREFIX=/somewhere /path/to/paraview/git/source
>>>
>>>
>>>
>>>
>>>
>>> This will build ParaView, VTK, and Catalyst and install header files so you can build your code with it. -- Adam
>>>
>>>
>>>
>>> *------*
>>>
>>>
>>>
>>> *Adam L. Lyon*
>>>
>>> *Scientist; Associate Division Head for Systems for Scientific
>>> Applications*
>>>
>>>
>>>
>>> Scientific Computing Division & Muon g-2 Experiment
>>>
>>> Fermi National Accelerator Laboratory
>>>
>>> 630 840 5522 office
>>>
>>> www.fnal.gov
>>>
>>> lyon at fnal.gov
>>>
>>>
>>>
>>> Connect with us!
>>> News <http://news.fnal.gov/> | Facebook
>>> <https://www.facebook.com/Fermilab> | Twitter
>>> <https://twitter.com/Fermilab>
>>>
>>>
>>>
>>> On Mon, Jul 25, 2016 at 12:16 PM, Andy Bauer <andy.bauer at kitware.com>
>>> wrote:
>>>
>>> Hi Chris,
>>>
>>> Catalyst is not a separate entity from ParaView. It is a subset of
>>> ParaView that is used for *in situ *processing. The concept of the
>>> editions is that the subset of interest differs based on the desired *in
>>> situ *processing and linking your simulation code to all of ParaView
>>> Catalyst can take up a significant amount of memory. Hopefully the blog
>>> post at
>>> https://blog.kitware.com/paraview-catalyst-editions-what-are-they/ may
>>> clear up your confusion.
>>>
>>> Best,
>>>
>>> Andy
>>>
>>>
>>>
>>> On Mon, Jul 25, 2016 at 1:07 PM, Christopher Neal <
>>> chrisneal at snumerics.com> wrote:
>>>
>>> Thank you Andy,
>>>
>>>
>>>
>>> My understanding is that the Catalyst editions can be compiled
>>> separately from Paraview i.e. I do not need to have a version of Paraview
>>> compiled in order to compile a Catalyst edition. Is this correct?
>>>
>>> Thank you,
>>>
>>> Chris
>>>
>>>
>>>
>>> *From: *Andy Bauer <andy.bauer at kitware.com>
>>> *Date: *Friday, July 22, 2016 at 8:23 PM
>>> *To: *Christopher Neal <chrisneal at snumerics.com>
>>> *Cc: *"paraview at paraview.org" <paraview at paraview.org>
>>> *Subject: *Re: [Paraview] Procedure for compiling Catalyst
>>>
>>>
>>>
>>> Hi Chris,
>>>
>>> You can get the Catalyst editions source code at
>>> http://www.paraview.org/download/ by just selecting Catalyst editions
>>> for Type of Download. If you're just getting started though I would
>>> recommend doing a build of ParaView without the GUI. Yes this will require
>>> learning a bit of CMake (see instructions for building ParaView at
>>> http://www.paraview.org/Wiki/ParaView:Build_And_Install) but it will
>>> likely be smoother for you for understanding Catalyst's capabilities. Also,
>>> it's much easier to link a simulation code with Catalyst through CMake than
>>> specifying all of the include directories and libraries. When you're
>>> looking for a lean build of Catalyst on an HPC machine then I'd suggest
>>> going the edition route (the editions help avoid cross-compilation issues
>>> on HPC machines too).
>>>
>>> Best,
>>>
>>> Andy
>>>
>>>
>>>
>>> On Fri, Jul 22, 2016 at 6:16 PM, Christopher Neal <
>>> chrisneal at snumerics.com> wrote:
>>>
>>> Hi All,
>>>
>>>
>>>
>>> I’m interesting in trying to compile Paraview Catalyst. I understand
>>> that there are ‘Editions’ of the Catalyst library that vary in the amount
>>> of functions that are included from the Paraview library. That’s about the
>>> extent of my knowledge about the actual source for the Catalyst library.
>>> The documentation that I have found for compiling Catalyst is a bit
>>> dated(~3 years old), and I haven’t been able to locate an up-to-date set of
>>> documents that detail the compilation procedure for building Catalyst. If
>>> I want Catalyst, must I first have a version of Paraview built from scratch
>>> on my system? The best documentation that I have found for building
>>> Paraview is (
>>> http://www.paraview.org/Wiki/ParaView:Build_And_Install#Download_ParaView_Source_Code),
>>> and I’m having trouble getting Paraview to build from the instructions(I’ve
>>> never used cmake before).
>>>
>>> Has anyone who has successfully built the Catalyst library or knows
>>> about the process lend me any tips about how I should approach building
>>> Catalyst?
>>>
>>> Thank you,
>>>
>>> Chris Neal
>>>
>>>
>>> _______________________________________________
>>> 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:
>>> http://public.kitware.com/mailman/listinfo/paraview
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> 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:
>>> http://public.kitware.com/mailman/listinfo/paraview
>>>
>>>
>>>
>>
>>
>
> _______________________________________________
> 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:
> http://public.kitware.com/mailman/listinfo/paraview
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20160725/3a7d9ee7/attachment-0001.html>
More information about the ParaView
mailing list