Using a resource allocation: Difference between revisions
No edit summary |
No edit summary |
||
Line 143: | Line 143: | ||
<tab name="Cloud"> | <tab name="Cloud"> | ||
=Using a cloud allocation= <!--T:50--> | =Using a cloud allocation= <!--T:50--> | ||
Cloud resources allocated via the Rapid Access Service (RAS) use the default RAP. | Cloud resources allocated via the Rapid Access Service (RAS) use the default RAP (e.g. abc-123-aa, with associated group name def-profname). | ||
Resources allocated via the Resource Allocation Competitions are awarded through a RAC RAP (e.g. abc-123-ab) but have a <b>different</b> associated group name, typically of the form <code>crg-profname-ad</code> (for cloud resources allocated via the RRG competition) or <code>cpp-profname-ae</code> (for cloud resources allocated via the RPP competition). | |||
=== Who can use the allocation? === | === Who can use the allocation? === | ||
1. Default RAP: Every role that you have sponsored through your Compute Canada Database (CCDB) registration is automatically added as a member of your default RAP. This means cloud resources allocated via | 1. Default RAP: Every role that you have sponsored through your Compute Canada Database (CCDB) registration is automatically added as a member of your default RAP. This means cloud resources allocated via RAS are accessible by all your sponsored users. | ||
2. RAC RAP: By default, only the PI is added as a member of a RAP associated with cloud resources allocated via the Resource Allocation Competitions. If desired, you can add sponsored users and/or other active Compute Canada users as members to the RAP. Only members added to your RAP RAP can use your cloud allocation. | 2. RAC RAP: By default, only the PI is added as a member of a RAP associated with cloud resources allocated via the Resource Allocation Competitions. If desired, you can add sponsored users and/or other active Compute Canada users as members to the RAP. Only members added to your RAP RAP can use your cloud allocation. | ||
Revision as of 20:46, 5 March 2019
This is not a complete article: This is a draft, a work in progress that is intended to be published into an article, which may or may not be ready for inclusion in the main wiki. It should not necessarily be considered factual or authoritative.
Introduction[edit]
This page is a guide for Principal Investigators (PIs) who have applied to Compute Canada's Resource Allocation Competitions (RAC), a peer-reviewed process to grant priority access to storage and compute resources beyond what can be obtained via the Rapid Access Service.
For 2019, your award may have come from one of these competitions:
- Resources for Research Groups (RRG) Competition
- Research Platforms and Portals (RPP) Competition
- CFI Challenge 1 Competition
You will be notified shortly before the new RAC year of the results of your application. The RAC year typically begins the first week of April, so you should expect notification sometime in March. You and your sponsored users can begin to use the awarded resources at the beginning of the RAC year.
Projects, group names, and allocations[edit]
PIs and their sponsored users access Compute Canada resources through a Resource Allocation Project (RAP). Each RAP has a unique Resource Allocation Project Identifier (or RAPI).
There are two main types of RAP:
- Default RAP: for resources accessible without requiring to apply to the Resource Allocations Competition. The default RAPI typically takes the form
abc-123-aa
and has an associated group name that typically takes the formdef-profname
. - RAC RAP: for resources awarded through the Resources for Research Groups (RRG) or Research Platforms and Portals (RPP) competitions. Each RAC RAP also has a RAPI, typically of the form
abc-123-ab
orabc-123-ac
, etc. and an associated group name, typically of the formrrg-profname-ab
orrpp-profname-ac
for HPC resources, orcpp-profname-ae
orcrg-profname-ae
for Cloud resources.
A RAC award consists of one or more allocations. Each allocation consists of a resource (such as "graham-cpu", "graham-gpu", "ndc-waterloo") and an amount, and has a designation like abc-123-aa-001
.
You can find RAPIs and their corresponding group names and allocations by visiting the Account Details page of the CCDB site. See Running jobs: Accounts and projects for an illustration.
Sponsored users[edit]
Compute Canada accounts are per person: Account sharing is strictly forbidden. Each of your students, employees, or collaborators who will use the resources should therefore obtain their own account under your sponsorship. They should go to the Compute Canada database to register in their own name, using your CCRI to indicate your sponsorship when filling out the web form. You (the sponsor) will receive an e-mail with a link to click on to confirm the sponsorship of this individual. There is no limit on the number of sponsored accounts that a PI can have, but such sponsorship should only be in the context of a genuine and sustained research collaboration. More details on the process of obtaining a Compute Canada account are available here.
Information for each resource[edit]
For more information, please click on the tab below corresponding to where you have been granted resources. "General-purpose clusters" are Béluga, Cedar, and Graham. More than one tab may apply if, for example, you have been granted an allocation on both Niagara and a general-purpose cluster.
Who can use the allocation?[edit]
By default, every role that you have sponsored through your Compute Canada Database (CCDB) registration has access to your RAC award. Any co-PIs that were listed on your RAC application will also have access.
If you desire, you can select which users may use your allocation. To do so:
1) Log in at https://ccdb.computecanada.ca/
2) From the "My Account" menu, select "Manage RAP Memberships". This will take you to https://ccdb.computecanada.ca/resource_allocation_projects/members. In the Resource Allocation Project (RAP) drop-down list on this page, select the RAP to which you want to add members.
3) Add or remove project members by clicking the green checkmarks or the red X's. If you do not have permission to edit project members, you may have the wrong RAP selected. The sponsored users of any co-PIs will also be listed and their permissions can be edited. From this page you can add someone else from your group to be the manager, who upon being appointed, will have the permission to edit project members.
Using a compute allocation[edit]
When submitting jobs to the scheduler, users will need to specify a group name as the value of the --account
option. Jobs pertaining to the research described in the RAC application should be submitted with the group name corresponding to the RAC award, e.g. --account=rrg-somename-ab
. Jobs pertaining to other research should be submitted with the default group name, e.g. --account=def-somename
.
See Running jobs: Accounts and projects for more details.
Using allocated storage[edit]
If you have substantial amounts of data to transfer to a Compute Canada cluster in order to use your storage allocation, we strongly recommend the use of Globus for this transfer.
/project
[edit]
A /project
storage allocation on a general-purpose cluster is created as a directory of the form /project/<group-name>
, e.g. /project/rrg-somename-ab
, and an associated quota defining the amount of data that can be stored in the directory. Files pertaining to the research described in the RAC application should be stored there by all sponsored users. More guidance on the use of /project
space can be found at Project layout and Sharing data.
Note that you will also have default project space of the form /project/def-<PI name>
. You may wish to move data from that default project space to the RRG or RPP /project
directory, if the data pertains to the research described in the RAC application.
/nearline
[edit]
Please see Using nearline storage.
Who can use the allocation?[edit]
By default, every role that you have sponsored through your Compute Canada Database (CCDB) registration has access to your RAC award. Any co-PIs that were listed on your RAC application will also have access.
If you desire, you can select which users may use your allocation. To do so:
1) Log in at https://ccdb.computecanada.ca/
2) From the "My Account" menu, select "Manage RAP Memberships". This will take you to https://ccdb.computecanada.ca/resource_allocation_projects/members. In the Resource Allocation Project (RAP) drop-down list on this page, select the RAP to which you want to add members.
3) Add or remove project members by clicking the green checkmarks or the red x's. If you do not have permission to edit project members, you may have the wrong RAP selected. The sponsored users of any co-PIs will also be listed and their permissions can be edited. From this page you can add someone else from your group to be the manager, who upon being appointed, will have the permission to edit project members.
Using a compute allocation[edit]
When a user submits a job to the scheduler, the job will be assigned to the current allocation of the user's PI. If the user has more than one PI, i.e. more than one group, they must specify a group name as the value of the --account
option.
See Running jobs: Accounts and projects for more details.
Using allocated storage[edit]
If you have substantial amounts of data to transfer to the cluster in order to use your storage allocation, we strongly recommend the use of Globus for this transfer.
/project
[edit]
The location of a /project
storage allocation on Niagara should be found by using the environment variable $PROJECT
. This variable will point to a user-specific directory in the research group's project space.
/nearline
[edit]
A /nearline
allocation on Niagara means space in HPSS. Please see Using nearline storage.
Using a cloud allocation[edit]
Cloud resources allocated via the Rapid Access Service (RAS) use the default RAP (e.g. abc-123-aa, with associated group name def-profname).
Resources allocated via the Resource Allocation Competitions are awarded through a RAC RAP (e.g. abc-123-ab) but have a different associated group name, typically of the form crg-profname-ad
(for cloud resources allocated via the RRG competition) or cpp-profname-ae
(for cloud resources allocated via the RPP competition).
Who can use the allocation?[edit]
1. Default RAP: Every role that you have sponsored through your Compute Canada Database (CCDB) registration is automatically added as a member of your default RAP. This means cloud resources allocated via RAS are accessible by all your sponsored users. 2. RAC RAP: By default, only the PI is added as a member of a RAP associated with cloud resources allocated via the Resource Allocation Competitions. If desired, you can add sponsored users and/or other active Compute Canada users as members to the RAP. Only members added to your RAP RAP can use your cloud allocation.
If you have an active cloud resource allocation, you should already have a RAP and therefore access to the particular cloud on which you have an allocation.
If you desire, you can select which users may use your allocation. To do so: 1) Log in at https://ccdb.computecanada.ca/ 2) From the "My Account" menu, select "Manage RAP Memberships". This will take you to https://ccdb.computecanada.ca/resource_allocation_projects/members. In the Resource Allocation Project (RAP) drop-down list on this page, select the RAP to which you want to add members. 3)
For information about logging in and using a particular cloud see using the cloud. If you are unsure about your cloud allocation or if you have difficulty logging into a cloud where you have an allocation, please contact technical support.