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: Brock Palen (brockp_at_[hidden])
Date: 2009-10-26 15:35:41

On Oct 26, 2009, at 3:29 PM, Jeff Squyres wrote:

> 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:

Interesting, we were just looking at the memchecker functionality and
don't want to double the number of MPI builds we offer. In the Debugg
FAQ section 10

It says you need --enable-debug to use --enable-memchecker, is this
really the case then?

> 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
> jsquyres_at_[hidden]
> _______________________________________________
> users mailing list
> users_at_[hidden]