Skip to content

Commit 2007ecf

Browse files
authored
Merge pull request #124 from NYU-RTS/cleanup
reorganize
2 parents ae71531 + 12cc64e commit 2007ecf

20 files changed

+120
-111
lines changed

docs/hpc/01_getting_started/03_walkthrough_request_hpc_account.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import TabItem from '@theme/TabItem';
33

44
# How to request an HPC account
55

6-
First, check if you already have an account. You can check this by attempting to log in to the cluster, according to the instructions at [Connecting to the HPC Cluster](../02_connecting_to_hpc/01_connecting_to_hpc.md)
6+
First, check if you already have an account. You can check this by attempting to log in to the cluster, according to the instructions at [Connecting to the HPC Cluster](../02_connecting_to_hpc/01_connecting_to_hpc.mdx)
77

88
:::info VPN Needed
99
You need to be on the NYU VPN to perform this task!

docs/hpc/01_getting_started/04_walkthrough_approve_hpc_account_request.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
# How to approve an HPC Account Request
22

3+
When someone nominates you as their HPC sponsor, you should be notified by email.
4+
35
:::info VPN Needed
46
You need to be on the NYU VPN to perform this task!
57
:::
68

7-
When someone nominates you as their HPC sponsor, you should be notified by email. You can also [log into IIQ at any time](https://iiq.nyu.edu/identityiq), and if you have a request awaiting your approval, it will appear in your "Actions Items" box, as per the following screenshot:
9+
You can also [log into IIQ at any time](https://iiq.nyu.edu/identityiq), and if you have a request awaiting your approval, it will appear in your "Actions Items" box, as per the following screenshot:
810
!["Actions Items" box](./static/work_item.png)
911

1012
Another way to get to pending approvals is to click on the line item in the “Latest Approvals” section which will lead directly to the approval page. For new HPC Account Requests, the page will look like this:

docs/hpc/01_getting_started/05_walkthrough_renew_hpc_account.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Renewing your HPC Account
22

3-
Login to the URL given below, using your NetID/password, to create or manage HPC Account Requests:
4-
53
:::info VPN Needed
64
You need to be on the NYU VPN to perform this task!
75
:::
86

7+
Login to the URL given below, using your NetID/password, to create or manage HPC Account Requests:
8+
99
https://identity.it.nyu.edu/
1010

1111
Upon logging in, an end user’s landing page will look like this

docs/hpc/02_connecting_to_hpc/01_connecting_to_hpc.md renamed to docs/hpc/02_connecting_to_hpc/01_connecting_to_hpc.mdx

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,32 @@
1+
import Tabs from '@theme/Tabs';
2+
import TabItem from '@theme/TabItem';
3+
14
# Connecting to the HPC Cluster
25

36
There are several ways to interact with the Greene HPC cluster. Similar to other Linux clusters, the most common method of connection is via a Command Line Interface (CLI). A CLI is a program that allows you to create and delete files, run programs, and navigate through directories and files via a typed prompt. On Mac, the built-in CLI application is called Terminal. While Windows 11 machines support a Linux Subsystem, which allows for similar functionality, a popular tool used to connect to a Linux server is a free application called [PuTTY][putty link].
47

8+
:::tip
59
If you'd prefer to access the HPC cluster via a web gateway instead, please refer to [the section describing OpenOnDemand](./03_ood.md).
10+
:::
611

712
The following sections will outline basic ways to connect to the Greene cluster. Access to the clusters is primarily handled via the Secure Shell Protocol, or ssh. Below we outline ways to connect via ssh on Mac, Linux, and Windows machines.
813

9-
## Remote Connections with the NYU VPN & HPC Gateway Server
14+
:::info Connecting to Torch from outside NYU Network
1015

11-
If you are connecting from a remote location that is not on the NYU network (your home for example), you have two options:
1216

13-
1. **VPN Option:** [Set up your computer to use the NYU VPN][nyu vpn link]. Once you've created a VPN connection, you can proceed as if you were connected to the NYU net
14-
15-
2. **Gateway Option:** Go through our gateway servers (example below). Gateways are designed to support only a very minimal set of commands and their only purpose is to let users connect HPC systems without needing to first connect to the VPN
17+
<Tabs>
18+
<TabItem value="VPN" label="VPN (Preferred)">
19+
[Set up your computer to use the NYU VPN][nyu vpn link]. Once you've created a VPN connection, you can proceed as if you were connected to the NYU net
20+
</TabItem>
21+
<TabItem value="Gateway" label="Gateway">
22+
Go through our gateway servers (example below). Gateways are designed to support only a very minimal set of commands and their only purpose is to let users connect HPC systems without needing to first connect to the VPN
23+
</TabItem>
24+
</Tabs>
25+
:::
1626

1727
You do not need to use the NYU VPN or gateways if you are connected to the NYU network (wired connection in your office or WiFi) or if you have VPN connection initiated. In this case you can ssh directly to the clusters.
1828

19-
## Command Line Interface (Use Terminal)
29+
## Command Line Interface (with a Terminal)
2030

2131
### Mac & Linux Access
2232

@@ -48,7 +58,7 @@ Instructions on WSL installation can be found here: [https://docs.microsoft.com/
4858
- If you are using WSL 2 (Windows subsystem for Linux), you may not be able to access internet when Cisco AnyConnect VPN, installed from exe file, is activated. A potential solution: uninstall Cisco AnyConnect and install AnyConnect using Microsoft Store, and then setup new VPN connection using settings described on [IT webpage][install vpn on windows link].
4959
:::
5060

51-
### Setting up SSH Keys
61+
## Setting up SSH Keys
5262

5363
Instead of typing your password every time you need to log in, you can also specify an ssh key.
5464

docs/hpc/03_storage/06_best_practices.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,5 @@ Your home directory has a relatively small number of inodes.
4848
If you create a conda or python environment in you home directory, this can eat up all the inodes.
4949
:::
5050

51-
Please review the [Package Management section](../06_tools_and_software/05_software_on_greene.md#package-management-for-r-python--julia-and-conda-in-general) of the [Greene Software Page](../06_tools_and_software/05_software_on_greene.md).
51+
Please review the [Package Management section](../06_tools_and_software/01_software_on_greene.md#package-management-for-r-python--julia-and-conda-in-general) of the [Greene Software Page](../06_tools_and_software/01_software_on_greene.md).
5252

docs/hpc/03_storage/07_large_number_of_small_files.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ This option may require a lot of RAM - thus you may have to wait a long time for
4545
Special containers, which allow to either load data fast fully or access chosen elements without loading the whole dataset into RAM.
4646

4747
### SQLite
48-
If you have structured data, a good option would be to use SQLite. Please see [SQLite: Handling Large Structured Data](../06_tools_and_software/07_sqlite_handling_large_structured_data.md) for more information.
48+
If you have structured data, a good option would be to use SQLite. Please see [SQLite: Handling Large Structured Data](../06_tools_and_software/05_sqlite_handling_large_structured_data.md) for more information.
4949

5050
### HDF5
5151
One can think about HDF5 file as a "container file" (database of a sort), which holds a lot of objects inside.

docs/hpc/03_storage/08_transferring_cloud_storage_data_with_rclone.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ There are specific instruction on the [rclone web site](https://rclone.org/drive
2929

3030
### Step 1: Login to Greene:
3131

32-
Follow [instructions](../02_connecting_to_hpc/01_connecting_to_hpc.md) to log into the Greene HPC cluster.
32+
Follow [instructions](../02_connecting_to_hpc/01_connecting_to_hpc.mdx) to log into the Greene HPC cluster.
3333

3434
### Step 2: Load the rclone module
3535
```sh

docs/hpc/05_submitting_jobs/01_slurm_submitting_jobs.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
- HPC workloads are usually better suited to *batch processing* than *interactive* working.
77
- A batch job is sent to the system when submitted with an **sbatch** command.
88
- The working pattern we are all familiar with is *interactive* - where we type ( or click ) something interactively, and the computer performs the associated action. Then we type ( or click ) the next thing.
9-
- Comments at the start of the script, which match a special pattern ( #SBATCH ) are read as Slurm options.
9+
- Comments at the start of the script, which match a special pattern ( `#SBATCH` ) are read as Slurm options.
1010

1111
### The trouble with interactive environments
1212

@@ -15,8 +15,7 @@ There is a reason why GUIs are less common in HPC environments: **point-and-clic
1515
:::tip
1616
The job might not start immediately, and might take hours or days, so we prefer a *batch* approach:
1717

18-
- Plan the sequence of commands which will perform the actions we need
19-
- Write them into a script.
18+
- Plan the sequence of commands which will perform the actions we need and write the commands into a script.
2019

2120
You can now run the script interactively, which is a great way to save effort if i frequently use the same workflow, or ...
2221
- Submit the script to a batch system, to run on dedicated resources when they become available.

docs/hpc/06_tools_and_software/01_intro.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/hpc/06_tools_and_software/05_software_on_greene.md renamed to docs/hpc/06_tools_and_software/01_software_on_greene.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ There are different types of software packages available
77
- This includes the licensed software listed below
88
- Singularity Containers
99
- You can find those already built and ready to use, at location `/scratch/work/public/singularity/`
10-
- For more information on running software with Singularity, [click here](../06_tools_and_software/06_singularity_run_custom_applications_with_containers.md).
10+
- For more information on running software with Singularity, [click here](../07_containers/01_intro.md).
1111
- Python/R/Julia packages can be installed by a user
1212

1313
If you need another linux program installed, please contact us at [hpc@nyu.edu](mailto:hpc@nyu.edu)

0 commit comments

Comments
 (0)