[mpich-discuss] (no subject)

Reuti reuti at staff.uni-marburg.de
Mon Apr 2 05:19:41 CDT 2012


Hi,

Am 02.04.2012 um 10:46 schrieb leifengstu:

> professor,
> I get some trouble in execute programs with mpiexec. when i execute: mpiexec -n 2  program.  Now, it is strange that the two processors do not execute on only one program, but just execute the program once seperately.
> Is there something wrong with my MPICH?

this is the normal behavior when you using MPI. It will not magically parallelize your serial application, but you have to use MPI statements to implement the parallelization on your own. Each process with then do the work you split to it.

-- Reuti


> Thank you .
> This is my first time to use linux to finish my lab work. So i know little about linux.
> 冯雷,
> 汕头大学医学院
> 广东省汕头市新陵路22号
> 13592899729
> _______________________________________________
> mpich-discuss mailing list     mpich-discuss at mcs.anl.gov
> To manage subscription options or unsubscribe:
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss



More information about the mpich-discuss mailing list