Skip to content

Commit

Permalink
Docs Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Indigo5684 committed Sep 24, 2024
1 parent 523dae5 commit 2a0931e
Show file tree
Hide file tree
Showing 6 changed files with 46 additions and 6 deletions.
File renamed without changes.
41 changes: 41 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Getting Started

## Account Creation

Create an account with the cluster at [Account Console](https://auth.cms.physics.ua.edu/realms/ua-cms/account/), or ask an administrator to create one on your behalf.

Once an account has been created, it will not have access to any resources until granted such by an administrator.

## FPGA Access

FPGAs can be accessed via [JupyterHub](https://jupyter.cms.physics.ua.edu). There are two notebook options availible that support FPGAS:

- MATLAB with FPGA (1x Alveo U200)
- MATLAB without FPGA

Currently, the cluster has **0** FPGAs installed. If all FPGAs are in use, your notebook will not launch.

Each notebook is provided with MATLAB Online, as well as VNC access to the Desktop version via the "Desktop" option.

To launch MATLAB in the Desktop option, from a terminal window, run `DISPLAY=:1 /opt/matlab/bin/matlab`

### Installation of HDL Toolbox / Coder FPGA Support Libraries

During the extension install process, the Xilinx support libraries are written to the `$HOME/Documents` folder, which is overwritten by your user data volume. As such, to enable the support packages, run the following command:

```bash
wget -q https://www.mathworks.com/mpm/glnxa64/mpm \
&& chmod +x mpm \
&& ./mpm install \
--release=r2024b \
--destination=/opt/matlab \
--products Deep_Learning_HDL_Toolbox_Support_Package_for_Xilinx_FPGA_and_SoC_Devices HDL_Coder_Support_Package_for_Xilinx_FPGA_and_SoC_Devices
```

This only needs to be ran once per-user.

## Docker Registry

When deploying images to run on the cluster, the cluster's [Docker Registry](https://registry.cms.physics.ua.edu) should be used.

Note that when authenticating the registry via the command-line, the password prompt should be filled with a token generated from the registry's web GUI, not your actual password.
File renamed without changes.
9 changes: 3 additions & 6 deletions docs/01-users/01-hpc.md → docs/slurm.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# HPC Usage
# HPC with Slurm

## Login

Expand Down Expand Up @@ -45,11 +45,8 @@ conda create --name JupyterTutorial
# Activate the sample environment
conda activate JupyterTutorial

# Install Jupyter, NodeJS (for slurm extension)
conda install jupyter nodejs

# Install Jupyter Slurm Extension
jupyter labextension install jupyterlab-slurm
# Install Jupyter
conda install jupyter
```

Next, we will create a script to launch a Jupyter environment, to be executed via `srun`. Note that the port below, `30000`, may not be availible on your particular node. See the [Network Ports](#network-ports) section above for potentially availible ports.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
Query why we want read by *

```bash
ldapsearch -Q -LLL -Y EXTERNAL -H ldapi:/// -b cn=%sysadmin,ou=sudoers,dc=cms,dc=physics,dc=ua,dc=edu

ldapsearch -Q -LLL -Y EXTERNAL -H ldapi:/// -b cn=config '(olcDatabase={2}mdb)' olcAccess

ldapmodify -Q -Y EXTERNAL -H ldapi:///<<EOF
Expand Down
File renamed without changes.

0 comments on commit 2a0931e

Please sign in to comment.