Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Introduction: The workshop session will provide a quick tour covering high-level concepts, commands and processes for using Linux and HPC on our Beartooth cluster. It will cover enough to allow an attendee to access the cluster and to perform analysis associated with this workshop.

Goals:

...

Introduction: The workshop session will provide a quick tour covering high-level concepts, commands and processes for using Linux and HPC on our Beartooth cluster. It will cover enough to allow an attendee to access the cluster and to perform analysis associated with this workshop.

Goals:

  • Introduce ARCC and what types of services we provide including “what is HPC?”

  • Define “what is a cluster”, and how is it made of partitions and compute nodes.

  • How to access and start using ARCC’s Beartooth cluster - using our SouthPass service.

  • How to start an interactive desktop and open a terminal to use Linux commands within.

  • Introduce the basics of Linux, the command-line, and how its File System looks on Beartooth.

  • Introduce Linux commands to allow navigation and file/folder manipulation.

  • Introduce Linux commands to allow text files to be searched and manipulated.

  • Introduce using a command-line text-editor and an alternative GUI based application.

  • How to setup a Linux environment to use R(/Python) and start RStudio, by loading modules.

  • How to start interactive sessions to run on a compute node, to allow computation, requesting appropriate resources.

  • How to put elements together to construct a workflow that can be submitted as a job to the cluster, which can then be monitored.

...

Our training will help provide the foundation necessary for you to use Beartooth cluster, specifically to perform some of the exercises later in this workshop over the week.

Because of our limited time this morning, please submit any questions to the slack channel for this workshop and workshop instructors can address them as they are available.

More extensive and in-depth information and walkthroughs are available on our wiki and you under workshops/tutorials. You are welcome to dive into those in your own time. Content within them should provide you with a lot of the foundational concepts you would need to be familiar with to become a proficient HPC user.

...

  • Describe ARCC’s role at UW.

  • Provide resources for ARCC Researchers to seek help.

  • Introduce staff members, including those available throughout the workshop.

  • Introduce the concept of an HPC cluster, it’s architecture and when to use one.

  • Introduce the Beartooth HPC architecture, hardware, and partitions.

...

About ARCC and how to reach us

...

  • Users log in from their clients (desktops, laptops, workstations) into a login node.

  • In an HPC Cluster, each compute node can be thought of as it’s own desktop, but the hardware resources of the cluster are available collectively as a single system.

  • Users may request specific allocations of resources available on the cluster - beyond that of a single node.

  • Allocated resources may include CPUs (Cores), Nodes, RAM/Memory, GPUs, etc.

Image Removed
  • /Memory, GPUs, etc.

Image Added

...

What is a Compute Node?

...

  • We typically have multiple users independently running jobs concurrently across compute nodes.

  • Resources are shared, but to do interfere with any one else’s resources.

  • i.e. you have your own cores, your own block of memory.

  • If someone else’s job fails it does NOT affect yours.

...

Homogeneous vs Heterogeneous HPCs

...

  1. Homogeneous: All compute nodes in the system share the same architecture. CPU, memory, and storage are the same across the system. (Ex: NWSC’s Derecho)

  2. Heterogeneous: The compute nodes in the system can vary architecturally with respect to CPU, memory, even storage, and whether they have GPUs or not. Usually, the nodes are grouped in partitions. Beartooth is a heterogeneous cluster and our partitions are described on the described on the Beartooth Hardware Summary Table on our ARCC Wiki.

...

Beartooth Cluster: Heterogeneous: Partitions

...

Beartooth Hardware and Partitions

Expand
titleBeartooth Partition Table

Insert excerpt
DOCUMENTAT:Beartooth Hardware Summary Table
DOCUMENTAT:Beartooth Hardware Summary Table
nopaneltrue

Expand
titleBeartooth GPU Table

Insert excerpt
DOCUMENTAT:Beartooth Hardware Summary Table
DOCUMENTAT:Beartooth Hardware Summary Table
nameGPU Table
nopaneltrue

See Beartooth Hardware Summary Table on

...

the ARCC Wiki.

Beartooth Hardware and Partitions

...

titleBeartooth Partition Table

...

titleBeartooth GPU Table

...

Reservation

A reservation can be considered a temporary partition.

It is a set of compute nodes reserved for a period of time for a set of users/projects, who get priority use.

For this workshop we will be using the following: biocompworkshop:

Code Block
ReservationName = biocompworkshop
StartTime = 06.09-09:00:00
EndTime   = 06.17-17:00:00 
Duration  = 8-08:00:00
Nodes     = mdgx01,t[402-421],tdgx01 NodeCnt=22 CoreCnt=720
Users     = Groups=biocompworkshop

Important Dates:

  1. After the 17th of June this reservation will stop and you will drop down to general usage if you have another Beartooth project.

  2. The project itself will be removed after the 24th of June. You will not be able to use/access it. Anything you require please copy out of the project.

...

02 Using Southpass to access the Beartooth HPC Cluster

...

Expand
titleHow to access Beartooth in a Shell Terminal from Southpass
  1. Click the following Icon on the Beartooth Dashboard

  2. This opens up a Beartooth SSH session in a web-based terminal:

  3. Login will display:

    1. Cluster you’ve logged into

    2. How to get help

    3. Important message(s) of the day

    4. A printout of arccquota

  4. Anatomy of Command Line Prompt: 

    1. Who (am I?):

    2. What (system am I talking to/working on?):

    3. Where (am I on the system?): 

...

What am I Using?

Remember:

  • The Beartooth Shell Access opens up a new browser tab that is running on a login node. Do not run any computation on these.
    [<username>@blog2 ~]$

  • The SouthPass Interactive Desktop (terminal) is already running on a compute node.
    [<username>@t402 ~]$

...

Login Node Policy

As a courtesy to your colleagues, please do not run the following on any login nodes:  

  1. Anything compute-intensive (tasks using significant computational/hardware resources - Ex: using 100% cluster CPU)

  2. Long running tasks (over 10 min)

  3. Any collection of a large # of tasks resulting in a similar hardware footprint to actions mentioned previously.  

  4. Not sure?  Usesallocto be on the safe side. This will be covered later.
    Ex:salloc –-account=arccanetrain -–time 40:00

  5. See more on ARCC’s Login Node Policy here

...

Note: On Beartooth, vi maps to vim.

...

Demonstrating vi/vim text editor

...

Vim Tutor is a walkthrough for new users to get used to Vim.

Run vimtutor in the command line to begin learning interactively.

Code Block
[arc-t10@blog2 ~]$ vimtutor
===============================================================================
=    W e l c o m e   t o   t h e   V I M   T u t o r    -    Version 1.7      =
=============================================================================== 
     Vim is a very powerful editor that has many commands, too many to 
     explain in a tutor such as this. This tutor is designed to describe 
     enough of the commands that you will be able to easily use Vim as 
     an all-purpose editor. 
     ...

...

*** Break ***

...

04 Using Linux to Search/Parse Text Files

...

Since the cluster has to cater for everyone we can not provide a simple desktop environment that provides everything.

Instead we provide modules that a user will load that configures their environment for their particular needs within a session.

...