Courses
The YCRC Grace and McCleary clusters can be made available for Yale courses with a suitable computational component. The YCRC hosts over a dozen courses on the clusters every semester.
Warning
All course allocations are temporary. All associated accounts and data will be removed one month after the last day of exams for that semester.
For Instructors
If you are interested in using a YCRC cluster in your Yale course, fill out this form. If at all possible, please let us know of your interest in using a cluster at least two weeks prior to start of classes so we can plan accordingly, even if you have used the cluster in a previous semester.
Course ID
Your course will be give a specific courseid
based on the Yale course catalog number. This courseid
will be used in the course account names and web portal.
Course Accounts
All members of a course, including the instructor and TFs will be given temporary course accounts. These accounts take the form of courseid_netid
. Course accounts are distinct from any research accounts a course member may already have. As with all cluster access, you must be on the VPN to access the web portal if you are off campus.
All course-related accounts are subject to the same policies and expectation as standard accounts.
Course-specific Web Portal
Your course also has a course-specific web portal, based on Open OnDemand, accessible via the URL (replacing courseid
with the id given to your course):
courseid.ycrc.yale.edu
Course members must use the course URL to log in to course accounts on Open OnDemand--the normal cluster portals are not accessible to course accounts. You will then authenticate using your standard NetID (without the courseid prefix) and password.
Warning
If you only have a course participant account, but try to log in through the cluster web portal URL, you will get an error in the browser:
Error -- can't find user for cpsc424_test
Run 'nginx_stage --help' to see a full list of available command line options.
SSH Access
To access your course account via terminal and ssh
authentication, connect to the cluster using your course account name. For example:
ssh courseid_netid@grace.ycrc.yale.edu
# or
ssh courseid_netid@mccleary.ycrc.yale.edu
If you already have a permanent researcher account (one that is just your netid) on one of the clusters, the course account will already be setup with any ssh keys previously uploaded to your researcher account. To add a new key, upload your new key and it will be delivered to all of your accounts within a few minutes.
Course Storage
Courses on the YCRC clusters are typically granted a standard 1TiB project storage quota, as well as 125GiB home directory for each course member. If the course needs additional storage beyond the default 1TiB, please contact us at research.computing@yale.edu.
See our cluster storage documentation for details about the different classifications of storage.
Node Reservations
If the instructor has coordinated with the YCRC for dedicated nodes for the course, they are available in an education
or education_gpu
partition. The nodes can be requested using the -p partition_name
flag. See our Slurm documentation for more information on submitting jobs. Note you will be sharing the partitions with any other courses that also requested nodes. If your jobs need to exceed the restrictions of the partitions, please have your instructor or TF contact us.
Course members are welcome to use the public partitions of the cluster. However, we request that students be respectful in their usage as not to disrupt ongoing research work.
Interactive Jobs
salloc -p education
or if your instructor has reserved GPU nodes
salloc -p education_gpu --gpus=1
Batch Jobs
Add the following to your submission script:
#SBATCH -p education
or if your instructor has reserved GPU nodes
#SBATCH -p education_gpu --gpus=1
Web Portal
In any of the app submission forms, type the correct paritition name into the "Partition" field.
Cluster Maintenance
Each cluster is inaccessible twice a year for a three day regularly scheduled maintenance. The maintenance schedule is published here.
Please account for the cluster unavailability when developing course schedules and (for students) completing your assignments.
End of Semester Course Deletion
As mentioned above, all course allocations are temporary. All associated accounts and data will be removed one month after the last day of exams for that semester. If you would like to retain any data in your course account, please download it prior to the deletion date or, if applicable, submit a request to hpc@yale.edu to transfer the data into your research account.
A reminder of the removal will be sent to the instructor to see if it needs to be delayed for any incompletes (for example). Students will not receive a reminder. Instructors, if you would like to retain course materials for future semesters, please copy them off the cluster or to a research account.
Transfer Data to Research Account
If you have a research account on the cluster, you can transfer any data you want to save from your course account to your research account.
Warning
Make sure there is sufficient free space in your research account storage to accomodate any data you are transferring from your course account using getquota
.
-
Login to the cluster using your course account either via Terminal or the Shell app in the OOD web portal.
-
Grant your research account access to your course accounts directories (substitute in your courseid and netid in the example).
# home directory setfacl -m u:netid:rX /home/courseid_netid # project directory on Grace and McCleary setfacl -m u:netid:rX /gpfs/gibbs/project/courseid/courseid_netid
-
Log in as your research account. Check that you can access the above paths.
-
Move to the
transfer
node withssh transfer
. If you are transferring a lot of data, open a tmux session so the transfer can continue if you disconnect from the cluster. -
Initiate a copy of the desired data using
rsync
. For example:mkdir /gpfs/gibbs/project/group/netid/my_course_data rsync -av /gpfs/gibbs/project/courseid/courseid_netid/mydata /gpfs/gibbs/project/group/netid/my_course_data