Commit d811b2d4 authored by Simon Brass's avatar Simon Brass

add ansible structure

parent a29d31c6
---
- hosts: notebook cluster caesium
roles:
- benchmark
# ---
# file benchmark/eemumu/task.yml
- hosts: notebook cluster
tasks:
- name: deploy e1, E1 => e2, E2
template:
src: eemumu.sin.j2
dest: "{{ SIN_LOCAL }}/eemumu-{{ item.name }}.sin"
with_items:
- { name: 10e5, n_calls: 10000 }
- { name: 10e6, n_calls: 100000 }
- { name: 10e7, n_calls: 1000000 }
[notebook]
localhost ansible_connection=local
[notebook:vars]
SIN_LOCAL=/home/simon/workspace/run/sindarin
[caesium]
caesium ansible_user=brass
[caesium:vars]
SIN_LOCAL=/home/users/brass/workspace/run/sindarin
[cluster]
slc ansible_user=gg662
[cluster:vars]
SIN_LOCAL=/home/gg662/workspace/run/sindarin
\ No newline at end of file
# arXiv:hep-ph/0206070
#
# THIS IS A INCLUDE FILE
model = SM
seed = 12345
me = 0.51099907E-3
mW = 80.419
mZ = 91.1882
mH = 170
wW = 2.12
wZ = 2.4952
wH = 0.3835
GF = 1.16639E-5
alphas = 0.1181
mtop = 174.3
wtop = 1.6
alias quark = d:u:s:c:b:t
alias antiquark = D:U:S:C:B:T
alias lepton = e1:E1:e2:E2:e3:E3
alias neutrinos = n1:N1:n2:N2:n3:N3
cuts = all M > 10 [quark,antiquark]
and all E > 10 [quark:antiquark]
and all E > 10 [lepton:neutrinos]
and all Theta > 5 degree [lepton,lepton]
and all Theta > 5 degree [lepton,quark]
and all Theta > 5 degree [lepton]
and all Theta > 5 degree [quark]
sqrts = 500
beams = e1, E1
?use_vamp_equivalences = false
?vis_history = false
\ No newline at end of file
# arXiv:0708.4233v2
#
# Section 3.1.2
# INCLUDE ONLY FILE
model = SM
seed = 12345
alias quark = d:u:s:c
alias antiquark = D:U:S:C
# Aliases for cuts' definition
alias lepton = e1:e2:e3:E1:E2:E3
alias jet = quark:antiquark:gl
me = 0
mmu = 0
mtau = 0
mW = 80.419
mZ = 91.1882
mH = 130
wW = 2.049
wZ = 2.443
GF = 1.16639E-5 / (1 GeV)^2
alphas = 0.1178
ms = 0
mc = 0
mb = 4.2
mtop = 174
sqrts = 14 TeV
beams = p, p => pdf_builtin
cuts = all Pt > 20 GeV [lepton:jet]
and all -2.5 < Eta < 2.5 [lepton:jet]
and all Dist > 0.7 [jet, jet]
and all Dist > 0.4 [lepton, jet]
?vis_history = false
\ No newline at end of file
# ---
# file roles/benchmark/tasks/main.yml
# --------------------------------------------------
- name: copy configuraion file for e1, E1 => 6f
copy:
src: ee6f.sin
dest: "{{ SIN_LOCAL }}/ee6f.sin"
- name: deploy e1, E1 => e2, E2, e2, E2
template:
src: ee4mu.sin.j2
dest: "{{ SIN_LOCAL }}/ee4mu-{{ item.name }}.sin"
with_items:
- { name: 10e5, n_calls: 10000 }
- { name: 10e6, n_calls: 100000 }
- { name: 10e7, n_calls: 1000000 }
- name: deploy e1, E1 => e2, E2, e2, E2, n1, N1
template:
src: ee4mu2nu.sin.j2
dest: "{{ SIN_LOCAL }}/ee4mu2nu-{{ item.name }}.sin"
with_items:
- { name: 10e5, n_calls: 10000 }
- { name: 10e6, n_calls: 100000 }
- { name: 10e7, n_calls: 1000000 }
# --------------------------------------------------
- name: deploy e1, E1 => e2, E2
template:
src: eemumu.sin.j2
dest: "{{ SIN_LOCAL }}/eemumu-{{ item.name }}.sin"
with_items:
- { name: 10e5, n_calls: 10000 }
- { name: 10e6, n_calls: 100000 }
- { name: 10e7, n_calls: 1000000 }
# --------------------------------------------------
- name: copy basic configuration for gl, gl => WW, qq
copy:
src: ggW.sin
dest: "{{ SIN_LOCAL }}/ggW.sin"
- name: deploy gl, gl => W, W, q, q
template:
src: ggqqW.sin.j2
dest: "{{ SIN_LOCAL }}/ggqqW.sin"
- name: deploy gl, gl => W, W, q, q, gl
template:
src: ggqqW.sin.j2
dest: "{{ SIN_LOCAL }}/ggqqWg.sin"
- name: deploy gl, gl => W, W, q, q, gl, gl
template:
src: ggqqWgg.sin.j2
dest: "{{ SIN_LOCAL }}/ggqqWgg.sin"
- name: deploy gl, gl => W, W, q, q, gl, gl, gl
template:
src: ggqqWggg.sin.j2
dest: "{{ SIN_LOCAL }}/ggqqWggg.sin"
# --------------------------------------------------
- name: collect times from processes
shell: ~/whizard-scripts/slurm/collect-task-time.sh -f results/mpi-{{ item.name}}-cores.dat benchmark-mpi/{{ item.name }}
args:
chdir: ~/workspace/run
with_items:
- { name: ee4mu-10e5 }
- { name: ee4mu-10e6 }
- { name: ee4mu-10e7 }
- { name: eemumu-10e5 }
- { name: eemumu-10e6 }
- { name: eemumu-10e7 }
- { name: ggqqW }
- { name: ggqqWg }
- { name: ggqqWgg }
- { name: ggqqWggg }
- { name: ee4mu2nu-10e5 }
- { name: ee4mu2nu-10e6 }
- { name: ee4mu2nu-10e7 }
tags:
collect
# arXiv:hep-ph/0206070
#
# Table 3, Row 1: removed Neutrinos
include ("{{ SIN_LOCAL }}/ee6f.sin")
?vis_history = false
process ee4mu = e1, E1 => e2, E2, e2, E2
integrate (ee4mu) { iterations = 10:{{ item.n_calls }}:"gw", 10:{{ item.n_calls }} }
show(results)
# arXiv:hep-ph/0206070
include ("{{ SIN_LOCAL }}/ee6f.sin")
process ee4mu2nu = e1, E1 => e2, E2, e2, E2, n2, N2
integrate (ee4mu2nu) { iterations = 10:100000:"gw", 10:100000 }
show(results)
model = SM
process ee = e1, E1 => e2, E2
seed = 12345
sqrts = 150 GeV
?vis_history = false
integrate (ee) { iterations = 5:{{ item.n_calls }}:"gw", 5:{{ item.n_calls }} }
# arXiv:0708.4233v2
#
# Section 3.1.2
~~~~#
# Table 1, Row 1
include("{{ SIN_LOCAL }}/ggW.sin")
process ggqqW = gl, gl~/`~ => quark, antiquark, e1, N1
# calls(adapt) = 5e7, calls(integ) = 5e7
integrate (ggqqW) {iterations = 10:500000:"gw", 5:1000000}
show (results)
# arXiv:0708.4233v2
#
# Section 3.1.2
#
# Table 1, Row 2
include("{{ SIN_LOCAL }}/ggW.sin")
process ggqqWg = gl, gl => quark, antiquark, e1, N1, g
# calls(adapt) = 5e7, calls(integ) = 5e7
integrate (ggqqWg) {iterations = 10:500000:"gw", 5:1000000}
show (results)
# arXiv:0708.4233v2
#
# Section 3.1.2
#
# Table 1, Row 3
include("{{ SIN_LOCAL }}/ggW.sin")
process ggqqWgg = gl, gl => quark, antiquark, e1, N1, g, g
# calls(adapt) = 7.5e7, calls(integ) = 5e7
integrate (ggqqWgg) {iterations = 15:500000:"gw", 5:1000000}
show (results)
# arXiv:0708.4233v2
#
# Section 3.1.2
#
# Table 1, Row 4
include("{{ SIN_LOCAL }}/ggW.sin")
process ggqqWggg = gl, gl => quark, antiquark, e1, N1, g, g, g
# calls(adapt) = 20e7, calls(integ) = 5e7
integrate (ggqqWggg) {iterations = 20:1000000:"gw", 5:1000000}
show (results)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment