[mpich-discuss] Running problem with MPICH2

Anthony Chan chan at mcs.anl.gov
Fri May 27 09:37:31 CDT 2011


count.c is a serial program, so it won't use MPI's multiprocessing support
You need to make count.c as MPI program. Recent MPICH2
uses hydra as default process manager, so you don't need to use
mpd or mpdboot,...  See 

http://wiki.mcs.anl.gov/mpich2/index.php/Using_the_Hydra_Process_Manager

A.Chan

----- Original Message -----
> Hi,
> 
> I have tried to installed recent version of MPICH2 in Scientific Linux
> 6.
> The machine contains 2 Xeon X5650 processors (each having 6 cores).
> Apparently I was able to install MPICH2 without any problem (thanks
> for the
> wonderful installation guide). "which mpiexec" and "which mpicc" show
> the
> correct PATH.
> 
> mpiexec -n 2 ./count.out
> 
> while running this homemade small counting program (count.c attached
> here),
> system monitor shows only one core (not even one processor) is taking
> the
> entire load. count.c was compiled using gcc (not mpigcc).
> 
> Also, I found that the commands like mpd or mpdboot or mpdtrace
> returns
> "Command not found".
> 
> I am attaching here the c.txt, m.txt (as advised in the guides) also
> the
> small counting program (count.c).
> 
> It will be of great help if anyone can show me the root of the problem
> and
> perhaps the solution.
> 
> Regards,
> 
> C. B. Basak
> 
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss


More information about the mpich-discuss mailing list