Skip to content

Commit 226158f

Browse files
committed
Updated accounts and commented out questions
1 parent 0408f94 commit 226158f

1 file changed

Lines changed: 33 additions & 24 deletions

File tree

docs/userguides/scholar/scholar-spark.md

Lines changed: 33 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
# Scholar Spark Nodes
22

3-
!!! info "You are viewing an unlisted demo page"
4-
This page is unlisted and contains information that not might represent the current state of Scholar Spark nodes.
3+
!!! info "You are viewing an unlisted demo page for early users of the Spark partitions"
4+
This page is unlisted and contains information that might not represent the current state of Scholar Spark nodes.
55

6-
In particular, the `spark` account, and the `spark-interactive` and `spark-batch` partitions do not yet exist. Early users should instead use the `testpbs` account and the `scholar-l` or `scholar-k` partitions.
6+
In particular, the `scholar` account cannot yet access Spark nodes, and the `spark-interactive` and `spark-batch` partitions do not yet exist.
7+
8+
**Early users should instead use the `testpbs` account and the `scholar-l` or `scholar-k` partitions.**
79

810

911
## Overview
1012

11-
Scholar Spark nodes exist as a unique subset of our Scholar instructional cluster. It can be accessed as a typical cluster, with a job scheduler distributing batch jobs onto its worker nodes, or as an interactive resource, with software packages available through a desktop-like environment on the spark-interactive nodes.
13+
Scholar Spark nodes exist as a unique subset of our Scholar instructional cluster. They can be accessed as a typical cluster, with a job scheduler distributing batch jobs onto its worker nodes, or as an interactive resource, with software packages available through a desktop-like environment on the spark-interactive nodes.
1214

1315
### Specifications
1416

@@ -31,7 +33,7 @@ All Spark nodes run the Ubuntu 24.04 LTS operating system.
3133
The Spark nodes are a subset of the broader Scholar instructional cluster. Because of this, there are not dedicated front-end nodes. Instead, users can perform work interactively on a "spark interactive" node. Further, being a subset of Scholar, the Spark nodes share the same Slurm scheduler and filesystems (`/home`, `/scratch`, `/depot`, `/class`, and `/apps`) as the broader Scholar cluster. See the [Storage Systems](./storage.md) user guide page for more details!
3234

3335
### Partitions
34-
The Spark nodes are are split into two partitions in the back-end nodes:
36+
The Spark nodes are are split into two partitions:
3537

3638
* **Spark Interactive**
3739
* Spark Interactive nodes are "oversubscribed" and are available for immediate access by students and researchers through the Slurm scheduler.
@@ -40,16 +42,16 @@ The Spark nodes are are split into two partitions in the back-end nodes:
4042
* These nodes function like traditional back-end compute nodes, and allow you to request resources exclusive to you through the Slurm scheduler.
4143
* If the resources you requested are not available, your job will be queued and will run when resources become available.
4244

43-
!!! question
44-
**TODO** Are we calling this "spark batch" or "spark compute" Slack channel and outline word doc differ
45+
<!-- !!! question
46+
**TODO** Are we calling this "spark batch" or "spark compute" Slack channel and outline word doc differ -->
4547

4648
![Image showing a cluster layout, with the spark interactive and batch paritions specified](../../assets/images/userguides/scholar/spark/spark_structure.png)
4749

4850

4951
### ECE Spark Nodes
5052

51-
!!! question
52-
**TODO** If RCAC + ECE nodes are in the same interactive and batch partitions (per slack), I'm assuming that access to ECE nodes is managed by the reservations (as per the scholar spark expansion word doc)?
53+
<!-- !!! question
54+
**TODO** If RCAC + ECE nodes are in the same interactive and batch partitions (per slack), I'm assuming that access to ECE nodes is managed by the reservations (as per the scholar spark expansion word doc)? -->
5355

5456

5557
The 80 DGX Spark nodes within the `scholar-k` subcluster are for exclusive use by ECE researchers and courses at the Purdue Main Campus and Purdue Indianapolis. All eligible ECE users are added to reservations that will grant them access to these nodes, and will be automatically used for submitted jobs.
@@ -100,32 +102,39 @@ Selecting any of these will bring you to a submission page to specify the accoun
100102

101103
### Accessing Through Scholar Frontend
102104

