You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/userguides/scholar/scholar-spark.md
+33-24Lines changed: 33 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,16 @@
1
1
# Scholar Spark Nodes
2
2
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.
5
5
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.**
7
9
8
10
9
11
## Overview
10
12
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.
12
14
13
15
### Specifications
14
16
@@ -31,7 +33,7 @@ All Spark nodes run the Ubuntu 24.04 LTS operating system.
31
33
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!
32
34
33
35
### 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:
35
37
36
38
***Spark Interactive**
37
39
* 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:
40
42
* These nodes function like traditional back-end compute nodes, and allow you to request resources exclusive to you through the Slurm scheduler.
41
43
* If the resources you requested are not available, your job will be queued and will run when resources become available.
42
44
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-->
45
47
46
48

47
49
48
50
49
51
### ECE Spark Nodes
50
52
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)?-->
53
55
54
56
55
57
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
100
102
101
103
### Accessing Through Scholar Frontend
102
104
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.
104
106
105
-
!!! question
106
-
**TODO** Are we supporting direct ssh to interactive nodes?
107
+
<!--!!! question
108
+
**TODO** Are we supporting direct ssh to interactive nodes?-->
107
109
108
110
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).
109
111
110
112
To request resources on Spark nodes specifically, you need use a Spark specific **Account** and **Partition**:
111
113
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
+
112
121
=== "Account"
113
122
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) -->
116
125
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.
118
127
119
128
This can be specified via the command line options:
120
129
121
130
``` linenums="0"
122
-
--account=spark
131
+
--account=scholar
123
132
```
124
133
125
134
or
126
135
127
136
``` linenums="0"
128
-
-A spark
137
+
-A scholar
129
138
```
130
139
131
140
@@ -153,8 +162,8 @@ To request resources on Spark nodes specifically, you need use a Spark specific
153
162
-P spark-batch
154
163
```
155
164
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?-->
158
167
159
168
---
160
169
@@ -165,7 +174,7 @@ The following script requests a batch job with 10 cores and 1 gpu for a 1 hour d
**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.-->
192
201
193
202
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.
194
203
195
204
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!
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.
214
223
215
224
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.
217
226
218
227
Once the Spark module tree is loaded, users can see available modules with the `module avail` command:
0 commit comments