Tips on running on the NAF / Condor

  • For NAF/Condor jobs the JobBatchName = <meaningful name here> option or the CLI flag condor_submit -batch-name <meaningful name here> gives your jobs proper names - instead of just a job ID like e.g. 1234567.8

Tips on Running Valgrind

(which are shamelessly stolen without permission from Kurt's Twiki page)

Here is a command that worked:

valgrind --leak-check=yes --trace-children=yes --undef-value-errors=no --log-file="the_valgrind_output.txt" runJob.py --Input mc16_13TeV.345961.PowhegPythia8EvtGen_NNLOPS_nnlo_30_ggH125_gamstargam.deriv.DAOD_HIGG1D2.e6740_s3126_r9364_p3877 --Alg HiggsGamGamStarCutflowAndMxAOD --Config HGamGamStar/HggStarMxAOD.config -n 1000 --GridDirect | tee -a valgrind.log

Some guidelines:

  • --leak-check=yes (to check for leaks)
  • --trace-children=yes (to make the leaks traceable through the code)
  • --undef-value-errors=no - A lot of output is from "Conditional jump or move depends on uninitialised value(s)" errors. These seem to be because you don't initialize some class when you use it, e.g. return (tlv1 + tlv2).M();. Here, (tlv1 + tlv2) is a new tlv that is uninitialized, but typically this code will not cause problems. Use this option to suppress these errors.
  • --log-file="the_valgrind_output.txt" (this one is key: the output goes to stderr, which is hard to pipe correctly. Just use the --log-file option instead.)
  • Then after you specify the options, you can write the command verbatim.
Another tip: go straight for the "::execute()" printouts, since the items inside the execute loop will add up much more than the initialize calls.

My Links

My Personal Preferences

  • Show tool-tip topic info on mouse-over of WikiWord links, on or off:
    • Set LINKTOOLTIPINFO = off

  • Preference for the editor, default is the WYSIWYG editor. The options are raw, wysiwyg:
    • Set EDITMETHOD = wysiwyg

  • More preferences TWiki has system wide preferences settings defined in TWikiPreferences. You can customize preferences settings to your needs: To overload a system setting, (1) do a "raw view" on TWikiPreferences, (2) copy a Set VARIABLE = value bullet, (3) do a "raw edit" of your user profile page, (4) add the bullet to the bullet list above, and (5) customize the value as needed. Make sure the settings render as real bullets (in "raw edit", a bullet requires 3 or 6 spaces before the asterisk).

Related Topics

UserForm
First Name Nils
Last Name Gillwald
Titles

Email

Telephone

Mobile

Skype ID

Department

Organization

URL

Location

Region

Country

Status Update

Edit personal data
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2020-07-16 - NilsGillwald
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

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