Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
ZJet Analysis
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
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
Cedric Verstege
ZJet Analysis
Commits
44d5316d
Commit
44d5316d
authored
4 weeks ago
by
Cedric Verstege
Browse files
Options
Downloads
Patches
Plain Diff
Move bundle store to EOS for better load balancing when many jobs are starting up at the same time
parent
71292657
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
analysis/tasks/Remote/BundleSoftware.py
+2
-2
2 additions, 2 deletions
analysis/tasks/Remote/BundleSoftware.py
law.cfg
+5
-0
5 additions, 0 deletions
law.cfg
luigi.cfg
+0
-7
0 additions, 7 deletions
luigi.cfg
with
7 additions
and
9 deletions
analysis/tasks/Remote/BundleSoftware.py
+
2
−
2
View file @
44d5316d
...
...
@@ -25,7 +25,7 @@ class BundleRepo(law.git.BundleGitRepository, law.tasks.TransferLocalFile):
def
single_output
(
self
):
repo_base
=
os
.
path
.
basename
(
self
.
get_repo_path
())
path
=
"
{}.{}.tgz
"
.
format
(
os
.
path
.
basename
(
repo_base
),
self
.
checksum
)
return
law
.
wlcg
.
WLCGFileTarget
(
os
.
path
.
join
(
"
bundles
"
,
path
),
fs
=
"
nrg_tasks
"
)
return
law
.
wlcg
.
WLCGFileTarget
(
os
.
path
.
join
(
"
bundles
"
,
path
),
fs
=
"
eos_store
"
)
def
get_file_pattern
(
self
):
path
=
os
.
path
.
expandvars
(
os
.
path
.
expanduser
(
self
.
single_output
().
abspath
))
...
...
@@ -69,7 +69,7 @@ class BundleCMSSW(law.cms.BundleCMSSW, law.tasks.TransferLocalFile):
path
=
"
{}.{}.tgz
"
.
format
(
os
.
path
.
basename
(
self
.
get_cmssw_path
()),
self
.
checksum
)
return
law
.
wlcg
.
WLCGFileTarget
(
os
.
path
.
join
(
"
bundles
"
,
path
),
fs
=
"
nrg_tasks
"
)
return
law
.
wlcg
.
WLCGFileTarget
(
os
.
path
.
join
(
"
bundles
"
,
path
),
fs
=
"
eos_store
"
)
def
get_file_pattern
(
self
):
path
=
os
.
path
.
expandvars
(
os
.
path
.
expanduser
(
self
.
single_output
().
abspath
))
...
...
This diff is collapsed.
Click to expand it.
law.cfg
+
5
−
0
View file @
44d5316d
...
...
@@ -28,6 +28,9 @@ base = root://cmsdcache-kit-disk.gridka.de//store/user/cverstege/
[nrg_tasks]
base
=
root://cmsdcache-kit-disk.gridka.de//store/user/cverstege/ZJet_analysis
[eos_store]
base
=
root://eosuser.cern.ch/eos/user/c/cversteg/store/
[job]
job_file_dir
=
$HOME/jobs
job_log_dir
=
$HOME/logs
...
...
@@ -44,3 +47,5 @@ local-scheduler = True
[luigi_worker]
cache_task_completion
=
True
[luigi_scheduler]
retry_count
=
1
This diff is collapsed.
Click to expand it.
luigi.cfg
+
0
−
7
View file @
44d5316d
[scheduler]
retry_count
=
1
disable_window_seconds
=
86400
[DEFAULT]
cmssw_path
=
${CMSSW_DIR}
data_period
=
2018ul
[CopyTest]
[BundleCMSSW]
...
...
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