[Paraview] Tiled display with multi-gpu.

Moreland, Kenneth kmorel at sandia.gov
Mon Apr 20 16:23:03 EDT 2009


Other than the -tdx and -tdy options and the mullion options, there are no more specific pvserver configuration options.  pvserver assigns processes to tiles in a left-to-right and top-to-bottom order.  It is up to you to make sure that each process has the right X display.

Basically, you need to tell mpi to launch the different processes with different arguments.  The means of doing this is specific to the implementation of MPI.  I use the : argument for openmpi line this:

mpirun -np 1 pvserver -display :0 -tdx=2 -tdy=1 : -np 1 pvserver -display :1 -tdx=2 -tdy=1

I don't know if this works with mpich or not.

-Ken


On 4/20/09 12:18 PM, "Omkaranathan" <omkaranathan at darshan3d.com> wrote:



Thanks Ken,
But what I was searching for was the configuration options, as I
couldn't find any information on how to launch the server in case of
multiple displays.
Can I specify display numbers in machinefiles?
It would be great if I can get any pointers.

-Om

Moreland, Kenneth wrote:
> That's basically what Utkarsh meant by needing to set up the
> environment correctly. Typically the GPU used is determined by the
> DISPLAY environment variable. ":0" is typically the first GPU and ":1"
> is typically the second GPU. You need to launch pvserver such that
> node 0 gets :0 for the DISPLAY env variable (or -display flag) and
> node 1 gets :1.
>
> -Ken
>
>
> On 4/20/09 8:39 AM, "Omkaranathan" <omkaranathan at darshan3d.com> wrote:
>
>     Hi Utkarsh,
>
>     Thanks for the response.
>     The suggested command line creates two seperate processes and
>     devides the data properly, but I'm getting both the tiles in the
>     same display(connected to first GPU).
>
>     -Om
>
>     Utkarsh Ayachit wrote:
>
>
>         Yes, just run pvserver as follows:
>
>         mpirun -np 2 pvserver -tdx=2
>
>         Of course, you'll have to build your own MPI enabled ParaView (you
>         cannot use the binaries provided by on www.paraview.org
>         <http://www.paraview.org> ). You'll have
>         to ensure that the environment is set up correctly so that each
>         pvserver processes gets the right display etc.
>
>         Utkarsh
>
>         On Mon, Apr 20, 2009 at 8:08 AM, Omkaranathan
>         <omkaranathan at darshan3d.com>
>         <mailto:omkaranathan at darshan3d.com> wrote:
>
>
>
>             Hi,
>
>             Is it possible to achieve tiled display using a single
>             dual-gpu machine
>             which can drive 4 displays? I have read that the number of
>             servers should
>             atleast be equal to number of tiles.
>             Can paraview be configued to have atleast a 2x1 tiled
>             display with 2 GPUs?
>
>             Thanks
>             Omkaranathan
>
>             _______________________________________________
>             Powered by www.kitware.com <http://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
>
>
>
>
>
>
>
>
>
>
>
> **** Kenneth Moreland
> *** Sandia National Laboratories
> ***********
> *** *** *** email: kmorel at sandia.gov
> ** *** ** phone: (505) 844-8919
> *** web: http://www.cs.unm.edu/~kmorel <http://www.cs.unm.edu/%7Ekmorel>
>





   ****      Kenneth Moreland
    ***      Sandia National Laboratories
***********
*** *** ***  email: kmorel at sandia.gov
**  ***  **  phone: (505) 844-8919
    ***      web:   http://www.cs.unm.edu/~kmorel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20090420/3f343c9b/attachment.htm>


More information about the ParaView mailing list