Difference: LArSoftAtNevisSRT (31 vs. 32)

Revision 322013-12-10 - WilliamSeligman

Line: 1 to 1
META TOPICPARENT name="WilliamSeligman"

LArSoft at Nevis

Line: 54 to 54


The default versions of the program libraries are compiled without the debugger, so the programs will run faster. If you want to debug your code, use the -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 your code. If you want to set this explicitly (in case the default version changes), use the -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

Production runs

If you're confident your code works, you probably want to compile your programs with compiler optimization turned on. To do this, use the prof qualifier; e.g.,

source /a/share/westside/seligman/microboone/LArSoft/setup/setup_larsoft_nevis.sh -q prof

Always 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 easier

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

This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback