This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| public:docs:2021:singularity_amcatnlo_3x [2021/12/30 19:03] – created Junghwan Goh | public:docs:2021:singularity_amcatnlo_3x [2022/01/02 06:35] (current) – Junghwan Goh | ||
|---|---|---|---|
| Line 11: | Line 11: | ||
| ===== Singularity recipe file ===== | ===== Singularity recipe file ===== | ||
| + | < | ||
| < | < | ||
| + | # Singularity recipe to run MG5_aMC@NLO | ||
| + | Bootstrap: docker | ||
| + | From: rootproject/ | ||
| + | |||
| + | %post | ||
| + | export LANG=" | ||
| + | export LC_ALL=" | ||
| + | |||
| + | ## Install necessary packages | ||
| + | apt-get update | ||
| + | apt-get -y install python-six python3-six | ||
| + | apt-get -y install wget ghostscript bc rsync | ||
| + | |||
| + | ### Install Madgraph_aMC@NLO | ||
| + | mkdir -p /sw/install | ||
| + | cd /sw/install | ||
| + | wget https:// | ||
| + | cd /sw | ||
| + | tar xzf / | ||
| + | cd / | ||
| + | |||
| + | ## Install internal subpackages within the Madgraph_aMC@NLO | ||
| + | ./ | ||
| + | install zlib; install boost; | ||
| + | install hepmc; install lhapdf6; | ||
| + | install ninja; install collier; install QCDLoop; | ||
| + | EOF | ||
| + | |||
| + | # ./ | ||
| + | #install looptools | ||
| + | #cuttools install | ||
| + | #iregi install | ||
| + | #EOF | ||
| + | ./ | ||
| + | install pythia8; | ||
| + | install maddm; install maddump; install MadSTR; | ||
| + | |||
| + | EOF | ||
| + | cat / | ||
| + | |||
| + | ./ | ||
| + | install ExRootAnalysis; | ||
| + | install Delphes | ||
| + | |||
| + | EOF | ||
| + | |||
| + | ### First launch example process, with QCD at NLO | ||
| + | ./ | ||
| + | generate p p > t t~ [QCD] | ||
| + | output / | ||
| + | |||
| + | #launch -m | ||
| + | launch | ||
| + | |||
| + | shower = PYTHIA8 | ||
| + | madspin = ON | ||
| + | 0 | ||
| + | |||
| + | EOF | ||
| + | |||
| + | ### Allow generic users to run executables | ||
| + | chmod go+rx bin/* HEPTools/ | ||
| + | chmod -R go+r . | ||
| + | |||
| + | %environment | ||
| + | export LC_ALL=C | ||
| + | export PATH=/ | ||
| + | |||
| + | %runscript | ||
| + | #/ | ||
| + | #export ROOTSYS=/ | ||
| + | #export PS1=" | ||
| + | #python / | ||
| + | |||
| + | #/bin/bash | ||
| + | / | ||
| </ | </ | ||