Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
examples
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
delphi
examples
Commits
02893e08
Commit
02893e08
authored
5 years ago
by
Ulrich Schwickerath
Browse files
Options
Downloads
Patches
Plain Diff
review MC creation
parent
3fbc21ab
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+46
-5
46 additions, 5 deletions
README.md
with
46 additions
and
5 deletions
README.md
+
46
−
5
View file @
02893e08
...
...
@@ -40,8 +40,15 @@ A source code example of DELPHI tuned Pythia can be found in the [Pythia folder]
## [Creating Monte Carlo samples on the HTCondor batch farm at CERN](htcondor/create_mc.sub)
To run the same job on the HTCondor batch farm, you need to follow these steps
### Create a job directory
```
cd ~/
mkdir htcondor
cd htcondor
```
### Create a job script
First, w
rap the commands you need to run in a script, eg
W
rap the commands you need to run in a script, eg
```
#!/bin/bash
...
...
@@ -75,25 +82,59 @@ The above script will queue your job and ask for resources on CentOS7.
Ensure, that the configured directories exist. In the above example, do
```
cd htcondor
mkdir output
mkdir error
mkdir log
cp ../scripts/create_mc.sh .
```
### Submit the job to the system
Now you can submit your job. In the above example, run
```
kinit
condor_submit create_mc.sub
```
from the htcondor sub-directory.
from the htcondor folder. You should see something like:
```
Submitting job(s).
1 job(s) submitted to cluster 2490640.
```
The command
```
condor_q
```
will show you the status of your job.
will show you the status of your job, for example:
```
-- Schedd: bigbird13.cern.ch : <137.138.156.150:9618?... @ 11/01/19 13:33:06
OWNER BATCH_NAME SUBMITTED DONE RUN IDLE TOTAL JOB_IDS
schwicke CMD: create_mc.sh 11/1 13:32 _ _ 1 1 2490640.0
1 jobs; 0 completed, 0 removed, 1 idle, 0 running, 0 held, 0 suspended
```
Upon job completion, output files will be returned to the submission directory by default, eg:
```
~/htcondor]$ ls -ltr
total 44684
-rwxr-xr-x. 1 schwicke xx 200 1. Nov 13:28 create_mc.sh
-rw-r--r--. 1 schwicke xx 323 1. Nov 13:28 create_mc.sub
drwxr-xr-x. 2 schwicke xx 2048 1. Nov 13:32 output
drwxr-xr-x. 2 schwicke xx 2048 1. Nov 13:32 log
drwxr-xr-x. 2 schwicke xx 2048 1. Nov 13:32 error
-rw-r--r--. 1 schwicke xx 280 1. Nov 13:35 igtots.logn
-rw-r--r--. 1 schwicke xx 10571 1. Nov 13:35 delana.tit
-rwxr-xr-x. 1 schwicke xx 15289420 1. Nov 13:35 simrun36
-rw-r--r--. 1 schwicke xx 30613 1. Nov 13:35 survey.sumr
-rw-r--r--. 1 schwicke xx 11447 1. Nov 13:35 simlocal.title
-rw-r--r--. 1 schwicke xx 460800 1. Nov 13:35 simana.xsdst
-rw-r--r--. 1 schwicke xx 4531200 1. Nov 13:35 simana.fadsim
-rw-r--r--. 1 schwicke xx 14776 1. Nov 13:35 scanlist.sumr
-rw-r--r--. 1 schwicke xx 983040 1. Nov 13:35 simana.fadana
-rw-r--r--. 1 schwicke xx 1725 1. Nov 13:35 delsimrn.out88
-rwxr-xr-x. 1 schwicke xx 24409644 1. Nov 13:35 delana45.exe
```
## [Running an analysis job interactively](scripts/testjob.sh)
The following script can be run interactively or submitted to a batch farm with DELPHI setup
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment