Skip to content

Commit

Permalink
deploy: 87036cb
Browse files Browse the repository at this point in the history
  • Loading branch information
zingale committed Feb 21, 2024
1 parent b76ce95 commit d60882a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions nersc-workflow.html
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ <h2>Perlmutter<a class="headerlink" href="#perlmutter" title="Link to this headi
<span class="c1">#SBATCH --ntasks-per-node=4</span>
<span class="c1">#SBATCH --gpus-per-task=1</span>
<span class="c1">#SBATCH --gpu-bind=map_gpu:0,1,2,3</span>
<span class="c1">#SBATCH --signal=B:URG@2</span>
<span class="c1">#SBATCH --signal=B:URG@120</span>

<span class="nb">export</span><span class="w"> </span><span class="nv">CASTRO_EXEC</span><span class="o">=</span>./Castro2d.gnu.MPI.CUDA.SMPLSDC.ex
<span class="nb">export</span><span class="w"> </span><span class="nv">INPUTS</span><span class="o">=</span>inputs_2d.N14
Expand Down Expand Up @@ -173,7 +173,7 @@ <h2>Perlmutter<a class="headerlink" href="#perlmutter" title="Link to this headi
rm<span class="w"> </span>-f<span class="w"> </span>dump_and_stop

<span class="c1"># The `--signal=B:URG@&lt;n&gt;` option tells slurm to send SIGURG to this batch</span>
<span class="c1"># script n minutes before the runtime limit, so we can exit gracefully.</span>
<span class="c1"># script n seconds before the runtime limit, so we can exit gracefully.</span>
<span class="k">function</span><span class="w"> </span>sig_handler<span class="w"> </span><span class="o">{</span>
<span class="w"> </span>touch<span class="w"> </span>dump_and_stop
<span class="w"> </span><span class="c1"># disable this signal handler</span>
Expand Down
Loading

0 comments on commit d60882a

Please sign in to comment.