On 7/12/2011 4:45 PM, Mohan, Ashwin wrote:
I noticed that the exact same code took 50% more time to run on OpenMPI
than Intel.
It would be good to know if that extra time is spent inside MPI calls or not. There is a discussion of how you might do this here: http://www.open-mpi.org/faq/?category=perftools You should probably start here and narrow down your investigation.

If the difference is the time spent inside MPI calls... um, that would be interesting.

If the difference is time spent outside MPI calls, how you are compiling (which serial compiler is being used, which optimization flags, etc.) could be the issue. Or possibly how processes are placed on a node ("paffinity" or "binding" issues).
Does the compiler flags have an effect on the efficiency of the
simulation.
Sure. Ideally, most of the time is spent in parallel computation and very little in MPI. For performance in such an "ideal" case, any "decent" MPI implementation (OMPI and Intel hopefully among them) should do just fine.
Will including MPICH2 increase efficiency in running simulations using
OpenMPI?
MPICH2 and OMPI are MPI implementations. You choose one or the other (or other options... e.g., Intel).

Reply via email to