Difference between revisions of "User:Jchong"
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 | + | 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 ==== | ==== 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 | + | 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 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 | + | Add a line in your submit script as follows: |
<pre> | <pre> | ||
#PBS -A RAPI | #PBS -A RAPI | ||
</pre> | </pre> | ||
− | Please replace | + | Please replace "RAPI" with your RAP Identifier. |
− | ==== Specifiying RAP for TCS ==== | + | ==== Specifiying the RAP for TCS ==== |
− | Add a line in your submit script | + | Add a line in your submit script as follows: |
<pre> | <pre> | ||
# @ account_no = RAPI | # @ account_no = RAPI | ||
</pre> | </pre> | ||
− | Please replace | + | 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
- Go to the portal, login with your SciNet username and password.
- 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.