Message: Re: debug installation -> non-debug user code Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

More Re: debug installation -> non-debug user code 

Forum: Installation and Configuration
Re: Question debug installation -> non-debug user code (Valery Taranenko)
Date: 17 Aug, 2009
From: Gabriele Cosmo <Gabriele Cosmo>

Hi Valery,

> I need to have a debug G4 installation in order to debug my user codes.
> Eventually, once code runs ok, I need to build it w/o debugging
> overhead. Can I do it using the same debug G4 installation or I should
> have a parallel non-debug version?

it is definitely preferable to have two separate builds (on a modern
platform, it does not take more than 20 mins to build all Geant4 libs
in sequential mode), in order to achieve the best performance and
reliability.
On Linux (gcc compiler) you could also build the libraries using the
'hybrid' mode "-O -g" provided by gcc (set the G4OPTDEBUG flag in your
environment before building the libraries), but would suggest to use it
only to help you debugging optimised output...

Cheers, Gabriele

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Ok: Re: debug installation -> non-debug user code   (Valery Taranenko - 17 Aug, 2009)
(_ More: Re: debug installation -> non-debug user code   (Gabriele Cosmo - 18 Aug, 2009)
(_ More: Re: debug installation -> non-debug user code   (Valery Taranenko - 18 Aug, 2009)
 Add Message Add Message
to: "Re: debug installation -> non-debug user code"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]