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: _posts/hpc/2018-07-10-sherlock-jupyter.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ tags:
12
12
- resources
13
13
---
14
14
15
-
Today we are going to walk through using a [tool](https://github.com/drorlab/forward) provided by one of our users to set up port forwarding on Sherlock. What does this mean? It means you...
15
+
Today we are going to walk through using a [tool](https://github.com/vsoch/forward) provided by one of our users to set up port forwarding on Sherlock. What does this mean? It means you...
16
16
17
17
- will run a password protected jupyter notebook on a cluster node
18
18
- can access the notebook in a browsr on your local machine
@@ -26,7 +26,7 @@ Likely some of you are doing this on your own with basic bash commands, and this
26
26
27
27
### Collaborative Scripts
28
28
29
-
The repository has a folder of general sbatch scripts that expose ports that can be forwarded. If you add a new script that you find useful and want to share with others, we encourage you to <ahref="https://github.com/drorlab/forward"target="_blank">tell us about it</a>! If it's not perfect or finished, don't be afraid to share! We will provide any additional help needed to finish up your script.
29
+
The repository has a folder of general sbatch scripts that expose ports that can be forwarded. If you add a new script that you find useful and want to share with others, we encourage you to <ahref="https://github.com/vsoch/forward"target="_blank">tell us about it</a>! If it's not perfect or finished, don't be afraid to share! We will provide any additional help needed to finish up your script.
30
30
31
31
### Community Support
32
32
@@ -41,7 +41,7 @@ There are a set of commands you will need to run just once to configure the tool
41
41
Make sure you put the folder somewhere meaningful. A subfolder of `$HOME` is a suggestion. This will be your working location for future use of the tool, as it holds scripts and a parameter file, `params.sh`
42
42
43
43
```bash
44
-
git clone https://github.com/drorlab/forward
44
+
git clone https://github.com/vsoch/forward
45
45
cd forward
46
46
```
47
47
@@ -58,7 +58,7 @@ Let's take a look at what we have here!
58
58
```
59
59
60
60
### Step 2: Generate your Parameters
61
-
This is a one time generation script that will create a parameter text file with a port, username, and cluster resource. You can generate it by running the script [setup.sh](https://github.com/drorlab/forward/blob/master/setup.sh):
61
+
This is a one time generation script that will create a parameter text file with a port, username, and cluster resource. You can generate it by running the script [setup.sh](https://github.com/vsoch/forward/blob/master/setup.sh):
62
62
63
63
```bash
64
64
$ bash setup.sh
@@ -199,14 +199,14 @@ We have just set up a password on Sherlock, and are now back on our _local machi
199
199
200
200
201
201
### 3.1. Start a Session
202
-
From the directory where we cloned, we can start a session using the [start.sh](https://github.com/drorlab/forward/blob/master/start.sh) script. This is a general script to start any kind of session, and here we will show how to start a jupyter notebook in a specific directory:
202
+
From the directory where we cloned, we can start a session using the [start.sh](https://github.com/vsoch/forward/blob/master/start.sh) script. This is a general script to start any kind of session, and here we will show how to start a jupyter notebook in a specific directory:
203
203
204
204
```bash
205
205
bash start.sh <software> <path>
206
206
bash start.sh jupyter /path/to/dir
207
207
```
208
208
209
-
What's going on? It will look in the folder of [sbatch scripts](https://github.com/drorlab/forward/blob/master/sbatches) and find one named correpondingly to the command we issued. This means that there is a file called [jupyter.sbatch](https://github.com/drorlab/forward/blob/master/sbatches/jupyter.sbatch) in that folder. Note that, to
209
+
What's going on? It will look in the folder of [sbatch scripts](https://github.com/vsoch/forward/blob/master/sbatches) and find one named correpondingly to the command we issued. This means that there is a file called [jupyter.sbatch](https://github.com/vsoch/forward/blob/master/sbatches/jupyter.sbatch) in that folder. Note that, to
210
210
make this simple, we also have sbatch scripts for using jupyter with different Python kernels:
211
211
212
212
@@ -279,7 +279,7 @@ Killing py3-jupyter slurm job on sherlock
279
279
Killing listeners on sherlock
280
280
```
281
281
282
-
There are additional details and debugging tips in the <a href="https://github.com/drorlab/forward" target="_blank">main repository</a>! Happy Jupyter-ing!
282
+
There are additional details and debugging tips in the <a href="https://github.com/vsoch/forward" target="_blank">main repository</a>! Happy Jupyter-ing!
283
283
284
284
## Contribute!
285
285
The cool thing about small efforts like these is that they provide very useful tools for you
Contributing can also be as simple as suggesting a feature or reporting a bug on the <a href="https://github.com/drorlab/forward/issues" target="_blank">issues board</a>.
307
-
See the <a href="https://github.com/drorlab/forward" target="_blank">main repository</a> for how to contribute.
306
+
Contributing can also be as simple as suggesting a feature or reporting a bug on the <a href="https://github.com/vsoch/forward/issues" target="_blank">issues board</a>.
307
+
See the <a href="https://github.com/vsoch/forward" target="_blank">main repository</a> for how to contribute.
0 commit comments