103-
As Scholar Spark nodes exist within the broader Scholar cluster, you must first login to the Scholar front-end to access the Spark nodes. Once you are logged into Scholar, you can navigate onto the Spark nodes. An overview of the methods for accessing scholar are given below, but complete details can be found in the Scholar [Accounts](./accounts.md#logging-in) userguide page.
105+
As Scholar Spark nodes exist within the broader Scholar cluster, you must first login to the Scholar front-end to access the Spark nodes. Once you are logged into Scholar, you can navigate onto the Spark nodes. An overview of the methods for accessing Scholar are given below, but complete details can be found in the Scholar [Accounts](./accounts.md#logging-in) userguide page.
104106

105-
!!! question
106-
**TODO** Are we supporting direct ssh to interactive nodes?
107+
<!-- !!! question
108+
**TODO** Are we supporting direct ssh to interactive nodes? -->
107109

108110
Once logged in, you can submit resource requests to the Slurm scheduler to request resources on the Spark nodes. These can either be [batch jobs](./run_jobs/generic_slurm_jobs.md) or [interactive jobs](./run_jobs/interactive_jobs.md).
109111

110112
To request resources on Spark nodes specifically, you need use a Spark specific **Account** and **Partition**:
111113

114+
115+
!!! info "Different Accounts and Partitions Necessary for Early Users"
116+
Early users of Spark nodes should instead use the following accounts and partitions:
117+
118+
* `--account=testpbs`
119+
* `--partition=scholar-l` or `--partition=scholar-k`
120+
112121
=== "Account"
113122

114-
!!! question
115-
**TODO** Just checking that we're only having a single account for all spark usage (Powerpoint shows this) for all spark access types (Non-ECE, ECE-WL, ECE-Indy)
123+
<!-- !!! question
124+
**TODO** Just checking that we're only having a single account for all spark usage (Powerpoint shows this) for all spark access types (Non-ECE, ECE-WL, ECE-Indy) -->
116125

117-
To access Spark nodes, you must submit jobs through the `spark` account.
126+
To access Spark nodes, you must submit jobs through the `scholar` account.
118127

119128
This can be specified via the command line options:
120129

121130
``` linenums="0"
122-
--account=spark
131+
--account=scholar
123132
```
124133

125134
or
126135

127136
``` linenums="0"
128-
-A spark
137+
-A scholar
129138
```
130139

131140

@@ -153,8 +162,8 @@ To request resources on Spark nodes specifically, you need use a Spark specific
153162
-P spark-batch
154163
```
155164

156-
!!! question
157-
**TODO** How are GPU gres going to be managed when submitting to oversubscribed spark-interactive nodes? Can they all be allocated the same GPU?
165+
<!-- !!! question
166+
**TODO** How are GPU gres going to be managed when submitting to oversubscribed spark-interactive nodes? Can they all be allocated the same GPU? -->
158167

159168
---
160169

@@ -165,7 +174,7 @@ The following script requests a batch job with 10 cores and 1 gpu for a 1 hour d
165174

166175
```bash title="example_spark_job.sub" linenums="0"
167176
#!/bin/bash
168-
#SBATCH --account=spark
177+
#SBATCH --account=scholar
169178
#SBATCH --partition=spark-batch
170179
#SBATCH --time=0-1:00:00
171180
#SBATCH --nodes=1
@@ -187,15 +196,15 @@ sbatch example_spark_job.sub
187196

188197
#### Interactive Job Example
189198

190-
!!! question
191-
**TODO**: Are users going to be able to submit batch jobs to the Spark interactive partition, and interactive jobs to the Spark batch partition? If not, how do we plan on controlling that.
199+
<!-- !!! question
200+
**TODO**: Are users going to be able to submit batch jobs to the Spark interactive partition, and interactive jobs to the Spark batch partition? If not, how do we plan on controlling that. -->
192201

193202
Alternatively, you can request an interactive shell on a Spark node via the `sinteractive` command. The submission options are identical to batch submission, but you will instead be placed in an interactive shell running on a Spark node.
194203

195204
In the example below, running `sinteractive` on a frontend node results in a shell running on `scholar-l005`. Make sure that the correct module tree is loaded on Spark nodes!
196205

197206
```text hl_lines="1 8" linenums="0"
198-
username@scholar-fe00 ~ $ sinteractive -A spark --partition=spark-interactive --time=0-1:00:00 --nodes=1 --cpus-per-task=10 --gres=gpu:1
207+
username@scholar-fe00 ~ $ sinteractive -A scholar --partition=spark-interactive --time=0-1:00:00 --nodes=1 --cpus-per-task=10 --gres=gpu:1
199208
salloc: Pending job allocation 456808
200209
salloc: job 456808 queued and waiting for resources
201210
salloc: job 456808 has been allocated resources
@@ -213,7 +222,7 @@ username@scholar-l005 ~ $ module load modtree/spark
213222
RCAC offers a wide array of pre-installed applications and libraries across many different disciplines. These applications are accessible through the `LMod` module system. This module system can load and unload programs and commands within your shell environment.
214223

215224

216-
On Spark nodes, which contain `aarch64` architecture, **you must have the Spark module tree loaded**, which can be done with the command `module load modtree/spark`. The modules that are available in the `rcac` and `modtree/all` module trees are built with `x86_64` architecture. and will not work on Spark nodes.
225+
On Spark nodes, which contain `aarch64` architecture, _**you must have the Spark module tree loaded**_, which can be done with the command `module load modtree/spark`. The modules that are available in the `rcac` and `modtree/all` module trees are built with `x86_64` architecture. and will not work on Spark nodes.
217226

218227
Once the Spark module tree is loaded, users can see available modules with the `module avail` command:
219228

0 commit comments

Comments
 (0)