[Paraview] Superbuild: Passing VTK parameter?

Felipe Bordeu felipe.bordeu at ec-nantes.fr
Tue Jun 25 03:14:39 EDT 2013


I use this command line to pass variables to paraview using the superbuild.

cmake 
-Dextra_cmake_args="-DPARAVIEW_EXTERNAL_PLUGIN_DIRS=$(PXDMFReader_src_dir)" 
$(ParaViewSuperBuild_dir)

hope this help you.

Felipe


Le 24/06/2013 17:19, Angelini, Richard C (Rick) CIV USARMY ARL (US) a 
écrit :
> OK - so that brings up the point that I was working towards.   I'm relatively new to building ParaView, but in the past, I'm told that we did not use the OSmesa build, we used to build Mesa with VTK_USE_OFFSCREEN=on which apparently achieved the same thing.     I have done the OSmesa build and it does exactly what I want, but it's also forcing me to do two builds - an OSMesa build for the compute node that doesn't have an Xwindow server, and a Mesa build for remote X display from the login node.   I was really looking to see if I could get by with just one build as we've apparently done in the past.
>
> Or am I totally wrong and just need to do two builds?  8-)
>
>
> ________________________________
> Rick Angelini
>
> USArmy Research Laboratory
> CISD/HPC Architectures Team
> Building 120 Cube 315
> Phone:  410-278-6266
>
> ________________________________________
> From: Utkarsh Ayachit [utkarsh.ayachit at kitware.com]
> Sent: Monday, June 24, 2013 10:03 AM
> To: Angelini, Richard C (Rick) CIV USARMY ARL (US)
> Cc: paraview at paraview.org
> Subject: Re: [Paraview] Superbuild: Passing VTK parameter?
>
> Rick,
>
> The instrastructure doesnt' support passing flags to ParaView yet.
> However to build ParaView with OSMesa (which is needed for OffScreen),
> you can simply enable "osmesa". Note when osmesa is enabled, Qt and
> Mesa cannot be enabled (you'll get cmake errors if they are).
>
> Utkarsh
>
> On Mon, Jun 24, 2013 at 9:43 AM, Angelini, Richard C (Rick) CIV USARMY
> ARL (US) <richard.c.angelini.civ at mail.mil> wrote:
>> I want to pass a VTK build parameter from the Superbuild down into the
>> depths of the ParaView build.   In my top level cmake command, I'm passing
>> the flag:
>>
>> -DVTK_USE_OFFSCREEN:BOOL=ON \
>>
>> but if I look in the paraview/src/*build/CMakeCache.txt file I'm getting
>> this:
>>
>> VTK_USE_OFFSCREEN:BOOL=OFF
>>
>> Should I be able to pass this parameter from the top-level cmake command in
>> the Superbuild?
>>
>> ________________________________
>> Rick Angelini
>>
>> USArmy Research Laboratory
>> CISD/HPC Architectures Team
>> Building 120 Cube 315
>> Phone:  410-278-6266
>>
>> _______________________________________________
>> 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://www.paraview.org/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
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview


-- 
Felipe Bordeu Weldt
Ingénieur de Recherche
-------------------------------------
Tél. : 33 (0)2 40 37 16 57
Fax. : 33 (0)2 40 74 74 06
Felipe.Bordeu at ec-nantes.fr
Institut GeM - UMR CNRS 6183
École Centrale Nantes
1 Rue de La Noë, 44321 Nantes, FRANCE
-------------------------------------



More information about the ParaView mailing list