TWiki> NA62 Web>NA62>NA62MonteCarlo (revision 3)EditAttach

NA62 Monte Carlo Simulations

This wiki describes how to set up and distribute the NA62 Monte Carlo simulation code.

Software

Code compilation

  • Unpack tarball to NA62MC
  • Fix libs path problems in GNUMakefile-s (Generator/ and Beam/)
  • Make changes to env.sh: source 'offline' environment; clear XAWLIBS variable
  • Rearrange paths (move system paths after NA62-specific paths)
  • Type 'make' and be patient

Code distribution

  • Create tarballs for geant4, root, X11 and sw (CreateTarballs.sh)
  • Run special job (with an SGM Admin role) to wget and unpack these tarballs on sites (InstallSoftware.sh)
  • Run test job

Job submission

  • Run parameters given in the StandardRun.mac file: run number, number of events, random seed, root output file name
  • Job environment parameters are set by sourcing the na62jobenv.sh script created by InstallSoftware.sh
  • The .mac is modified using sed on the worker node to modify paths to LAV matrix files, which are installed in the software area by InstallSoftware.sh
  • The actual job script is attached (needs editing and streamlining)

Bulk job submission (job splitting)

  1. Create N .mac files using the template
  2. Create one Ganga script including the list of N .mac files
  3. Run this script via Ganga

Problems encountered

  • DPM does not work properly
Topic attachments
I Attachment History Action Size Date Who Comment
Unix shell scriptsh CreateTarballs.sh r1 manage 0.1 K 2012-05-01 - 11:15 DanProtopopescu This is run on the Software Manager's UI machine to create the software tarballs for distribution
Unix shell scriptsh InstallSoftware.sh r1 manage 1.2 K 2012-05-01 - 11:06 DanProtopopescu Script to install NA62 MC software on a given site
PNGpng JobSubmissionComponents.png r1 manage 83.2 K 2012-05-01 - 13:37 DanProtopopescu Job submission components diagram
Compressed Zip archivezip NA62MC.tar.zip r1 manage 16523.0 K 2012-04-05 - 10:07 DanProtopopescu Test tarball from Antonino Sergi
Texttxt StandardRun_template.mac.txt r1 manage 15.5 K 2012-05-01 - 10:36 DanProtopopescu StandardRun.mac template
Texttxt ganga-script.txt r2 r1 manage 0.6 K 2012-05-01 - 13:16 DanProtopopescu Ganga script for multiple job submission: na62job.gpy
Texttxt jobscript.sh.txt r1 manage 4.7 K 2012-05-01 - 11:22 DanProtopopescu Job script
Edit | Attach | Watch | Print version | History: r57 | r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r3 - 2012-05-01 - DanProtopopescu
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback