[torqueusers] Changing --with-debug to the default
knielson at adaptivecomputing.com
Tue Jul 31 07:55:08 MDT 2012
On Tue, Jul 31, 2012 at 12:34 AM, Christopher Samuel
<samuel at unimelb.edu.au>wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> On 31/07/12 09:26, David Beer wrote:
> > Our support team has asked us repeatedly about making --with-debug
> > the default for TORQUE, making it so it can be disabled using
> > --without-debug, but obviously being on by default. Our support
> > team wants this so that when a site reports a core dump, the core
> > has information in it and the admin doesn't have to recompile and
> > try to reproduce in order to get enough information to debug the
> > crash. What are your thoughts on making this change?
> Never tried it I'm afraid - does it just enable the "DEBUG"
> preprocessor symbol?
> If so then that might have some unexpected effects, a quick grep shows
> that will result in extra output in pbsdsh and could potentially
> conflict in the DRMAA code (which has its own "DEBUG" symbol).
--enable-debug will activate the DEBUG macros. --with-debug simply compiles
TORQUE using the -g option in CFLAGS. It does not create any output.
> I can't check as the 4.1-fixes branch currently won't build on Ubuntu,
> the check for the libxml2 dev package fails due to an unrelated problem.
> - --
> Christopher Samuel Senior Systems Administrator
> VLSCI - Victorian Life Sciences Computation Initiative
> Email: samuel at unimelb.edu.au Phone: +61 (0)3 903 55545
> http://www.vlsci.org.au/ http://twitter.com/vlsci
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> -----END PGP SIGNATURE-----
> torqueusers mailing list
> torqueusers at supercluster.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the torqueusers