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/hpc/12_tutorial_intro_shell_hpc/02_connecting_to_hpc.mdx
+6-15Lines changed: 6 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -202,25 +202,16 @@ Once you are on the NYU WiFi or VPN you can connect with:
202
202
ssh <NetID>@login.torch.hpc.nyu.edu
203
203
```
204
204
205
-
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:
205
+
When you are logged in you will see information about your last login. It should look something like this:
206
206
207
207
```bash
208
-
Last login: Fri May 9 09:45:18 2025 from 0.0.0.0
209
-
210
-
Hostname: log-1 at Mon May 12 10:48:19 EDT 2025
211
-
212
-
Filesystem Environment Backed up? Allocation Current Usage
213
-
Space Variable /Flushed? Space / Files Space(%) / Files(%)
(NetID@login.torch.hpc.nyu.edu) Authenticate with PIN ... at https://login.microsoft.com/device and press ENTER.
210
+
Last login: Tue Mar 17 17:16:15 2026 from 10.27.3.62
211
+
[NetID@torch-login-4 ~]$
221
212
```
222
213
223
-
By looking at the information after *Hostname:* and in the prompt you'll notice that the machine you're currently logged into is not Torch. This is expected. You've just logged into a _login node_ that is connected to Torch. It is from the login nodes that you will submit jobs to Torch.
214
+
By looking at the information after *Hostname:* and in the prompt you'll notice that the machine you're currently logged into is not Torch. This is expected. You've just logged into a _login node_ that is connected to Torch. It is from the login nodes that you will submit jobs to Torch.
224
215
225
216
If you logged in using PuTTY this will not apply because it does not offer a local terminal.
Copy file name to clipboardExpand all lines: docs/hpc/13_tutorial_intro_hpc/03_exploring_remote_resources.mdx
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,18 +43,19 @@ The remote computer’s home directory shares almost nothing in common with the
43
43
44
44
Most high-performance computing systems run the Linux operating system, which is built around the [UNIX Filesystem Hierarchy Standard](https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard). Instead of having a separate root for each hard drive or storage medium, all files and devices are anchored to the “root” directory, which is `/`:
45
45
```bash
46
-
[NetID@log-1 ~]$ ls /
47
-
afs bin@ dev gpfs lib@ media mnt opt root sbin@ share state tmp var
48
-
archive boot etc home lib64@ misc net proc run scratch srv sys usr vast
46
+
[NetID@torch-login-4 ~]$ ls /
47
+
afs boot home media net projects sbin srv tmp
48
+
archive dev lib misc opt root scratch state usr
49
+
bin etc lib64 mnt proc run share sys var
50
+
[NetID@torch-login-4 ~]$
49
51
```
50
-
The `/home/NetID`, `/scratch/NetID`, `/archive/NetID`, and `/vast/NetID` directories are created for you by default and they are where you'll probably store most of your files, but there are other options as well. Please see the tip below and our [storage documentation](../03_storage/01_intro_and_data_management.mdx) for details about how these directories differ, as well as other storage options available. Other folders on a UNIX OS contain system files and change as you install new software or upgrade your OS.
52
+
The `/home/NetID`, `/scratch/NetID`and `/archive/NetID` directories are created for you by default and they are where you'll probably store most of your files, but there are other options as well. Please see the tip below and our [storage documentation](../03_storage/01_intro_and_data_management.mdx) for details about how these directories differ, as well as other storage options available. Other folders on a UNIX OS contain system files and change as you install new software or upgrade your OS.
51
53
52
54
:::tip[Using the HPC filesystems]
53
55
On Geene, you have a number of places where you can store your files. These differ in both the amount of space allocated and whether or not they are backed up.
54
56
55
57
-**Home** – data stored here is available throughout the HPC system, and often backed up periodically. Please note the limit on the number of files (inodes) which can get used up easily. Use the `myquota` command to ensure that you are not running out of inodes!
56
58
-**Scratch** – used for temporary file storage while running jobs. It is not backed up and files that are unused for over 60 days are purged. It should not be used for long term storage.
57
-
-**Vast** – flash-drive based system that is optimal for workloads with high I/O rates. Like the `scratch` storage, it is also not backed up and files that are unused for over 60 days are purged.
58
59
-**Research Project Space (RPS)** – provides data storage space for research projects that is easily shared amongst collaborators, backed up, and not subject to the old file purging policy. Note that it is a paid service.
59
60
-**Archive** – provides a space for long-term storage of research output. It is only accessible from the login nodes, so it is inaccessible by running jobs.
Copy file name to clipboardExpand all lines: docs/hpc/13_tutorial_intro_hpc/05_environment_variables.mdx
+32-13Lines changed: 32 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,26 +20,45 @@ The shell is just a program, and like other programs, it has variables. Those va
20
20
21
21
Variables are a great way of saving information under a name you can access later. In programming languages like Python and R, variables can store pretty much anything you can think of. In the shell, they usually just store text. The best way to understand how they work is to see them in action.
22
22
23
-
Let’s start by running the command `set` and looking at some of the variables in a typical shell session:
23
+
Let’s start by running the command `printenv` and looking at some of the variables in a typical shell session:
As you can see, there are quite a few — in fact, four or five times more than what’s shown here. And yes, using `set` to *show* things might seem a little strange, even for Unix, but if you don’t give it any arguments, it might as well show you things you *could* set.
41
60
42
-
Every variable has a name. All shell variables’ values are strings, even those (like `UID`) that look like numbers. It’s up to programs to convert these strings to other types when necessary. For example, if a program wanted to find out how many processors the computer had, it would convert the value of the `NUMBER_OF_PROCESSORS` variable from a string to an integer.
61
+
As you can see, there are quite a few — in fact, four or five times more than what’s shown here. Every variable has a name. All shell variables’ values are strings, even those (like `UID`) that look like numbers. It’s up to programs to convert these strings to other types when necessary. For example, if a program wanted to find out how many processors the computer had, it would convert the value of the `NUMBER_OF_PROCESSORS` variable from a string to an integer.
0 commit comments