Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tools:psc [2023/12/18 14:54] – vsydnor | tools:psc [2026/06/01 15:33] (current) – [Checking hour allocations] will | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Pittsburgh Super Computer ====== | ====== Pittsburgh Super Computer ====== | ||
| - | For planned outages see: https:// | + | **General information** |
| - | To log in to the supercomputer '' | + | * To log in to the supercomputer '' |
| + | * For graphical apps (eg. AFNI), see [[: | ||
| + | * This is world accessible and total independent for either the pitt or UPMC network. **no myapps, [[: | ||
| + | * To test what resources you have access to type '' | ||
| + | * Quick test for interactive queue: '' | ||
| + | * <wrap tip> use '' | ||
| + | * '' | ||
| + | * User Guide: https:// | ||
| + | * For planned outages see: https:// | ||
| + | * see [[: | ||
| + | |||
| + | Command line notes: | ||
| + | < | ||
| + | ssh -Y $USER@bridges2.psc.edu # -Y for X11 display forwarding | ||
| + | projects | ||
| + | </ | ||
| + | ===== Getting an account ===== | ||
| + | - https:// | ||
| + | - you [[https:// | ||
| + | - send user account to PI (Finn or Bea) for approval in the project/ | ||
| + | - request matlab access from https:// | ||
| + | |||
| + | ===== Getting data to and from the PSC ===== | ||
| - | To test what resources you have access to type '' | ||
| - | Quick test for interactive queue: '' | ||
| You can copy files to/from rhea-PSC via rsync, for example '' | You can copy files to/from rhea-PSC via rsync, for example '' | ||
| - | Jobs are submitted on the PSC via sbatch. See sbatch options here https://www.psc.edu/ | + | Alternatively, |
| - | * -p RM-shared : the partition you are requesting resources from. The most common one is RM-shared, but there is also RM, RM-512, and EM (extreme memory) | + | ===== Submitting jobs on the PSC ===== |
| - | * --time hh:mm:ss : maximum run time for your job. On RM-shared, the max run time appears to be 48:00:00. If the partition | + | |
| - | | + | |
| - | * --ntasks-per-node | + | Jobs are submitted on the PSC via '' |
| - | * -n : number of cores requested in total (useful if you are requesting >1 node and dividing requested cores over nodes) | + | |
| - | * -J " | + | <WRAP alert> |
| - | * -o : output log file name | + | |
| - | | + | If your job uses a lot of memory, you will see OOM (out-of-memory) errors |
| - | *//Not sure what resources to request? You can run 1 job with more resources than you think you will need. When the job completes successfully, | + | |
| + | **If you need to run a script | ||
| + | |||
| + | < | ||
| + | # in your script to be run by the job queue | ||
| + | export bids_dir freesurfer_dir freesurfer_sif license acq_label | ||
| + | do_thing | ||
| + | |||
| + | #in your sbatch call | ||
| + | --export=" | ||
| + | </code> | ||
| + | |||
| + | Not sure what resources to request? You can run 1 job with more resources than you think you will need. When the job completes successfully, | ||
| + | |||
| + | ===== Checking the status and resource usage of your submitted jobs ===== | ||
| When you have launched some jobs, you can check on whether they are running via '' | When you have launched some jobs, you can check on whether they are running via '' | ||
| Line 26: | Line 60: | ||
| To find the jobid of jobs that you previously ran (that are either running, completed successfully, | To find the jobid of jobs that you previously ran (that are either running, completed successfully, | ||
| - | If you need to run a script that requires command line arguments, you can export them, for example: | + | ===== Checking hour allocations |
| - | '' | + | |
| + | To check the hours of specific job (also see [[: | ||
| + | |||
| + | To check the hours in general: < | ||
| + | |||
| + | To check the hours per person: < | ||
| * allocation hour calculator: TODO | * allocation hour calculator: TODO | ||