|
1 | 1 | # HPC Bursting |
2 | 2 |
|
3 | | -We facilitate access to cloud bursting. |
| 3 | +[gcp-cost-calculator]: https://cloudpricingcalculator.appspot.com/ |
| 4 | +[bursting-form]: https://sites.google.com/nyu.edu/nyu-hpc/hpc-systems/cloud-computing/hpc-bursting-to-cloud/hpc-bursting-request-form?authuser=0 |
| 5 | + |
| 6 | +HPC may provide bursting capabilities to researchers or classes, in some cases, in order to augment the available resources. Bursting is ideal for when you need a large amount of resources for a very short period of time. The way that bursting is made possible is by running a scalable SLURM cluster in the Google Cloud Platform (GCP), which is separate from the on-premise HPC clusters. |
| 7 | + |
| 8 | +Bursting is not available to all users and requires advanced approval. In order to get access to these capabilities, please contact hpc@nyu.edu to check your eligibility. Please let us know the amount of storage, total CPUs, Memory, GPU, the number of days you require access, and the estimated total CPU/GPU hours you will use. For reference, please review the [GCP cost calculator][gcp-cost-calculator]. Please send a copy of your cost calculation to hpc@nyu.edu as well. |
| 9 | + |
| 10 | +:::tip |
| 11 | +To request access to the HPC Bursting capabilities, [please complete this form][bursting-form]. |
| 12 | +::: |
| 13 | + |
| 14 | +## Running a Bursting Job |
| 15 | +Note: this is not public, only per request of eligible classes or researchers |
| 16 | +```sh |
| 17 | +ssh <NetID>@greene.hpc.nyu.edu |
| 18 | +``` |
| 19 | +ssh to the class on GCP (burst login node) - anyone can login but you can only submit jobs if you have approval |
| 20 | +```sh |
| 21 | +ssh burst |
| 22 | +``` |
| 23 | +Start an interactive job |
| 24 | +```sh |
| 25 | +srun --account=hpc --partition=interactive --pty /bin/bash |
| 26 | +``` |
| 27 | +If you got an error "Invalid account or account/partition combination specified" it means your account is not approved to use cloud bursting. |
| 28 | + |
| 29 | +Once your files are copied to the bursting instance you can run a batch job from the interactive session. |
| 30 | + |
| 31 | +## Access to Slurm Partitions |
| 32 | +In the example above the partition "interactive" is used. You can list current partitions by running command |
| 33 | +```sh |
| 34 | +sinfo |
| 35 | +``` |
| 36 | + |
| 37 | +However, approval is required to submit jobs to the partitions. Partitions are set up by the resources available to a job, such as the number of CPU, amount of memory, and number of GPUs. Please email hpc@nyu.edu to request access to a specific partition or create a new partition (e.g. 10 CPUs and 64 GB Memory) for more optimal cost/performance of your job. |
| 38 | + |
| 39 | +### Storage |
| 40 | + |
| 41 | +Greene's `/home` and `/scratch` are mounted (available) at login node of bursting setup. |
| 42 | + |
| 43 | +Compute node however, do have independent `/home` and `/scratch`. These `/home` and `/scratch` mounts are persistent, are available from any compute node and independent from `/home` and `/scratch` at Greene. |
| 44 | + |
| 45 | +User may need to copy data from Greene's `/home` or `/scratch` to GCP mounted `/home` or `/scratch` |
| 46 | + |
| 47 | +When you run a bursting job the compute nodes will not see those file mounts. This means that you need to copy data to the burst instance. |
| 48 | + |
| 49 | +The file systems are independent, so you must copy data to the GCP location. |
| 50 | + |
| 51 | +To copy data, you must first start an interactive job. Once started, you can copy your data using scp from the HPC Data Transfer Nodes (greene-dtn). Below is the basic setup to copy files from Greene to your home directory while you are in an interactive bursting job: |
| 52 | +```sh |
| 53 | +scp <NetID>@greene-dtn.hpc.nyu.edu:/path/to/files /home/<NetID>/ |
| 54 | +``` |
| 55 | + |
| 56 | + |
| 57 | +### Current Limits |
| 58 | + |
| 59 | +20,000 CPUs available at any given time for all active bursting users |
0 commit comments