Skip to content

Commit

Permalink
Add equivalent command to examples to show how the translation works
Browse files Browse the repository at this point in the history
  • Loading branch information
Robin Aggleton committed May 19, 2016
1 parent 1d3ddda commit e4a6311
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/simple_cmssw_job/simple_cmssw_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
"""
Example of how to call call a setup script to setup CMSSW then call a command.
This is the equivalent of running:
edmDumpEventContent root://xrootd.unl.edu//store/mc/RunIISpring15Digi74/QCD_Pt_30to50_TuneCUETP8M1_13TeV_pythia8/GEN-SIM-RAW/AVE_20_BX_25ns_tsg_MCRUN2_74_V7-v1/00000/00228B32-44F0-E411-9FC7-0025905C3DCE.root
setup_cmssw.sh runs some shell commands to setup a CMSSW release.
We use the setup_script arg in JobSet() to define a setup script to run before
executing commands.
Expand Down
4 changes: 4 additions & 0 deletions examples/simple_exe_job/simple_exe_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
"""
Example of how to use a user-compiled executable in a HTCondor job.
This is the equivalent of running:
./showsize
Before running you MUST compile the exe first:
gcc showsize.c -o showsize
Expand Down
6 changes: 6 additions & 0 deletions examples/simple_job/simple_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
"""
Simple set of jobs to show off how to use htcondenser.
This is the equivalent of running:
./simple_worker_script.sh simple_text.txt simple_results_0.txt Christmas Easter
./simple_worker_script.sh simple_text.txt simple_results_1.txt Christmas NYE
./simple_worker_script.sh simple_text.txt simple_results_2.txt Christmas Summer
This will create 3 jobs, each running a simple shell script with arguments
(simple_worker_script.sh), will also read an input file (simple_text.txt),
and produces an output file.
Expand Down
4 changes: 4 additions & 0 deletions examples/simple_root6_job/simple_root6_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
"""
Example of how to get ROOT6 to run a macro.
This is the equivalent of running:
root -l -q -b hist.C
Until I find a better way to setup a ROOT release agnostically
(ie outside of CMSSW), this will rely on you running inside a CMSSW environment.
i.e. `which root` should return a valid path. THis works becasue we pass the user's
Expand Down

0 comments on commit e4a6311

Please sign in to comment.