[Paraview] Superbuild: Passing VTK parameter?
Utkarsh Ayachit
utkarsh.ayachit at kitware.com
Tue Jun 25 10:13:07 EDT 2013
Rick,
The ParaViewSuperbuild currently builds a newer version of Mesa which
doesn't allow building with onscreen and offscreen together
(http://paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D), so you're
stuck with two separate builds. Using older-mesa may not work either
since, if I am not mistaken, VTK has some logic after modularization
that'd make using X and OSMesa in the same build difficult, if not
impossible.
Utkarsh
On Mon, Jun 24, 2013 at 11:19 AM, Angelini, Richard C (Rick) CIV
USARMY ARL (US) <richard.c.angelini.civ at mail.mil> wrote:
> 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
>>
More information about the ParaView
mailing list