Skip to content

Commit 2da1b1a

Browse files
committed
torch is now open to all
1 parent b186ac5 commit 2da1b1a

8 files changed

Lines changed: 29 additions & 29 deletions

File tree

docs/cloud/03_hpc_bursting_to_cloud/01_intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ To request access to the HPC Bursting capabilities, [please complete this form][
1616
This is not public, only per request of eligible classes or researchers
1717
:::
1818
```sh
19-
ssh <NetID>@torch.hpc.nyu.edu
19+
ssh <NetID>@login.torch.hpc.nyu.edu
2020
```
2121
ssh to the class on GCP (burst login node) - anyone can login but you can only submit jobs if you have approval
2222
```sh

docs/cloud/03_hpc_bursting_to_cloud/02_visualization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Add the following to your SSH config file (~/.ssh/config) on your local workstat
1010
Host burst
1111
HostName burst.hpc.nyu.edu
1212
User <NetID>
13-
ProxyJump <NetID>@torch.hpc.nyu.edu
13+
ProxyJump <NetID>@login.torch.hpc.nyu.edu
1414
ProxyJump <NetID>@burst.hpc.nyu.edu
1515
StrictHostKeyChecking no
1616
UserKnownHostsFile /dev/null

docs/hpc/02_connecting_to_hpc/01_connecting_to_hpc.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The following sections will outline basic ways to connect to the Greene cluster.
1616

1717
To connect to HPC systems, you have to configure the SSH client on your machine. We recommend the following configuration:
1818
```sh
19-
Host torch.hpc.nyu.edu dtn.hpc.nyu.edu
19+
Host dtn.hpc.nyu.edu
2020
User <NetID>
2121
StrictHostKeyChecking no
2222
ServerAliveInterval 60
@@ -60,7 +60,7 @@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
6060
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
6161
It is also possible that a host key has just been changed.
6262
```
63-
Do not be alarmed - this is an issue that occurs because the Greene and Torch clusters have multiple login nodes. For instance, `torch.hpc.nyu.edu` resolves to one of three possible login nodes (`log-1`, `log-2`, and `log-3`). The configuration directive `StrictHostKeyChecking no` referenced in the recommended config above will prevent this error. Ensure that you have not missed adding it.
63+
Do not be alarmed - this is an issue that occurs because the Greene and Torch clusters have multiple login nodes. For instance, `login.torch.hpc.nyu.edu` resolves to one of three possible login nodes (`log-1`, `log-2`, and `log-3`). The configuration directive `StrictHostKeyChecking no` referenced in the recommended config above will prevent this error. Ensure that you have not missed adding it.
6464
:::
6565

6666
:::info SSH Timeout errors
@@ -81,7 +81,7 @@ To access the HPC systems, you must either be on the NYU secure network (such as
8181
Once you're on the VPN or the main NYU network on campus you can SSH directly to torch like so:
8282

8383
```sh
84-
ssh <Your NetID>@torch.hpc.nyu.edu
84+
ssh <Your NetID>@login.torch.hpc.nyu.edu
8585
```
8686

8787
### Windows

docs/hpc/02_connecting_to_hpc/02_x11_forwarding.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
In rare cases when you need to interact with GUI applications on HPC clusters, you need to enable X11 forwarding for your SSH connection. Mac and Linux users will need to run the ssh commands described above with an additional flag:
66

77
```sh
8-
ssh -Y <NYU_NetID>@torch.hpc.nyu.edu
8+
ssh -Y <NYU_NetID>@login.torch.hpc.nyu.edu
99
```
1010

1111
However, Mac users need to install [XQuartz][xquartz], since X-server is no longer shipped with the macOS.

docs/hpc/12_tutorial_intro_shell_hpc/02_connecting_to_hpc.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ From within the NYU network, that is, from an on-campus location, or after you V
3838

3939
To log in to the HPC cluster (Greene), simply use:
4040
```bash
41-
ssh <NetID>@torch.hpc.nyu.edu
41+
ssh <NetID>@login.torch.hpc.nyu.edu
4242
```
4343

4444
### From Windows
@@ -58,7 +58,7 @@ There are many different versions (aka “flavours”) of Linux and how to open
5858
Open a terminal application and enter the following to connect to one of the HPC clusters:
5959
```bash
6060
# this will connect you to Greene HPC cluster
61-
ssh <NetID>@torch.hpc.nyu.edu
61+
ssh <NetID>@login.torch.hpc.nyu.edu
6262
```
6363

6464
### Mac
@@ -67,7 +67,7 @@ Macs have had a terminal built in since the first version of OS X, since it is b
6767
Open a terminal application and enter the following to connect to Greene:
6868
```bash
6969
# this will connect you to Greene HPC cluster
70-
ssh <NetID>@torch.hpc.nyu.edu
70+
ssh <NetID>@login.torch.hpc.nyu.edu
7171
```
7272

7373
### Windows
@@ -227,7 +227,7 @@ If you are using PuTTY on Windows, download and use `pageant` as the SSH agent.
227227
## Modifying your .ssh/config file
228228
Please add the following lines to your `~/.ssh/config` file:
229229
```
230-
Host torch.hpc.nyu.edu dtn.hpc.nyu.edu
230+
Host login.torch.hpc.nyu.edu dtn.hpc.nyu.edu
231231
StrictHostKeyChecking no
232232
ServerAliveInterval 60
233233
ForwardAgent yes
@@ -257,14 +257,14 @@ Let’s attempt to connect to the HPC system now:
257257

258258
If you'd like to connect without typing your password you'll need to copy your public key file to torch first:
259259
```bash
260-
scp ~/.ssh/id_Greene_rsa.pub <NetID>@torch.hpc.nyu.edu:/home/<NetID>
260+
scp ~/.ssh/id_Greene_rsa.pub <NetID>@login.torch.hpc.nyu.edu:/home/<NetID>
261261
```
262262

263263
You'll need to log in with your password at least once even if you plan to use SSH keys in the future because we'll need to set up your keys.
264264

265265
Once you are on the NYU WiFi or VPN you can connect with:
266266
```bash
267-
ssh <NetID>@torch.hpc.nyu.edu
267+
ssh <NetID>@login.torch.hpc.nyu.edu
268268
```
269269

270270
When you are logged in you will see information about your last login, the host you've connected to, and your storage quota. It should look something like this:

docs/hpc/13_tutorial_intro_hpc/03_exploring_remote_resources.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Objectives
1616
## Look Around the Remote System
1717
If you have not already connected to Greene, please do so now:
1818
```bash
19-
[user@laptop ~]$ ssh NetID@torch.hpc.nyu.edu
19+
[user@laptop ~]$ ssh NetID@login.torch.hpc.nyu.edu
2020
```
2121
Take a look at your home directory on the remote system:
2222
```bash
@@ -196,7 +196,7 @@ Now compare the resources of your computer with those of the login node. <br />
196196
</summary>
197197
:::tip[Solution]
198198
```bash
199-
[user@laptop ~]$ ssh NetID@torch.hpc.nyu.edu
199+
[user@laptop ~]$ ssh NetID@login.torch.hpc.nyu.edu
200200
[NetID@log-1 ~]$ nproc --all
201201
[NetID@log-1 ~]$ free -m
202202
```

docs/hpc/13_tutorial_intro_hpc/07_transferring_files_remote.mdx

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -151,19 +151,19 @@ To copy a single file to or from the cluster, we can use `scp` (“secure copy
151151

152152
To *upload* to another computer, the template command is
153153
```bash
154-
[user@laptop ~]$ scp local_file NetID@torch.hpc.nyu.edu:remote_destination
154+
[user@laptop ~]$ scp local_file NetID@login.torch.hpc.nyu.edu:remote_destination
155155
```
156156
in which `@` and `:` are field separators and `remote_destination` is a path relative to your remote home directory, or a new filename if you wish to change it, or both a relative path *and* a new filename. If you don’t have a specific folder in mind you can omit the `remote_destination` and the file will be copied to your home directory on the remote computer (with its original name). If you include a `remote_destination`, note that `scp` interprets this the same way `cp` does when making local copies: if it exists and is a folder, the file is copied inside the folder; if it exists and is a file, the file is overwritten with the contents of `local_file`; if it does not exist, it is assumed to be a destination filename for `local_file`.
157157

158158
Upload the lesson material to your remote home directory like so:
159159
```bash
160-
[user@laptop ~]$ scp amdahl.tar.gz NetID@torch.hpc.nyu.edu:
160+
[user@laptop ~]$ scp amdahl.tar.gz NetID@login.torch.hpc.nyu.edu:
161161
```
162162

163163
## Transferring a Directory
164164
To transfer an entire directory, we add the `-r` flag for “recursive”: copy the item specified, and every item below it, and every item below those… until it reaches the bottom of the directory tree rooted at the folder name you provided.
165165
```bash
166-
[user@laptop ~]$ scp -r amdahl NetID@torch.hpc.nyu.edu:
166+
[user@laptop ~]$ scp -r amdahl NetID@login.torch.hpc.nyu.edu:
167167
```
168168
:::warning[Caution]
169169
For a large directory – either in size or number of files – copying with `-r` can take a long time to complete.
@@ -182,7 +182,7 @@ As you gain experience with transferring files, you may find the `scp` command l
182182

183183
The syntax is similar to `scp`. To transfer to another computer with commonly used options:
184184
```bash
185-
[user@laptop ~]$ rsync -avP amdahl.tar.gz NetID@torch.hpc.nyu.edu:
185+
[user@laptop ~]$ rsync -avP amdahl.tar.gz NetID@login.torch.hpc.nyu.edu:
186186
```
187187
The options are:
188188
- `-a` (archive) to preserve file timestamps, permissions, and folders, among other things; implies recursion
@@ -191,13 +191,13 @@ The options are:
191191

192192
To recursively copy a directory, we can use the same options:
193193
```bash
194-
[user@laptop ~]$ rsync -avP amdahl NetID@torch.hpc.nyu.edu:~/
194+
[user@laptop ~]$ rsync -avP amdahl NetID@login.torch.hpc.nyu.edu:~/
195195
```
196196
As written, this will place the local directory and its contents under your home directory on the remote system. If a trailing slash is added to the source, a new directory corresponding to the transferred directory will not be created, and the contents of the source directory will be copied directly into the destination directory.
197197

198198
To download a file, we simply change the source and destination:
199199
```bash
200-
[user@laptop ~]$ rsync -avP NetID@torch.hpc.nyu.edu:amdahl ./
200+
[user@laptop ~]$ rsync -avP NetID@login.torch.hpc.nyu.edu:amdahl ./
201201
```
202202
:::
203203

@@ -208,7 +208,7 @@ File transfers using both `scp` and `rsync` use SSH to encrypt data sent through
208208
:::info[Change the Rsync Port]
209209
Say we have to connect `rsync` through port 768 instead of 22. How would we modify this command?
210210
```bash
211-
[user@laptop ~]$ rsync amdahl.tar.gz NetID@torch.hpc.nyu.edu:
211+
[user@laptop ~]$ rsync amdahl.tar.gz NetID@login.torch.hpc.nyu.edu:
212212
```
213213
Hint: check the `man` page or “help” for `rsync`. <br />
214214
**[Click for Solution]**
@@ -220,7 +220,7 @@ Hint: check the `man` page or “help” for `rsync`. <br />
220220
[user@laptop ~]$ rsync --help | grep port
221221
--port=PORT specify double-colon alternate port number
222222
See http://rsync.samba.org/ for updates, bug reports, and answers
223-
[user@laptop ~]$ rsync --port=768 amdahl.tar.gz NetID@torch.hpc.nyu.edu:
223+
[user@laptop ~]$ rsync --port=768 amdahl.tar.gz NetID@login.torch.hpc.nyu.edu:
224224
```
225225
:::note
226226
This command will fail, as the correct port in this case is the default: 22.
@@ -235,7 +235,7 @@ Download and install the FileZilla client from [https://filezilla-project.org](h
235235

236236
To connect to the cluster, we’ll just need to enter our credentials at the top of the screen:
237237

238-
- Host: `sftp://torch.hpc.nyu.edu`
238+
- Host: `sftp://login.torch.hpc.nyu.edu`
239239
- User: Your NetID
240240
- Password: Your NetID password
241241
- Port: (leave blank to use the default port)
@@ -275,25 +275,25 @@ If you are transferring large amounts of data you will need to think about what
275275

276276
Say you have a “data” folder containing 10,000 or so files, a healthy mix of small and large ASCII and binary data. Which of the following would be the best way to transfer them to Greene?
277277
```bash
278-
[user@laptop ~]$ scp -r data NYUNetID@torch.hpc.nyu.edu:~/
278+
[user@laptop ~]$ scp -r data NYUNetID@login.torch.hpc.nyu.edu:~/
279279
```
280280
```bash
281-
[user@laptop ~]$ rsync -ra data NYUNetID@torch.hpc.nyu.edu:~/
281+
[user@laptop ~]$ rsync -ra data NYUNetID@login.torch.hpc.nyu.edu:~/
282282
```
283283
```bash
284-
[user@laptop ~]$ rsync -raz data NYUNetID@torch.hpc.nyu.edu:~/
284+
[user@laptop ~]$ rsync -raz data NYUNetID@login.torch.hpc.nyu.edu:~/
285285
```
286286
```bash
287287
[user@laptop ~]$ tar -cvf data.tar data
288288
```
289289
```bash
290-
[user@laptop ~]$ rsync -raz data.tar NYUNetID@torch.hpc.nyu.edu:~/
290+
[user@laptop ~]$ rsync -raz data.tar NYUNetID@login.torch.hpc.nyu.edu:~/
291291
```
292292
```bash
293293
[user@laptop ~]$ tar -cvzf data.tar.gz data
294294
```
295295
```bash
296-
[user@laptop ~]$ rsync -ra data.tar.gz NYUNetID@torch.hpc.nyu.edu:~/
296+
[user@laptop ~]$ rsync -ra data.tar.gz NYUNetID@login.torch.hpc.nyu.edu:~/
297297
```
298298
**[Click for Solution]**
299299
:::

docs/hpc/13_tutorial_intro_hpc/08_running_parallel_job.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ We now have the tools we need to run a multi-processor job. This is a very impor
1717

1818
If you disconnected, log back in to the cluster.
1919
```bash
20-
[user@laptop ~]$ ssh NetID@torch.hpc.nyu.edu
20+
[user@laptop ~]$ ssh NetID@login.torch.hpc.nyu.edu
2121
```
2222

2323
## Install the Amdahl Program

0 commit comments

Comments
 (0)