Niagara Quickstart: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 401: Line 401:
<translate>
<translate>
<!--T:91-->
<!--T:91-->
Submit this script (if it is called mpi_ex.sh) with the command:
Submit this script with the command:
<source lang="bash">nia-login07:~$ sbatch mpi_ex.sh</source>
<source lang="bash">nia-login07:~$ sbatch mpi_ex.sh</source>
<ul>
<ul>
Line 414: Line 414:
<li>Runs the <code>appl_mpi_ex</code> application with mpirun (srun should work too).</li></ul>
<li>Runs the <code>appl_mpi_ex</code> application with mpirun (srun should work too).</li></ul>
</li>
</li>
<li>To use hyperthreading, just change <tt>--ntasks=320</tt> to <tt>--ntasks=640</tt>, and add <tt>--bind-to none</tt> to the mpirun command (the latter is necessary for OpenMPI only, not when using IntelMPI).</li>
<li>To use hyperthreading, just change --ntasks=80 to --ntasks=160, and add --bind-to none to the mpirun command (the latter is necessary for OpenMPI only, not when using IntelMPI).</li>
</ul>
</ul>


cc_staff
290

edits

Navigation menu