diff --git a/analysis/bootstrap_NNLOJET_modules2_rev6591_bridge-0.0.46-WiP_202307.sh b/analysis/bootstrap_NNLOJET_modules2_rev6591_bridge-0.0.46-WiP_202307.sh deleted file mode 100644 index 329692bd58e4809416b623b9e62ebd8917f95df3..0000000000000000000000000000000000000000 --- a/analysis/bootstrap_NNLOJET_modules2_rev6591_bridge-0.0.46-WiP_202307.sh +++ /dev/null @@ -1,48 +0,0 @@ -#!/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_102/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-2888_bridge-0.0.46-WiP_202307_lcg102-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 diff --git a/setup_law_c7.sh b/setup_law_c7.sh deleted file mode 100644 index 788d98b896049ee97871fa3a75fdf903f405900f..0000000000000000000000000000000000000000 --- a/setup_law_c7.sh +++ /dev/null @@ -1,61 +0,0 @@ -#!/usr/bin/env bash - -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/enum34-1.1.10:$base/python-dateutil-2.8.2:$base:$PYTHONPATH" - - # grid storage, if required - # gfal2, not required for plotting - # SLC6 - # source /cvmfs/grid.cern.ch/emi3ui-latest/etc/profile.d/setup-ui-example.sh - # C7 - # source /cvmfs/grid.cern.ch/centos7-ui-v03/etc/profile.d/setup-c7-ui-example.sh - source /cvmfs/grid.cern.ch/umd-c7ui-latest/etc/profile.d/setup-c7-ui-example.sh - # - # Proxy location on afs required by lxplus if using grid storage - # export X509_USER_PROXY=/afs/cern.ch/user/k/krabbert/tmp/x509up_u7747 - - # fastNLO tools (perl and python scripts) - # Required to merge fastwarm results or for plotting (needs python3, matplotlib3, numpy, scipy) - # Add local paths to git checkout, e.g. - #gitpath="/storage/9/rabbertz/git/fastNLO" - #gitpath="/eos/theory/project/applfast/git/fastNLO" - #export PATH="$gitpath/tools:$gitpath/tools/plotting:$PATH" - - # fastNLO installation (local) - # If grid install is too old or uses fastNLO extension compiled with python2 - # !!! Does not work on systems of ETP portals or lxplus with Centos7! - # --> 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 - # Here, lcg environment and PATH, PYTHONPATH are set from local installation file - #fnlopath="/storage/9/rabbertz/local.lcg101.py3" - #fnlopath="/eos/theory/project/applfast/local.py3" - #source $fnlopath/src/lcg_source.sh # LCG software stack - #source $fnlopath/src/fnlosrc_source.sh # fastNLO - #source $fnlopath/src/rivetenv.sh # Rivet - - # NNLOJET + APPLfast - # Uses grid install; does not use fastNLO extension compiled with python2 - applfastpath="/cvmfs/etp.kit.edu/fastnnlo-bridge-0.0.46" - #applfastpath="/eos/theory/project/applfast/local" - source $applfastpath/src/fnlosrc_source_NNLOJET_rev5918.sh - # If fastNLO version of grid install in /cvmfs/etp.kit.edu not new enough for evaluation, - # then use local install as for plotting, but keep scripts of NNLOJET in PATH - #export PATH="$applfastpath/src/NNLOJET_rev5918/driver/bin:$PATH" - - # Output path for local production output on lxplus; not required when using grid storage - #export ANALYSIS_OUTPUT_PATH="$applfastpath/output" - - source "$( law completion )" -} -action diff --git a/setup_law_plotting.sh b/setup_law_plotting.sh deleted file mode 100644 index 435e408d9ca70b8f557bdefe38d65d1bde852957..0000000000000000000000000000000000000000 --- a/setup_law_plotting.sh +++ /dev/null @@ -1,61 +0,0 @@ -#!/usr/bin/env bash - -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" - - # grid storage, if required - # gfal2, not required for plotting - # SLC6 - # source /cvmfs/grid.cern.ch/emi3ui-latest/etc/profile.d/setup-ui-example.sh - # C7 - # source /cvmfs/grid.cern.ch/centos7-ui-v03/etc/profile.d/setup-c7-ui-example.sh - # source /cvmfs/grid.cern.ch/umd-c7ui-latest/etc/profile.d/setup-c7-ui-example.sh - # - # Proxy location on afs required by lxplus if using grid storage - # export X509_USER_PROXY=/afs/cern.ch/user/k/krabbert/tmp/x509up_u7747 - - # fastNLO tools (perl and python scripts) - # Required to merge fastwarm results or for plotting (needs python3, matplotlib3, numpy, scipy) - # Add local paths to git checkout, e.g. - gitpath="/storage/9/rabbertz/git/fastNLO" - #gitpath="/eos/theory/project/applfast/git/fastNLO" - export PATH="$gitpath/tools:$gitpath/tools/plotting:$PATH" - - # fastNLO installation (local) - # If grid install is too old or uses fastNLO extension compiled with python2 - # !!! Does not work on systems of ETP portals or lxplus with Centos7! - # --> 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 - # Here, lcg environment and PATH, PYTHONPATH are set from local installation file - fnlopath="/storage/9/rabbertz/local.lcg101.py3" - #fnlopath="/eos/theory/project/applfast/local.py3" - source $fnlopath/src/lcg_source.sh # LCG software stack - source $fnlopath/src/fnlosrc_source.sh # fastNLO - source $fnlopath/src/rivetenv.sh # Rivet - - # NNLOJET + APPLfast - # Uses grid install; does not use fastNLO extension compiled with python2 - applfastpath="/cvmfs/etp.kit.edu/fastnnlo-bridge-0.0.46" - #applfastpath="/eos/theory/project/applfast/local" - # source $applfastpath/src/fnlosrc_source_NNLOJET_rev5918.sh - # If fastNLO version of grid install in /cvmfs/etp.kit.edu not new enough for evaluation, - # then use local install as for plotting, but keep scripts of NNLOJET in PATH - export PATH="$applfastpath/src/NNLOJET_rev5918/driver/bin:$PATH" - - # Output path for local production output on lxplus; not required when using grid storage - #export ANALYSIS_OUTPUT_PATH="$applfastpath/output" - - source "$( law completion )" -} -action diff --git a/setup_law_rivet.sh b/setup_law_rivet.sh deleted file mode 100644 index 7ab28592bf901fce6de4dd17016b114996fba76c..0000000000000000000000000000000000000000 --- a/setup_law_rivet.sh +++ /dev/null @@ -1,54 +0,0 @@ -#!/usr/bin/env bash - -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/enum34-1.1.10:$base/python-dateutil-2.8.2:$base:$PYTHONPATH" - - # fastNLO tools (mostly perl scripts) - # Required to merge fastwarm results for example - # Add local user path of git checkout, e.g. - export PATH="$HOME/git/fastNLO/tools:$PATH" - - # fastNLO plotting (needs python3, matplotlib3, numpy, scipy) - # Required to produce any plots - # --> Does not work on ETP portals with Centos7 like bms1,3! - # --> Use your more modern Desktop PC e.g. with Ubuntu and properly set PATH and PYTHONPATH - # Rivet only works with python2 - # Add local user paths for fastNLO plottings with python3 usage, e.g. - # export PATH="$HOME/git/fastNLO/tools/plotting:$HOME/local/bin:$PATH" - export PATH="$HOME/git/fastNLO/tools/plotting:$HOME/local.lx25-python2/bin:$PATH" - # export PYTHONPATH="$HOME/local/lib/python3.8/site-packages:$PYTHONPATH" - export PYTHONPATH="$HOME/local.lx25-python2/lib/python2.7/site-packages:$PYTHONPATH" - - # gfal2, not required for plotting - # SLC6 - # source /cvmfs/grid.cern.ch/emi3ui-latest/etc/profile.d/setup-ui-example.sh - # C7 - # source /cvmfs/grid.cern.ch/centos7-ui-v03/etc/profile.d/setup-c7-ui-example.sh - - # NNLOJET + APPLfast - # Uses grid install; does not use fastNLO extension compiled with python2 - # source /cvmfs/etp.kit.edu/fnlo/src/fnlosrc_source_NNLOJET-5419.sh - # source /cvmfs/etp.kit.edu/fastnnlo-bridge-0.0.46/src/fnlosrc_source_NNLOJET_rev5918.sh - # If fastNLO version of grid install in /cvmfs/etp.kit.edu not new enough for evaluation, - # then use local install on bms1/3: - # export PATH="$HOME/local.s9/bin:$PATH" - # export LD_LIBRARY_PATH="$HOME/local.s9/lib:$LD_LIBRARY_PATH" - # For plotting must use local install e.g. on lx25 with fastNLO extension compiled with python3 - # source $HOME/local/src/fnlosrc_source.sh - # Rivet only works with python2 - source $HOME/local.lx25-python2/src/fnlosrc_source.sh - - source "$( law completion )" -} -action diff --git a/setup_law_slc6.sh b/setup_law_slc6.sh deleted file mode 100644 index 2140020cc9d7b7e6b621ed9f6eade8b302cb98c2..0000000000000000000000000000000000000000 --- a/setup_law_slc6.sh +++ /dev/null @@ -1,45 +0,0 @@ -#!/usr/bin/env bash - -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/enum34-1.1.10:$base/python-dateutil-2.8.2:$base:$PYTHONPATH" - - # fastNLO tools + plotting - export PATH="/storage/9/rabbertz/git/fastNLO/tools:/storage/9/rabbertz/git/fastNLO/tools/plotting:$PATH" - - # From now on: Plotting only with python3 and matplotlib3 (requiring numpy & scipy) - # --> Does not work on ETP portals with Centos7! - # --> Use your more modern Desktop PC e.g. with Ubuntu and properly set PATH and PYTHONPATH - # Add local user paths for python3 usage, e.g. - # export PATH="$HOME/.local/bin:$PATH" - # export PYTHONPATH="$HOME/.local/lib/python3.5/site-packages:$PYTHONPATH" - - # gfal2, not required for plotting - # SLC6 - source /cvmfs/grid.cern.ch/emi3ui-latest/etc/profile.d/setup-ui-example.sh - # C7 - # source /cvmfs/grid.cern.ch/centos7-ui-v03/etc/profile.d/setup-c7-ui-example.sh - - # NNLOJET + APPLfast - # Uses grid install; does not use fastNLO extension compiled with python2 - source /cvmfs/etp.kit.edu/fnlo/src/fnlosrc_source_NNLOJET-5419.sh - # Must use local install with fastNLO extension compiled with python3 - # source $HOME/local.lx25/src/fnlosrc_source.sh - - # NNLOJET combine script - export PATH="/cvmfs/etp.kit.edu/fnlo/src/NNLOJET_rev5419/driver/bin:$PATH" - # export PATH="$HOME/local.lx25/src/NNLOJET_rev5419/driver/bin:$PATH" - - source "$( law completion )" -} -action