Re: [Paraview] catalyst with parallel rendering

2018-06-01 Thread Mark Olesen

Hi Andy,

Welcome back from hols!

This actually missed the question.

I assume that we get whatever pvserver up and running in parallel 
(generally have indeed used a pvserver build with mesa and llvmpipe 
rendering), how do we attach to it from catalyst?


Using a GUI "connect" button seems pointless/self-defeating, but how can 
I convey to catalyst that I'd like to connect to a particular server?


Cheers,

/mark

On 06/01/18 16:56, Andy Bauer wrote:

Hi Mark,

If you want to create images from Catalyst runs you'll probably want to 
build the ParaView that you're linking to with either OSMesa or EGL (and 
Qt disabled). This gets around needing the X context for rendering since 
I believe running with offscreen enabled is not sufficient. EGL comes 
with most of the NVIDIA drivers -- see 
https://blog.kitware.com/off-screen-rendering-through-the-native-platform-interface-egl/ 
for how to build PV with it. If you want to go the OSMesa route I'd 
recommend using the ParaView superbuild 
(https://gitlab.kitware.com/paraview/paraview-superbuild) to build it 
for you.


Does this answer your question? I just got back from vacation and am 
trying to catch up on more things than my brain can currently handle so 
let me know if you have more questions.


Best,
Andy



On Mon, May 28, 2018 at 11:25 AM Mark Olesen > wrote:


For the mailing list, since this must probably be a FAQ (even if I seem
to find the answer in the usual places).

I would like to have paraview rendering in parallel for a simulation
with catalyst. For simplicity, I'm fiddling about on a local
workstation, but would like to generalize later. it should work without
live visualization enabled, or requiring a GUI to connect.

I'd presume using something like the following

mpirun -np 12 pvserver --server-port=123456 --force-offscreen-rendering

would be setup a parallel rendering session as usual. However, after
scouring docs there doesn't seem to be an obvious way to connect this
within catalyst (without a GUI).

The only access point that I seem to find is to define an MPI
communicator for initializing catalyst after some how (some hand-waving
here) querying a pvserver connection for its host topology and defining
an appropriate communicator.

Cheers,

/mark
___
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://public.kitware.com/mailman/listinfo/paraview



--
Dr Mark OLESEN
Principal Engineer, ESI-OpenCFD
ESI GmbH | Einsteinring 24 | 85609 Munich | GERMANY
Mob. +49 171 9710 149
www.openfoam.com | www.esi-group.com | mark.ole...@esi-group.com
___
Powered by www.kitware.com

ParaView discussion is moving! Please visit https://discourse.paraview.org/ for 
future posts.

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://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] catalyst with parallel rendering

2018-06-01 Thread Andy Bauer
Hi Mark,

If you want to create images from Catalyst runs you'll probably want to
build the ParaView that you're linking to with either OSMesa or EGL (and Qt
disabled). This gets around needing the X context for rendering since I
believe running with offscreen enabled is not sufficient. EGL comes with
most of the NVIDIA drivers -- see
https://blog.kitware.com/off-screen-rendering-through-the-native-platform-interface-egl/
for how to build PV with it. If you want to go the OSMesa route I'd
recommend using the ParaView superbuild (
https://gitlab.kitware.com/paraview/paraview-superbuild) to build it for
you.

Does this answer your question? I just got back from vacation and am trying
to catch up on more things than my brain can currently handle so let me
know if you have more questions.

Best,
Andy



On Mon, May 28, 2018 at 11:25 AM Mark Olesen 
wrote:

> For the mailing list, since this must probably be a FAQ (even if I seem
> to find the answer in the usual places).
>
> I would like to have paraview rendering in parallel for a simulation
> with catalyst. For simplicity, I'm fiddling about on a local
> workstation, but would like to generalize later. it should work without
> live visualization enabled, or requiring a GUI to connect.
>
> I'd presume using something like the following
>
> mpirun -np 12 pvserver --server-port=123456 --force-offscreen-rendering
>
> would be setup a parallel rendering session as usual. However, after
> scouring docs there doesn't seem to be an obvious way to connect this
> within catalyst (without a GUI).
>
> The only access point that I seem to find is to define an MPI
> communicator for initializing catalyst after some how (some hand-waving
> here) querying a pvserver connection for its host topology and defining
> an appropriate communicator.
>
> Cheers,
>
> /mark
> ___
> 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://public.kitware.com/mailman/listinfo/paraview
>
___
Powered by www.kitware.com

ParaView discussion is moving! Please visit https://discourse.paraview.org/ for 
future posts.

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://public.kitware.com/mailman/listinfo/paraview


[Paraview] catalyst with parallel rendering

2018-05-28 Thread Mark Olesen
For the mailing list, since this must probably be a FAQ (even if I seem 
to find the answer in the usual places).


I would like to have paraview rendering in parallel for a simulation 
with catalyst. For simplicity, I'm fiddling about on a local 
workstation, but would like to generalize later. it should work without 
live visualization enabled, or requiring a GUI to connect.


I'd presume using something like the following

mpirun -np 12 pvserver --server-port=123456 --force-offscreen-rendering

would be setup a parallel rendering session as usual. However, after 
scouring docs there doesn't seem to be an obvious way to connect this 
within catalyst (without a GUI).


The only access point that I seem to find is to define an MPI 
communicator for initializing catalyst after some how (some hand-waving 
here) querying a pvserver connection for its host topology and defining 
an appropriate communicator.


Cheers,

/mark
___
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://public.kitware.com/mailman/listinfo/paraview