<HTML>
<HEAD>
<TITLE>Re: [Paraview] Tiled display with multi-gpu.</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>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.<BR>
<BR>
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:<BR>
<BR>
</SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'>mpirun –np 1 pvserver –display :0 –tdx=2 –tdy=1 : -np 1 pvserver –display :1 –tdx=2 –tdy=1<BR>
</SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
I don’t know if this works with mpich or not.<BR>
<BR>
-Ken<BR>
<BR>
<BR>
On 4/20/09 12:18 PM, "Omkaranathan" <<a href="omkaranathan@darshan3d.com">omkaranathan@darshan3d.com</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
<BR>
Thanks Ken,<BR>
But what I was searching for was the configuration options, as I<BR>
couldn't find any information on how to launch the server in case of<BR>
multiple displays.<BR>
Can I specify display numbers in machinefiles?<BR>
It would be great if I can get any pointers.<BR>
<BR>
-Om<BR>
<BR>
Moreland, Kenneth wrote:<BR>
> That’s basically what Utkarsh meant by needing to set up the<BR>
> environment correctly. Typically the GPU used is determined by the<BR>
> DISPLAY environment variable. “:0” is typically the first GPU and “:1”<BR>
> is typically the second GPU. You need to launch pvserver such that<BR>
> node 0 gets :0 for the DISPLAY env variable (or –display flag) and<BR>
> node 1 gets :1.<BR>
><BR>
> -Ken<BR>
><BR>
><BR>
> On 4/20/09 8:39 AM, "Omkaranathan" <<a href="omkaranathan@darshan3d.com">omkaranathan@darshan3d.com</a>> wrote:<BR>
><BR>
> Hi Utkarsh,<BR>
><BR>
> Thanks for the response.<BR>
> The suggested command line creates two seperate processes and<BR>
> devides the data properly, but I'm getting both the tiles in the<BR>
> same display(connected to first GPU).<BR>
><BR>
> -Om<BR>
><BR>
> Utkarsh Ayachit wrote:<BR>
><BR>
><BR>
> Yes, just run pvserver as follows:<BR>
><BR>
> mpirun -np 2 pvserver -tdx=2<BR>
><BR>
> Of course, you'll have to build your own MPI enabled ParaView (you<BR>
> cannot use the binaries provided by on www.paraview.org<BR>
> <<a href="http://www.paraview.org">http://www.paraview.org</a>> ). You'll have<BR>
> to ensure that the environment is set up correctly so that each<BR>
> pvserver processes gets the right display etc.<BR>
><BR>
> Utkarsh<BR>
><BR>
> On Mon, Apr 20, 2009 at 8:08 AM, Omkaranathan<BR>
> <<a href="omkaranathan@darshan3d.com">omkaranathan@darshan3d.com</a>><BR>
> <<a href="mailto:omkaranathan@darshan3d.com">mailto:omkaranathan@darshan3d.com</a>> wrote:<BR>
><BR>
><BR>
><BR>
> Hi,<BR>
><BR>
> Is it possible to achieve tiled display using a single<BR>
> dual-gpu machine<BR>
> which can drive 4 displays? I have read that the number of<BR>
> servers should<BR>
> atleast be equal to number of tiles.<BR>
> Can paraview be configued to have atleast a 2x1 tiled<BR>
> display with 2 GPUs?<BR>
><BR>
> Thanks<BR>
> Omkaranathan<BR>
><BR>
> _______________________________________________<BR>
> Powered by www.kitware.com <<a href="http://www.kitware.com">http://www.kitware.com</a>><BR>
><BR>
> Visit other Kitware open-source projects at<BR>
> <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><BR>
><BR>
> Please keep messages on-topic and check the ParaView Wiki at:<BR>
> <a href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a><BR>
><BR>
> Follow this link to subscribe/unsubscribe:<BR>
> <a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><BR>
><BR>
><BR>
><BR>
><BR>
><BR>
><BR>
><BR>
><BR>
><BR>
><BR>
><BR>
> **** Kenneth Moreland<BR>
> *** Sandia National Laboratories<BR>
> ***********<BR>
> *** *** *** email: <a href="kmorel@sandia.gov">kmorel@sandia.gov</a><BR>
> ** *** ** phone: (505) 844-8919<BR>
> *** web: <a href="http://www.cs.unm.edu/~kmorel">http://www.cs.unm.edu/~kmorel</a> <<a href="http://www.cs.unm.edu/%7Ekmorel">http://www.cs.unm.edu/%7Ekmorel</a>><BR>
><BR>
<BR>
<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT><FONT SIZE="1"><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:7.5pt'><BR>
**** Kenneth Moreland<BR>
*** Sandia National Laboratories<BR>
*********** <BR>
*** *** *** email: <a href="kmorel@sandia.gov">kmorel@sandia.gov</a><BR>
** *** ** phone: (505) 844-8919<BR>
*** web: <a href="http://www.cs.unm.edu/~kmorel">http://www.cs.unm.edu/~kmorel</a><BR>
</SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT>
</BODY>
</HTML>