Difference between revisions of "User:Jchong"

From oldwiki.scinet.utoronto.ca
Jump to navigation Jump to search
Line 1: Line 1:
 
=== Accounting ===
 
=== Accounting ===
  
For any user with an NRAC/LRAC allocation, a special account with the Resource Allocation Project (RAP) identifier from Compute Canada Database (CCDB) should be setup to access the allocated resources.  Please use the following instruction to run your job on your allocated allocation since the job will run with special priority.
+
For any user with an NRAC/LRAC allocation, a special account with the Resource Allocation Project (RAP) identifier (RAPI) from Compute Canada Database (CCDB) should be setup to access the allocated resources.  Please use the following instructions in order to run your job using your special allocation.  This is necessary both for accounting purposes as well as to assign the appropriate priority to your jobs.
  
By default, each job run on the system will have a default RAP associated with the jobFor most user, your default RAP should be set properly so you should not need to change it.  However, if you have more than one allocation on different RAP,  you can also change your default RAP which is the RAP setup by default that you can submit jobs to.
+
Each job run on the system will have a default RAP associated with itMost users already have their default RAP properly set.  However, if you have more than one allocation (different RAPs),  you may need/want to change your default RAP in order to charge your jobs to a particular RAP.
  
 
==== Changing your default RAP ====
 
==== Changing your default RAP ====
Line 10: Line 10:
 
# Click on "Change SciNet default RAP" and change your default RAP.
 
# Click on "Change SciNet default RAP" and change your default RAP.
  
==== Specifying RAP for GPC ====
+
==== Specifying the RAP for GPC ====
  
There are two ways to specific an account for pbs, either through the command line or inside the submission script.
+
You may want to assign a RAP for each particular job you run.  There are two ways to specify an account for Moab/Torque: From the command line or inside the batch submission script.
  
 
===== Command line =====
 
===== Command line =====
  
Specify a '-A RAPI' flag when you submit your job using qsub.  Note that the command line option will override the submission script if an account is specify on both the submission script and the command line.
+
Specify a '-A RAPI' flag when you submit your job using qsub.  Note that the command line option will override the submission script if an account is specified on both the submission script and the command line.  "RAPI" is the RAP Identifier, e.g. abc-123-de.
  
 
===== Submission Script =====
 
===== Submission Script =====
  
Add a line in your submit script like the following to submit to your allocation:
+
Add a line in your submit script as follows:
 
<pre>
 
<pre>
 
#PBS -A RAPI
 
#PBS -A RAPI
 
</pre>
 
</pre>
  
Please replace the RAPI with the RAPI that was allocated to you.  
+
Please replace "RAPI" with your RAP Identifier.
  
==== Specifiying RAP for TCS ====
+
==== Specifiying the RAP for TCS ====
  
Add a line in your submit script like the following to submit to your allocation:
+
Add a line in your submit script as follows:
 
<pre>
 
<pre>
 
# @ account_no = RAPI
 
# @ account_no = RAPI
 
</pre>
 
</pre>
  
Please replace the RAPI with the RAPI that was allocated to you.
+
Please replace "RAPI" with your RAP Identifier.

Revision as of 17:57, 25 February 2010

Accounting

For any user with an NRAC/LRAC allocation, a special account with the Resource Allocation Project (RAP) identifier (RAPI) from Compute Canada Database (CCDB) should be setup to access the allocated resources. Please use the following instructions in order to run your job using your special allocation. This is necessary both for accounting purposes as well as to assign the appropriate priority to your jobs.

Each job run on the system will have a default RAP associated with it. Most users already have their default RAP properly set. However, if you have more than one allocation (different RAPs), you may need/want to change your default RAP in order to charge your jobs to a particular RAP.

Changing your default RAP

  1. Go to the portal, login with your SciNet username and password.
  2. Click on "Change SciNet default RAP" and change your default RAP.

Specifying the RAP for GPC

You may want to assign a RAP for each particular job you run. There are two ways to specify an account for Moab/Torque: From the command line or inside the batch submission script.

Command line

Specify a '-A RAPI' flag when you submit your job using qsub. Note that the command line option will override the submission script if an account is specified on both the submission script and the command line. "RAPI" is the RAP Identifier, e.g. abc-123-de.

Submission Script

Add a line in your submit script as follows:

#PBS -A RAPI

Please replace "RAPI" with your RAP Identifier.

Specifiying the RAP for TCS

Add a line in your submit script as follows:

# @ account_no = RAPI

Please replace "RAPI" with your RAP Identifier.