Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
LArSoft at Nevis | ||||||||
Line: 54 to 54 | ||||||||
Debugging | ||||||||
Changed: | ||||||||
< < | The default versions of the program libraries are compiled without the debugger, so the programs will run faster. If you want to debug![]() -q debug option; e.g., | |||||||
> > | As of Dec-2013, the default is to compile all the programs with the debugger, so you can use tools to debug![]() -q debug option; e.g., | |||||||
source /a/share/westside/seligman/microboone/LArSoft/setup/setup_larsoft_nevis.sh -q debug | ||||||||
Line: 67 to 67 | ||||||||
source /a/share/westside/seligman/microboone/LArSoft/setup/setup_larsoft_nevis.sh -q debug -r S2013.10.21 | ||||||||
Added: | ||||||||
> > | Production runsIf you're confident your code works, you probably want to compile your programs with compiler optimization turned on. To do this, use theprof qualifier; e.g.,
source /a/share/westside/seligman/microboone/LArSoft/setup/setup_larsoft_nevis.sh -q profAlways do a test run of your program with prof before submitting a large set of batch jobs. Occasionally there are issues that show up under optimization that don't show up in the debug versions. | |||||||
Make life easierYou may want to put an alias to the appropriate set-up commands in your .myprofile or .mycshrc file; for example, if you look in ~seligman/.myprofile, you'll see the following: |