Using The Batch Farm: Technische Universität München
Using The Batch Farm: Technische Universität München
Using The Batch Farm: Technische Universität München
A) transfer.ktas.ph.tum.de
B) /home/www/papers/computing
Overview
• Infrastructure
• Parallel vs single job computing
• Basic commands
• How to …
… arrange a job
… send a job
… monitor my stuff
• Please don’t…
Infrastructure
Problem
• 1000 files with 250 events/file
Solution
• Create code locally
• Analyse 1 file per job
• Create 1 output file per job (Plots, Ntuples…)
• Send 1000 jobs to farm
• Merge plots/ntuples afterwards
Example: Single job
Fitting of a peak in plot
Problem
• Fit peaks in 1 or 2 plots
Solution
• Create a macro / program to fit
• Do it locally and check the output
• Input:
– File to analyse? (Filelist?)
– Parameters?
• Output:
– Different names/ directories
• Compile before sending to
farm
• How much CPUtime / RAM
• Do I need temporary space?
• Do I need access to /scratch
• Check before farm
Example: Random Numbers
Problem
• Create file with 10 different lines and random
numbers
• Must be scalable to farm
Solution
• Input: the name of the output file has to be given
• Compile
• “Full program”
– Example.cc
– Makefile
→ This generates a executable program
Example: Random Numbers
Example: Random Numbers
done
How to… monitor my stuff