Translations:Niagara Quickstart/74/en

From Alliance Doc
Jump to navigation Jump to search
  • Small test jobs can be run on the login nodes.

    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.

  • You can run the ddt debugger on the login nodes after module load ddt.

  • 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:

    nia-login07:~$ debugjob N
    

    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.

    nia-login07:~$ salloc --nodes N --time=M:00:00
    

    here N is again the number of nodes, and M is the number of hours you wish the job to run.

    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 page.