First of all, you will add your public key to the Laguna user portal. This is to get ready for hands-on activities using Laguna's shell (command line) interface.
-
Open Terminal (Mac) or Windows Subsystem for Linux (Windows)
-
Generate an RSA key pair:
ssh-keygen -t rsa -b 4096 -
Open your public key, id_rsa.pub from ~/.ssh folder.
-
Log in to the Laguna User Portal.
-
Open the User Profile page.
-
Copy and paste the public key in to the Public SSH Key (Regional cluster users only) field.
Note that it may take 1 to 2 hours to get the public key updated to your account
Students may need high-performance computing (HPC) resources when their research or coursework involves computational tasks that exceed the capacity of a regular laptop or desktop. For example, if you’re analyzing or loading a 1–5 GB dataset in-memory (e.g., with pandas in Python), you may hit memory limits. Some empirical tests show pandas can use 2×–4× the memory compared to raw CSV size.
┌──────────────────────────────┐
│ Do you work with large data? │
│ (>1 GB or slow to process) │
└─────────────┬────────────────┘
│Yes
▼
┌─────────────────────────────┐
│ Does your code take >1 hour │
│ or need many iterations? │
└─────────────┬───────────────┘
│Yes
▼
┌─────────────────────────────┐
│ Are you using ML, AI, │
│ simulations, or GPUs? │
└─────────────┬───────────────┘
│Yes
▼
┌─────────────────────────────┐
│ Request HPC Access │
└─────────────────────────────┘
│
▼
┌────────────────────────────────────────────┐
│ If no to any: Can your work finish │
│ faster, more efficiently, or more robustly │
│ on HPC? │
└─────────────┬────────────────────────┬─────┘
│Yes │No
▼ ▼
┌──────────────────────────┐ ┌──────────────────────┐
│ Consider HPC │ │ Regular Computer OK │
└──────────────────────────┘ └──────────────────────┘
- Local HPC: [QCL GPU and Dell Server] QCL Computing Resources
- Regional HPC Cluster: USC Laguna - https://uschpc.github.io/regional-computing-website/ (Slide #1)
- National Supercomputers: ACCESS
ACCESS is the NSF Advanced Cyberinfrastructure Coordination Ecosystem: Services & Support. ACCESS is the follow-up program to NSF’s Extreme Science and Engineering Discovery Environment (XSEDE). ACCESS aims to be a center point for making use of NSF-funded computational, storage, and network resources for the U.S. national cyberinfrastrucutre research ecosystem.
- Allocations Support: awards time on cyberinfrastructure
- User Support: answers user questions/tickets, provides documentation, works directly with researchers
- Operations Support: helps with user account creation/ management, login to/access to cyberinfrastructure
- Monitoring/Accounting Support: tracks and reports on usage – e.g., by project or by resource
An Allocation Request is a proposal in which you describe:
- Project Title and Abstract
- Project Category (Explore, Discover, Accelerate, Maximize)
- The number of Credits you wish to request for your project
An Allocation is an active Allocation Request
LAGUNA Cluster system spec
- 16 compute nodes (128 cores, 365 GB/node)
- 8 GPU nodes (2× NVIDIA L40S, 735 GB/node)
- Storage: 100 GB/user, 5 TB/project (+5 TB on request)
- 1 login node
SDSC Expanse system spec
- 728 compute nodes (128 cores/node)
- 52 GPU nodes (4× V100 GPUs/node)
- 93K+ CPU cores, 200+ GPUs
- ~247 TB memory, 19 PB storage
- High-speed InfiniBand network
To get allocations from Laguna, your faculty advisor and you will be working together for the following steps.
- Your professor (Principal Investigator, PI) requests a PI account and project on Laguna: Contact local administrator (qcl@cmc.edu) or submit a ticket to laguna-support@usc.edu to request access to Laguna. USC's CARC team will send PI a Google form to collect information for research.
- Once USC CARC approves and provisions a PI account, PI can access the user portal at https://hpcaccount.usc.edu/
- PI cretes a new project in the user portal if it has not created.
- Research Assistants find the EPPN value from https://hpcaccount.usc.edu/static/secure/incommon.php (this is your Laguna user name.)
- PI adds student (Research Assistnat, RA) accounts to the project in the Project page.
- Once USC CARC provisions RA accounts, RAs can access the user portal as well.
The workflow for using Laguna typically consists of the following steps:
- Connecting to the Internet
- Logging in to the Laguna login node
- Organizing files
- Transferring files
- Installing and running software
- Testing your job interactively on a compute node
- Submitting your job to the job scheduler to run it remotely on a compute node
- Monitoring your job and checking the results when it has completed
All participants should login and check their user account on the Laguna cluster.
- CARC Accoount and EPPN (user name) https://uschpc.github.io/regional-computing-website/user-guides/get-started-laguna.html
- OnDemand Apps: JupyterLab, RStudio, Code Server.
- Web Interface: https://www.carc.usc.edu/user-guides/carc-ondemand/ondemand-overview
- Interactive Session via Shell
- modules
- virtual environment (conda)
- Advanced use such as Shell, container/docker, cron jobs, etc.
- OnDemand Job Composer
- Shell Script
- SLURM
- Data Storages
- Data Transfer https://uschpc.github.io/regional-computing-website/user-guides/get-started-laguna/file-systems-overview

