[mpich-discuss] MPICH on Single Machine

Pavan Balaji balaji at mcs.anl.gov
Wed Mar 25 15:15:50 CDT 2009


> I need to get the machine a name so it isnt localhost
> I start an mpd with no host name or node count
> I fire up the job with an mpiexec -n 16

Yup, this should work. Just do:

  $ mpd &

  $ mpiexec -n 16 ./my_app

If you use mpd without mpdboot, you don't need to worry about what your 
hostname is (it'll take whatever your hostname command returns).


> Should I be using gforker?? If so how is that done?

If you want to, you can use gforker as well. You'll need to reconfigure 
mpich2 for that using --with-pm=gforker for that.

  -- Pavan

-- 
Pavan Balaji
http://www.mcs.anl.gov/~balaji


More information about the mpich-discuss mailing list