Skip to content

Commit 6ddcabb

Browse files
committed
Update readme
1 parent a6fbce0 commit 6ddcabb

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,30 @@ Choose one of the following methods to set up your environment:
112112

113113
Alternatively, open the command palette in VSCode by pressing `Shift+Alt+P` (Windows/Linux) or `Shift+Cmd+P` (Mac), and type `Dev Containers: Reopen in Container`.
114114

115+
### Using Slurm within Apptainer
116+
117+
In order to access Slurm with submitit from within the container, you first need to set up passwordless SSH to the login node.
118+
119+
On the cluster, create a new SSH key pair in case you don't have one yet
120+
121+
```bash
122+
ssh-keygen -t ed25519 -C "your_email@example.com"
123+
```
124+
125+
and add your public key to the `authorized_keys`:
126+
127+
```bash
128+
cat ~/.ssh/id_ed25519.pub >> ~/.ssh/authorized_keys
129+
```
130+
131+
You can verify that this works by running
132+
133+
```bash
134+
ssh $USER@$HOST exit
135+
```
136+
137+
which should return without any prompt.
138+
115139
## 📦 Package Management
116140

117141
1. **Update dependencies**

0 commit comments

Comments
 (0)