Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
law-analysis
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
qcd-public
law-analysis
Commits
5fec96a5
Commit
5fec96a5
authored
11 months ago
by
Klaus Rabbertz
Browse files
Options
Downloads
Patches
Plain Diff
Update paths to new installation in /cvmfs/etp.kit.edu
parent
4dcc9cff
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
analysis/bootstrap_NNLOJET_modules2_rev6591_bridge-1.0.1_202406.sh
+48
-0
48 additions, 0 deletions
...bootstrap_NNLOJET_modules2_rev6591_bridge-1.0.1_202406.sh
luigi.cfg.template
+1
-1
1 addition, 1 deletion
luigi.cfg.template
setup_law_c7_v2.sh
+3
-4
3 additions, 4 deletions
setup_law_c7_v2.sh
with
52 additions
and
5 deletions
analysis/bootstrap_NNLOJET_modules2_rev6591_bridge-1.0.1_202406.sh
0 → 100644
+
48
−
0
View file @
5fec96a5
#!/usr/bin/env bash
# Bootstrap file for batch jobs that is sent with all jobs and
# automatically called by the law remote job wrapper script to find the
# setup.sh file of this example which sets up software and some environment
# variables. The "{{analysis_path}}" variable is defined in the workflow
# base tasks in analysis/framework.py.
action
()
{
# law + luigi env variables
local
base
=
"
$(
cd
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
&&
pwd
)
"
export
LAW_HOME
=
"
$base
/.law"
export
LAW_CONFIG_FILE
=
"
$base
/law.cfg"
export
LUIGI_CONFIG_PATH
=
"
$base
/luigi.cfg"
export
ANALYSIS_PATH
=
"
$base
"
export
ANALYSIS_DATA_PATH
=
"
$ANALYSIS_PATH
/data"
# luigi + law
export
PATH
=
"
$base
/law/bin:
$base
/luigi/bin:
$PATH
"
export
PYTHONPATH
=
"
$base
/law:
$base
/luigi:
$base
/six:
$base
/python-dateutil-2.8.2:
$base
:
$PYTHONPATH
"
# lcg software stack with python3 and gcc11 (use the same one as for cvmfs install of NNLOJET & APPLfast)
source
/cvmfs/sft.cern.ch/lcg/views/LCG_105/x86_64-centos7-gcc11-opt/setup.sh
# grid storage interface with gfal2, if required
# C7 with python3
source
/cvmfs/grid.cern.ch/centos7-ui-200122/etc/profile.d/setup-c7-ui-python3-example.sh
# NNLOJET + APPLfast (cvmfs)
applfastpath
=
"/cvmfs/etp.kit.edu/fastnnlo-3034_bridge-1.0.1_202406_lcg105-c7-gcc11"
#applfastpath="/eos/theory/project/applfast/local"
# LCG not needed here since source'd already above!
# NNLOJET & APPLfast
source
$applfastpath
/src/fnlosrc_source.sh
# Rivet
source
$applfastpath
/src/rivetenv.sh
# If fastNLO version of grid install in /cvmfs/etp.kit.edu not new enough for evaluation,
# then use local install for plotting etc, but keep scripts of NNLOJET in PATH
#export PATH="$applfastpath/src/NNLOJET_rev6591/driver/bin:$PATH"
#export PYTHONPATH="$PWD:$PYTHONPATH" ???
tar
-xzf
analysis
*
.tar.gz
rm
analysis
*
.tar.gz
}
action
This diff is collapsed.
Click to expand it.
luigi.cfg.template
+
1
−
1
View file @
5fec96a5
...
@@ -91,7 +91,7 @@ only_missing = True
...
@@ -91,7 +91,7 @@ only_missing = True
retries = 2
retries = 2
# Bootstrap file to be sourced at beginning of htcondor jobs
# Bootstrap file to be sourced at beginning of htcondor jobs
bootstrap_file = bootstrap_NNLOJET_modules2_rev6591_bridge-1.0.
0
_202
309
.sh
bootstrap_file = bootstrap_NNLOJET_modules2_rev6591_bridge-1.0.
1
_202
406
.sh
# Local directories, defaults are 'grids', 'plots', 'tags', 'warmups'
# Local directories, defaults are 'grids', 'plots', 'tags', 'warmups'
# - unpacking and merging of grids in local directories $merge_dir/$name/[$channel|Combined]
# - unpacking and merging of grids in local directories $merge_dir/$name/[$channel|Combined]
...
...
This diff is collapsed.
Click to expand it.
setup_law_c7_v2.sh
+
3
−
4
View file @
5fec96a5
...
@@ -36,7 +36,7 @@ action() {
...
@@ -36,7 +36,7 @@ action() {
export
PATH
=
"
$gitpath
/tools:
$gitpath
/tools/plotting:
$PATH
"
export
PATH
=
"
$gitpath
/tools:
$gitpath
/tools/plotting:
$PATH
"
# NNLOJET + APPLfast (cvmfs)
# NNLOJET + APPLfast (cvmfs)
applfastpath
=
"/cvmfs/etp.kit.edu/fastnnlo-30
00
_bridge-1.0.
0
_202
309
_lcg10
2
-c7-gcc11"
applfastpath
=
"/cvmfs/etp.kit.edu/fastnnlo-30
34
_bridge-1.0.
1
_202
406
_lcg10
5
-c7-gcc11"
#applfastpath="/eos/theory/project/applfast/local"
#applfastpath="/eos/theory/project/applfast/local"
# LCG not needed here since source'd already above!
# LCG not needed here since source'd already above!
# NNLOJET & APPLfast
# NNLOJET & APPLfast
...
@@ -56,10 +56,9 @@ action() {
...
@@ -56,10 +56,9 @@ action() {
# --> Either use your more modern Desktop PC e.g. with Ubuntu and properly set PATH and PYTHONPATH
# --> Either use your more modern Desktop PC e.g. with Ubuntu and properly set PATH and PYTHONPATH
# --> or use install with lcg software stack from /cvmfs/sft.cern.ch/lcg/views
# --> or use install with lcg software stack from /cvmfs/sft.cern.ch/lcg/views
# Here, lcg environment and PATH, PYTHONPATH are set from local installation file
# Here, lcg environment and PATH, PYTHONPATH are set from local installation file
#fnlopath="/
storage/9
/rabbertz/local.lcg10
2
-c
8
"
#fnlopath="/
work
/rabbertz/local.lcg10
5
-c
7
"
#fnlopath="/eos/theory/project/applfast/local.py3"
#fnlopath="/eos/theory/project/applfast/local.py3"
#fnlopath="/work/rabbertz/local.lcg102-c7"
#source $fnlopath/src/lcg105_source.sh # LCG software stack
#source $fnlopath/src/lcg102_source.sh # LCG software stack
#source $fnlopath/src/fnlosrc_source.sh # fastNLO
#source $fnlopath/src/fnlosrc_source.sh # fastNLO
#source $fnlopath/src/rivetenv.sh # Rivet
#source $fnlopath/src/rivetenv.sh # Rivet
...
...
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