Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tools:psc [2023/12/14 23:02] – 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 '' | ||
| You can copy files to/from rhea-PSC via rsync, for example '' | You can copy files to/from rhea-PSC via rsync, for example '' | ||
| - | Quick test for interactive queue: '' | + | Alternatively, |
| + | |||
| + | ===== Submitting jobs on the PSC ===== | ||
| + | |||
| + | |||
| + | Jobs are submitted on the PSC via '' | ||
| + | |||
| + | <WRAP alert> | ||
| + | |||
| + | If your job uses a lot of memory, you will see OOM (out-of-memory) errors with any '' | ||
| + | |||
| + | **If you need to run a script that requires command line arguments**, | ||
| + | |||
| + | < | ||
| + | # in your script to be run by the job queue | ||
| + | export bids_dir freesurfer_dir freesurfer_sif license acq_label | ||
| + | do_thing $bids_dir | ||
| + | |||
| + | #in your sbatch call | ||
| + | --export=" | ||
| + | </ | ||
| + | |||
| + | 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 '' | ||
| - | Jobs are submitted on the PSC via sbatch. See sbatch options here https:// | + | To find the jobid of jobs that you previously ran (that are either running, completed successfully, |
| - | * -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) | + | ===== Checking hour allocations ===== |
| - | * --time hh:mm:ss : maximum run time for your job. On RM-shared, the max run time appears to be 48:00:00 | + | |
| - | * --nodes : The number of nodes to use. Typically 1 is sufficient (and appears to be the max you can request on RM-shared) | + | |
| - | * --ntasks-per-node : The number of cores to use per node. Importantly, | + | |
| - | * -n : number of cores requested in total | + | |
| - | * -J " | + | |
| - | * -o : output log file name | + | |
| - | * -e : error log file name | + | |
| - | *//When initially testing an sbatch submission, it is recommended to launch on just one test participant (or one test run). If you are launching jobs for a list of participants or range of runs, this can be accomplished by adding '' | + | |
| + | To check the hours of specific job (also see [[: | ||
| + | To check the hours in general: < | ||
| - | If you need to run a script that requires command line arguments, you can export them, for example: | + | To check the hours per person: < |
| - | '' | + | |
| * allocation hour calculator: TODO | * allocation hour calculator: TODO | ||