Running jobs: Difference between revisions

Jump to navigation Jump to search
m
Clarification on how users associated with a single RAP are handled.
No edit summary
m (Clarification on how users associated with a single RAP are handled.)
Line 111: Line 111:


<!--T:67-->
<!--T:67-->
Every job must have an associated ''account name'' corresponding to a Compute Canada [https://ccdb.computecanada.ca/me/faq#what_is_rap Resource Allocation Project] (RAP).
Every job must have an associated ''account name'' corresponding to a Compute Canada [https://ccdb.computecanada.ca/me/faq#what_is_rap Resource Allocation Project] (RAP). If your user is a member of only one account, the scheduler will automatically associate jobs submitted with that account .


<!--T:107-->
<!--T:107-->
If you try to submit a job with <code>sbatch</code> and receive one of these messages:
If your user is associated with multiple accounts, when you try to submit a job with <code>sbatch</code> without specifying which account the job is associated with, you will receive one of these messages:
<pre>
<pre>
  You are associated with multiple _cpu allocations...
  You are associated with multiple _cpu allocations...
  Please specify one of the following accounts to submit this job:
  Please specify one of the following accounts to submit this job:
</pre>


<!--T:108-->
<!--T:108-->
You are associated with multiple _gpu allocations...
<pre>
You are associated with multiple _gpu allocations...
  Please specify one of the following accounts to submit this job:
  Please specify one of the following accounts to submit this job:
</pre>  
</pre>  
then you have more than one valid account, and you will have to specify one
 
using the <code>--account</code> directive:
In order to specify which account to associate with a job, you will need to use
the <code>--account</code> directive:
  #SBATCH --account=def-user-ab
  #SBATCH --account=def-user-ab


cc_staff
28

edits

Navigation menu