# 2025-03-12-NCL HPC Carpentry (Day 2)
## This document:
## https://hackmd.io/@rseteam/2025-03-12-NCL
### Links:
- [Carpentries](https://carpentries.org)
- [RSE Team](https://rse.ncldata.dev)
- [Code of Conduct](https://docs.carpentries.org/policies/coc/)
- [Workshop website](https://nclrse-training.github.io/2025-03-12-NCL/)
- [Link to lesson website](https://nclrse-training.github.io/hpc-intro-rocket/)
- [Right-click to copy link to lesson data](http://training.researchcomputing.ncl.ac.uk/training-materials/hpc-intro-data.tar.gz)
- [Right-click to copy link to lesson code](https://nclrse-training.github.io/hpc-intro-cirrus/files/python-pi-code.tar.gz)
- [Pre-workshop survey](https://carpentries.typeform.com/to/wi32rS?slug=2025-03-12-NCL)
- [Post-workshop survey](https://carpentries.typeform.com/to/UgVdRQ?slug=2025-03-12-NCL)
- [Code Community](https://teams.microsoft.com/l/team/19%3aG79Rz7Mhk6rC0mhia04YCD-nj7WabLMxhnyb1YLp04A1%40thread.tacv2/conversations?groupId=7059214c-2200-4ad6-a739-9d350c74c7a9&tenantId=9c5012c9-b616-44c2-a917-66814fbe3e87)
- [MobaXterm Home Edition Portable](https://download.mobatek.net/2502024121622306/MobaXterm_Portable_v25.0.zip) (for Windows users. Mac and linux user already have a 'terminal' application)
- **[Rocket and Comet Partitions and Resources](https://hpc.researchcomputing.ncl.ac.uk/calc/resources/)**
- **[NEW HPC Portal](https://hpc.researchcomputing.ncl.ac.uk/)**
### log in to Rocket ON CAMPUS
- host: rocket.hpc.ncl.ac.uk
- username: YOUR username like c1234567
#### Can't access RDW?
* `kinit`
* `klist`
* log a ticket with NUIT
#### Need a new HPC project? Log a ticket:
Direct Link: [HPC - New Project / Service Catalogue / NU Service](https://nuservice.ncl.ac.uk/HEAT/Modules/SelfService/#serviceCatalog/request/BAB45A73C3C342F6A305D4D38A46FC88)
You will need:
* Name of research project or research area:
* Name of primary contact or PI:
* Name of a secondary contact:
* List of the software which will be used (e.g. Python):
* Type of processing or computation which will be undertaken (e.g. CFD, sequencing, etc):
## Connecting from off-campus
We have to use unix.ncl.ac.uk as a 'jump host' _don't do this if you are ON campus - it will make things very slow_. To register for this service please complete the [registration form](https://forms.microsoft.com/e/uUir420SEX). The new Unix account will usually be ready for use the next day.
Before connecting, you need to log into the [NUIT Application Access Portal](https://ama.ncl.ac.uk/)
[Link to detailed walk through](https://hpc.researchcomputing.ncl.ac.uk/dokuwiki/doku.php?id=started:connecting_offsite)
## Using Anaconda?
Anaconda won't be available on Comet, but [conda-forge](https://conda-forge.org/) will be available.
## Interesting Questions
Q: The `module avail` command doesn't run via `srun`.
A: The `module` command expects an interactive terminal (like your SSH session), you don't get one by default with the `srun` command. We can force one to be assigned with the `--pty` option, try:
`srun --pty --partition=short /bin/bash -c "module avail"`
### Attendance:
## Please sign in using your <span style="color:red">university email</span> and your <span style="color:red">name</span>:
## Learners
## Instructors
1. jannetta.steyn@newcastle.ac.uk, Jannetta Steyn
2. carol.booth2@newcastle.ac.uk, Carol Booth
3. lorenzo.rossi@newcastle.ac.uk, Lorenzo Rossi
4. frances.hutchings@newcastle.ac.uk, Frances Turner
## FEEDBACK
### Something we can improve on
### Something you liked
Good and helpful workshop. Thanks to all the team!
### Comments