Discussion:
parallel rendering with mpi
(too old to reply)
s***@gmail.com
2008-12-15 11:27:54 UTC
Permalink
Hi all
I'm developping a c++ graphic rendering program using vtk library and
mpi (mpich2 on windows xp)
In my application different render window are created, one for each
processes (running on different PC)
Each window render part of the scene graph.
But I'have noticed that starting the program by visual studio - build
- debug, it run well (all the PC's windows are visible), visual studio
debugging is setted like MPI CLUSTER DEBUGGING and it's use MPISHIM

Instead, launching the program from "dos command line":

mpiexec -hosts 2 proc1 1 proc2 2 -localroot
file.exe ...arg

I'am able to visualize only the window in the root process (pc where I
start mpiexec),and that's if I use -localroot (without that keyword no
one windows is showed)..while all the other windows render only in
offscreen.

why do the two methods show different behaviour?

May be it depends by windows restriction? I enter using tha same
administrator account on each cluster pc.

Thanks
Silac
Georg Bisseling
2008-12-16 11:04:02 UTC
Permalink
My guess is that the debugger starts all processes on your local machine.
Hence you can see all windows.

You can easily check this in the task manager.

As far as I know no version of Windows does allow you to paint in remote
windows.

You will have to combine the render output of all processes anyway.
So you maybe should tackle that problem right now.
--
This signature intentionally left almost blank.
http://www.this-page-intentionally-left-blank.org/
s***@gmail.com
2008-12-16 13:49:34 UTC
Permalink
Thank you for your reply.
Post by Georg Bisseling
My guess is that the debugger starts all processes on your local machine.
Hence you can see all windows.
You can easily check this in the task manager.
No I don't think so, Task Manager shows me one process on each machine
also in debugging mode.
However to make run debug, I have to start "VISUAL STUDIO REMOTE
DEBUGGING MONITOR" on each PC before.
Post by Georg Bisseling
As far as I know no version of Windows does allow you to paint in remote
windows.
That should be possible using LINUX?
Post by Georg Bisseling
You will have to combine the render output of all processes anyway.
So you maybe should tackle that problem right now.
--
ok
Post by Georg Bisseling
This signature intentionally left almost blank.http://www.this-page-intentionally-left-blank.org/
Georg Bisseling
2008-12-16 15:05:49 UTC
Permalink
Post by s***@gmail.com
That should be possible using LINUX?
Well, infact this is one of the strong features of the X11 protocol.

The mpe package that came with MPICH 1.2.x (and that may come with
MPICH2 too) implements remote rendering.
--
This signature intentionally left almost blank.
http://www.this-page-intentionally-left-blank.org/
Loading...