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".