[mpich-discuss] Single slow mpi process

Bob Ilgner bobilgner at gmail.com
Mon Aug 26 05:29:00 CDT 2013

Dear all,

When adding #include "mpi.h" and building a single process with mpi, I find
that the single process mpi job runs very much slower than a single thread
process built with gcc. i.e. 150 to 200% slower, and run as a standalone

That is, for example

gcc mycode.c -o mycode.exe

will run in 100 seconds.

Adding #include "mpi.h" to mycode.c

mpicc mycode.c -o mycode.exe
mpirun -n 1 mycode.exe

will take 180 to 400 seconds to run.

This varies from system to system on intel, Sparc or IBM based systems.

Can anyone explain this offhand ? Has anyone else experienced this ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20130826/3472199e/attachment.html>

More information about the discuss mailing list