Niagara Quickstart: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 367: Line 367:
<!--T:178-->
<!--T:178-->
Within these limits, jobs will still have to wait in the queue.  The waiting time depends on many factors such as the allocation amount, how much allocation was used in the recent past, the number of nodes and the walltime, and how many other jobs are waiting in the queue.
Within these limits, jobs will still have to wait in the queue.  The waiting time depends on many factors such as the allocation amount, how much allocation was used in the recent past, the number of nodes and the walltime, and how many other jobs are waiting in the queue.
== SLURM Accounts == <!--T:179-->
<!--T:180-->
To be able to prioritise jobs based on groups and allocations, the SLURM scheduler uses the concept of ''accounts''.  Each group that has a Resource for Research Groups (RRG) or Research Platforms and Portals (RPP) allocation (awarded through an annual competition by Compute Canada) has an account that starts with <tt>rrg-</tt> or <tt>rpp-</tt>.  SLURM assigns a 'fairshare' priority to these accounts based on the size of the award in core-years.  Groups without an RRG or RPP can use Niagara using a so-called Rapid Access Service (RAS), and have an account that starts with <tt>def-</tt>.
<!--T:181-->
On Niagara, most users will only ever use one account, and those users do not need to specify the account to SLURM.  However, users that are part of collaborations may be able to use multiple accounts, i.e., that of their sponsor and that of their collaborator, but this mean that they need to select the right account when running jobs.
<!--T:182-->
To select the account, just add
    <!--T:183-->
#SBATCH -A [account]
<!--T:184-->
to the job scripts, or use the <tt>-A [account]</tt> to <tt>salloc</tt> or <tt>debugjob</tt>.
<!--T:185-->
To see which accounts you have access to, or what their names are, use the command
    <!--T:186-->
sshare -U


== Passing Variables to Job's submission scripts == <!--T:187-->
== Passing Variables to Job's submission scripts == <!--T:187-->
cc_staff
290

edits

Navigation menu