<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Ibex - Tag - Xiaopeng Xu</title><link>https://xu-xp.com/tags/ibex/</link><description>Ibex - Tag - Xiaopeng Xu</description><generator>Hugo -- gohugo.io</generator><language>en</language><managingEditor>xiaopeng.xu@kaust.edu.sa (Xiaopeng Xu)</managingEditor><webMaster>xiaopeng.xu@kaust.edu.sa (Xiaopeng Xu)</webMaster><lastBuildDate>Mon, 28 Sep 2020 00:00:00 +0000</lastBuildDate><atom:link href="https://xu-xp.com/tags/ibex/" rel="self" type="application/rss+xml"/><item><title>Ibex 使用说明</title><link>https://xu-xp.com/posts/ibex_tutorial/</link><pubDate>Mon, 28 Sep 2020 00:00:00 +0000</pubDate><author>xiaopeng.xu@kaust.edu.sa (Xiaopeng Xu)</author><guid>https://xu-xp.com/posts/ibex_tutorial/</guid><description><![CDATA[<h2 id="基本介绍">基本介绍</h2>
<h3 id="操作步骤">操作步骤</h3>
<p>外网需先连接 KAUST VPN：Cisco anyconnect</p>
<h4 id="登录-ibex">登录 iBex：</h4>
<div class="code-block code-line-numbers open" style="counter-reset: code-block 0">
    <div class="code-header language-plain">
        <span class="code-title"><i class="arrow fas fa-angle-right" aria-hidden="true"></i></span>
        <span class="ellipses"><i class="fas fa-ellipsis-h" aria-hidden="true"></i></span>
        <span class="copy" title="Copy to clipboard"><i class="far fa-copy" aria-hidden="true"></i></span>
    </div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-plain" data-lang="plain"><span class="line"><span class="cl">ssh -X xux@glogin.ibex.kaust.edu.sa</span></span></code></pre></div></div>
<h4 id="申请计算资源1-gpu4-cpu16g-内存24-小时">申请计算资源：1 GPU，4 CPU，16G 内存，24 小时</h4>
<div class="code-block code-line-numbers open" style="counter-reset: code-block 0">
    <div class="code-header language-plain">
        <span class="code-title"><i class="arrow fas fa-angle-right" aria-hidden="true"></i></span>
        <span class="ellipses"><i class="fas fa-ellipsis-h" aria-hidden="true"></i></span>
        <span class="copy" title="Copy to clipboard"><i class="far fa-copy" aria-hidden="true"></i></span>
    </div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-plain" data-lang="plain"><span class="line"><span class="cl">salloc -p ​batch​ -t 24:00:00 --gres gpu:1 --cpus-per-task 4 --mem 16 -n 1</span></span></code></pre></div></div>
<h4 id="设置为交互式的-shell-命令行">设置为交互式的 shell 命令行</h4>
<div class="code-block code-line-numbers open" style="counter-reset: code-block 0">
    <div class="code-header language-plain">
        <span class="code-title"><i class="arrow fas fa-angle-right" aria-hidden="true"></i></span>
        <span class="ellipses"><i class="fas fa-ellipsis-h" aria-hidden="true"></i></span>
        <span class="copy" title="Copy to clipboard"><i class="far fa-copy" aria-hidden="true"></i></span>
    </div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-plain" data-lang="plain"><span class="line"><span class="cl">srun ​--pty bash -i</span></span></code></pre></div></div>
<h3 id="调度器-slurm">调度器 SLURM</h3>
<p>Manages more work than the resource by scheduling queues of work.</p>]]></description></item></channel></rss>