-
Notifications
You must be signed in to change notification settings - Fork 5
/
09-from-hpc.qmd
31 lines (21 loc) · 957 Bytes
/
09-from-hpc.qmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# From HPC to Cloud
## Key Players in High Performance Computing
![Key Players in HPC](images/hpc_players.png){#fig-hpc-players}
- Our Machine
- Head Node
- HPC Worker
- Shared Storage
## Analogies with HPC
|Component|HPC|DNAnexus|
|---------|---|--------|
|**Driver/Requestor**|Head Node of Cluster|API Server|
|**Submission Script Language**|PBS/SLURM|dx-toolkit|
|**Worker**|Requested from private pool of machines in cluster|Requested from Pool of Machines from AWS/Azure|
|**Shared Storage**|Shared File System (Lustre, GPFS)|Project Storage|
|**Worker I/O**|Handled by Shared File System|Transferred to/from Project Storage by Worker|
## HPC vs. DNAnexus Commands
|Task |dx-toolkit |PBS |SLURM |
|-------|-----------|------|---------|
|**Run Job** |`dx run <app-id> <script>`|`qsub <script>`|`sbatch <script>`|
|**Monitor Jobs** |`dx find jobs`|`qstat`|`squeue`|
|**Kill Job**|`dx terminate <jobid>`|`qdel <jobid>`|`scancel <jobid>`|