Porting DB12 to Python3: Comparison with LHCb Gauss tasks
收藏资源简介:
DB12 has been originally conceived with Python2 to estimate the power of a given CPU to run HEP applications. However, since January 2020, Python2 is no longer maintained and we decided to port the code to Python3, which contains several optimizations. In October 2021, we effectively ported DB12 to Python3.9, but the optimizations brought by the language generated discrepancies in the norm score, which is a critical component to evaluate the power of CPUs. We applied factors to correct it. Now we want to make sure that this norm score still fit with the LHCb Gauss execution throughput. We build an analysis tool to evaluate this. This work is based on DB16 (DB12 / 0.65), an update of DB12 introduced in 2017 to better fit with the LHCb workload at this time. <strong>Run the analysis</strong> Execute the Jupyter Notebook: <pre><code class="language-bash">jupyter notebook DB16Analysis.ipynb</code></pre> <strong>Include new data using DIRAC</strong> Install a DIRAC client: <pre><code class="language-bash">lb-dirac lhcb-proxy-init</code></pre> Go to <em>resources</em> and execute the following program to get data about the jobs: <pre><code class="language-python">python getJobData.py</code></pre> Once the program is done, you should get a file named `summary.json`, which can be used by the Jupyter Notebook.



