Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] memchecker overhead?
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2009-10-26 15:29:16

On Oct 26, 2009, at 3:23 PM, Brock Palen wrote:

> Is there a large overhead for
> --enable-debug --enable-memchecker?

--enable-debug, yes, there is a pretty large penalty. --enable-debug
is really only intended for Open MPI developers. If you just want an
OMPI that was compiled with debugging symbols, then just add -g to the
CFLAGS/CXXFLAGS in OMPI's configure, perhaps like this:

   shell$ ./configure CFLAGS=-g CXXFLAGS=-g ...

Using --enable-debug adds in a whole pile of developer-level run-time
checking and whatnot. You probably don't want that on production runs.

I'll let the HLRS guys comment on the cost of --enable-memchecker; I
suspect the answer will be "it depends".

Jeff Squyres