Niagara Quickstart: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
mNo edit summary
mNo edit summary
Line 293: Line 293:
<!--T:74-->
<!--T:74-->
<ul>
<ul>
<li><p>Small test jobs can be run on the login nodes.</p>
<li>Small test jobs can be run on the login nodes.
<p>Rule of thumb: tests should run no more than a couple of minutes, taking at most about 1-2GB of memory, and use no more than a couple of cores.</p></li>
<p>Rule of thumb: tests should run no more than a couple of minutes, taking at most about 1-2GB of memory, and use no more than a couple of cores.</p>
<li><p>You can run the ddt debugger on the login nodes after <code>module load ddt</code>.</p></li>
</li>
<li><p>Short tests that do not fit on a login node, or for which you need a dedicated node, request an interactive debug job with the debug command:</p>
<li>
<p>You can run the ddt debugger on the login nodes after <code>module load ddt</code>.</p>
</li>
<li>
<p>Short tests that do not fit on a login node, or for which you need a dedicated node, request an interactive debug job with the debug command:</p>
<source lang="bash">nia-login07:~$ debugjob N</source>
<source lang="bash">nia-login07:~$ debugjob N</source>
<p>where N is the number of nodes, If N=1, this gives an interactive session one 1 hour, when N=4 (the maximum), it gives you 30 minutes.  Finally, if your debugjob process takes more than 1 hour, you can request an interactive job from the regular queue using the salloc command.  Note, however, that this may take some time to run, since it will be part of the regular queue, and will be run when the scheduler decides.
<p>where N is the number of nodes, If N=1, this gives an interactive session one 1 hour, when N=4 (the maximum), it gives you 30 minutes.</p><p> Finally, if your debugjob process takes more than 1 hour, you can request an interactive job from the regular queue using the salloc command.  Note, however, that this may take some time to run, since it will be part of the regular queue, and will be run when the scheduler decides.</p>
<source lang="bash">nia-login07:~$ salloc --nodes N --time=M:00:00</source>
<source lang="bash">nia-login07:~$ salloc --nodes N --time=M:00:00</source>
here N is again the number of nodes, and M is the number of hours you wish the job to run.
<p>here N is again the number of nodes, and M is the number of hours you wish the job to run.</p>
If you need to use graphics while testing your code through salloc, e.g. when using a debugger such as DDT or DDD, you have the following options, please visit the [[Testing_With_Graphics | Testing with graphics]] page.
<p>If you need to use graphics while testing your code through salloc, e.g. when using a debugger such as DDT or DDD, you have the following options, please visit the  
[[Testing_With_Graphics | Testing with graphics]] page.</p>
</li>
</li>
</ul>
</ul>
cc_staff
150

edits

Navigation menu