<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.10.0">Jekyll</generator><link href="https://www.ml4phys.com/feed.xml" rel="self" type="application/atom+xml" /><link href="https://www.ml4phys.com/" rel="alternate" type="text/html" /><updated>2026-09-14T23:03:01-07:00</updated><id>https://www.ml4phys.com/feed.xml</id><title type="html">Xiangyang Ju — HPC-Native AI for Science</title><subtitle>Research on agentic AI, foundation models, and scalable machine-learning systems for particle physics and scientific computing.</subtitle><author><name>Xiangyang Ju</name><email>xju@lbl.gov</email></author><entry><title type="html">Install ROOT on Cori</title><link href="https://www.ml4phys.com/posts/2018/05/06/" rel="alternate" type="text/html" title="Install ROOT on Cori" /><published>2018-05-07T00:00:00-07:00</published><updated>2018-05-07T00:00:00-07:00</updated><id>https://www.ml4phys.com/posts/2018/05/install-root-on-cori</id><content type="html" xml:base="https://www.ml4phys.com/posts/2018/05/06/"><![CDATA[<p>Version: v6-04-16, with special patches used in ATLAS.
Source files are downloaded from https://gitlab.cern.ch/turra/root/tree/hsg7-v6-04-16
Untar this file to the directory of <em>src</em>.</p>
<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nb">mkdir </span>v6-04-16_hsg7
module load gcc/4.9.3
module load cmake/3.8.2
cmake <span class="nt">-Droofit</span><span class="o">=</span>ON <span class="nt">-D</span> <span class="nv">minuit2</span><span class="o">=</span>ON  <span class="nt">-D</span> <span class="nv">CMAKE_C_COMPILER</span><span class="o">=</span>/opt/gcc/4.9.3/bin/gcc <span class="nt">-D</span> <span class="nv">CMAKE_CXX_COMPILER</span><span class="o">=</span>/opt/gcc/4.9.3/bin/g++ ../src/
cmake <span class="nt">--build</span> <span class="nb">.</span> <span class="nt">--</span> <span class="nt">-j8</span>
</code></pre></div></div>]]></content><author><name>Xiangyang Ju</name><email>xju@lbl.gov</email></author><category term="ROOT" /><category term="Cori" /><category term="HPC" /></entry><entry><title type="html">Install OpenCV with python</title><link href="https://www.ml4phys.com/posts/2017/12/01/1/" rel="alternate" type="text/html" title="Install OpenCV with python" /><published>2017-12-01T00:00:00-08:00</published><updated>2017-12-01T00:00:00-08:00</updated><id>https://www.ml4phys.com/posts/2017/12/01/blog-post-3</id><content type="html" xml:base="https://www.ml4phys.com/posts/2017/12/01/1/"><![CDATA[<p>An example of installing openCV with python3.</p>
<div class="language-python highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="c1">#!/bin/bash
</span>
<span class="c1"># cmake command for openCV Installation
</span>
<span class="n">PY3V</span><span class="o">=</span><span class="s">"3.6"</span>
<span class="n">PYTHON3DIR</span><span class="o">=</span><span class="s">"/usr/local/Cellar/python3/${PY3V}.3/Frameworks/Python.framework/Versions"</span>

<span class="n">cmake</span> <span class="o">-</span><span class="n">DCMAKE_BUILD_TYPE</span><span class="o">=</span><span class="n">Release</span> <span class="o">-</span><span class="n">DOPENCV_EXTRA_MODULES_PATH</span><span class="o">=</span><span class="p">..</span><span class="o">/</span><span class="p">..</span><span class="o">/</span><span class="n">opencv_contrib</span><span class="o">/</span><span class="n">modules</span> <span class="o">-</span><span class="n">DPYTHON3_PACKAGES_PATH</span><span class="o">=</span><span class="err">$</span><span class="p">{</span><span class="n">PYTHON3DIR</span><span class="p">}</span><span class="o">/</span><span class="err">$</span><span class="p">{</span><span class="n">PY3V</span><span class="p">}</span><span class="o">/</span><span class="n">lib</span><span class="o">/</span><span class="n">python</span><span class="err">$</span><span class="p">{</span><span class="n">PY3V</span><span class="p">}</span><span class="o">/</span><span class="n">site</span><span class="o">-</span><span class="n">packages</span> <span class="o">-</span><span class="n">DPYTHON3_LIBRARY</span><span class="o">=</span><span class="err">$</span><span class="p">{</span><span class="n">PYTHON3DIR</span><span class="p">}</span><span class="o">/</span><span class="err">$</span><span class="p">{</span><span class="n">PY3V</span><span class="p">}</span><span class="o">/</span><span class="n">lib</span><span class="o">/</span><span class="n">libpython</span><span class="err">$</span><span class="p">{</span><span class="n">PY3V</span><span class="p">}</span><span class="n">m</span><span class="p">.</span><span class="n">dylib</span> <span class="o">-</span><span class="n">DPYTHON3_INCLUDE_DIR</span><span class="o">=</span><span class="err">$</span><span class="p">{</span><span class="n">PYTHON3DIR</span><span class="p">}</span><span class="o">/</span><span class="err">$</span><span class="p">{</span><span class="n">PY3V</span><span class="p">}</span><span class="o">/</span><span class="n">include</span><span class="o">/</span><span class="n">python</span><span class="err">$</span><span class="p">{</span><span class="n">PY3V</span><span class="p">}</span><span class="n">m</span> <span class="p">..</span>
</code></pre></div></div>]]></content><author><name>Xiangyang Ju</name><email>xju@lbl.gov</email></author><category term="openCV" /><category term="python" /><summary type="html"><![CDATA[An example of installing openCV with python3. #!/bin/bash # cmake command for openCV Installation PY3V="3.6" PYTHON3DIR="/usr/local/Cellar/python3/${PY3V}.3/Frameworks/Python.framework/Versions" cmake -DCMAKE_BUILD_TYPE=Release -DOPENCV_EXTRA_MODULES_PATH=../../opencv_contrib/modules -DPYTHON3_PACKAGES_PATH=${PYTHON3DIR}/${PY3V}/lib/python${PY3V}/site-packages -DPYTHON3_LIBRARY=${PYTHON3DIR}/${PY3V}/lib/libpython${PY3V}m.dylib -DPYTHON3_INCLUDE_DIR=${PYTHON3DIR}/${PY3V}/include/python${PY3V}m ..]]></summary></entry><entry><title type="html">Update on probing station</title><link href="https://www.ml4phys.com/posts/2017/11/10/1/" rel="alternate" type="text/html" title="Update on probing station" /><published>2017-11-10T00:00:00-08:00</published><updated>2017-11-10T00:00:00-08:00</updated><id>https://www.ml4phys.com/posts/2017/11/10/blog-post-2</id><content type="html" xml:base="https://www.ml4phys.com/posts/2017/11/10/1/"><![CDATA[<iframe width="560" height="315" src="https://www.youtube.com/embed/8AwamhxBEwg" frameborder="0" allowfullscreen=""></iframe>]]></content><author><name>Xiangyang Ju</name><email>xju@lbl.gov</email></author><category term="qt" /><category term="GUI" /></entry></feed>