-- JianqiaoDeng - 2021-09-02

PYTHIA 事例产生的教程:

登陆lxplus,创建工作目录,下载最新版的软件:

git clone https://:@gitlab.cern.ch:8443/hyin/singlewz_generators.git

编译准备:

cd singlewz_generators/Pythia

source setup.sh

make

准备提交condor的脚本:

cd scripts_STWStudy/

根据自己的需要修改Create_condor_scripts.py, RunPythia_condor.sh, submit.sub.Temp

特别是RunPythia_condor.sh的最后一句,改成自己的eos目录(文件较多,占用空间多,使用自己的eos盘,)

目前的策略是每个stw输入值产生30*2M=60M 个事例,然后总共40stw变化点

python Create_condor_scripts.py

提交工作:

然后sh Submit_condor_All.sh,会提交40*30=1200个子工作,大约3-4小时后完成,产生的文件都存在eos盘。之后,在lxplus扫描完把需要的直方图存到root里,拷贝回来,否则拷贝所有文件( > 100G?)比较耗时。

可以单独执行文件(Create_condor_scripts.py)中的某一句,来测试;同时也把产生的事例数调低一些(新产生的parameters_STW_0.in等文件,取决于你运行那个PYTHIA_submit_.sub文件),比如100

condorlxplus上的集群工作提交软件,想了解的话可以看lhcbstarterkits

https://lhcb.github.io/starterkit-lessons/self-guided-lessons/htcondor-first-job.html

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2021-09-02 - JianqiaoDeng
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Sandbox All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback