[Paraview] Tiled display with multi-gpu.

Omkaranathan omkaranathan at darshan3d.com
Mon Apr 20 16:46:18 EDT 2009


Thanks for your response John,
As I'm using openmpi, I could get it done with the ':' argument as 
suggested by Ken, thanks for your pointer anyways.

-Om

John Patchett wrote:
> Hi,
> I Think I did what you are asking  some time ago and used a pvx file 
> which I handed the pvserver  as a command line option,
> I can't recall all the details but here is one of the files, it was 
> used when launching 2 pvservers via mpi on the same machine with 2 
> graphics cards.   :
>
> $cat myconfig.pvx
> <?xml version="1.0" ?>
> <pvx>
>   <Process Type="client">
>   </Process>
>   <Process Type="server">
>     <Machine Name="hostname1"
>              Environment="DISPLAY=:1"/>
>     <Machine Name="hostname1"
>              Environment="DISPLAY=:0"/>
>   </Process>
> </pvx>
>
> I just found there is some more regarding the pvx file at:
> http://www.vtk.org/Wiki/ParaView:FAQ
>
> -John
>
>
> On Apr 20, 2009, at 1:18 PM, Omkaranathan 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>
>>>
>>
>> _______________________________________________
>> 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