[MPICH] Building pman_vis

David Ashton ashton at mcs.anl.gov
Tue Nov 29 08:59:08 CST 2005


Peter Raeth,

The pmandel examples consist of two parts, the visualizer and the compute
engine.  There is one visualizer, pmandel_vis.exe, and it works will all the
engines.  The engines are pmandel.exe, pmandel_fence.exe,
pmandel_service.exe, pmandel_spawn.exe and pmandel_spaserv.exe.  The engine
was written several times using the standard MPI-1 methods and several
versions of the new MPI-2 functions.

The way it works is that the visualizer and the compute engine are started
separately.  The compute engine is the parallel part of the code so you
would start it with multiple processes on multiple nodes like any one of
these examples:

mpiexec -n 3 pmandel.exe
mpiexec -n 3 pmandel_fence.exe
mpiexec -n 3 pmandel_service.exe
mpiexec -n 1 pmandel_spawn.exe
mpiexec -n 1 pmandel_spaserv.exe

Then you start the pmandel_vis.exe separately as a single process, you don't
even have to run it with mpiexec.

Then connect to the engine from the visualizer's file::connect menu.  Copy
the port output from the compute engine into the connect menu and click
connect.  The pmandel.exe, pmandel_fence.exe and pmandel_spawn.exe engines
use a TCP port to connect to the visualizer.  The pmandel_service and
pmandel_spaserv.exe engines use an MPI-2 port to connect to the visualizer.
The two spawn versions must be started by mpiexec with only one process and
they spawn more processes to do the work.

-David Ashton

-----Original Message-----
From: peter_raeth at juno.com [mailto:peter_raeth at juno.com] 
Sent: Tuesday, November 29, 2005 6:20 AM
To: peter_raeth at juno.com
Cc: ashton at mcs.anl.gov; peter_raeth at juno.com; mpich-discuss at mcs.anl.gov
Subject: RE: [MPICH] Building pman_vis

After installing the latest version of MPICH2, it was possible to rebuild
pman_vis and get it to run from VS'  !   button. A console came up and its
buttons operated as they apparently should.

However, using mpiexec for one or two nodes yields a hung process. No
console appears. There must be something still that I am missing.

To run a two-node version, I used the following command:

   C:\Program_Files\MPICH2\bin\mpiexec -pwdfile Options.txt -exitcodes
-hosts 2 familycomputer raethserver pman_vis

Options.txt contains:

   \Peter Raeth
   wickedale

The two nodes are connected via a cross-over cable and the firewall is
turned off on both machines. (There are no outside connections.)

This process works just fine for cpi.

As always, thank you very much for your insights.






More information about the mpich-discuss mailing list