Magnolia HPC Cluster Workshop (July 2023): Difference between revisions

From HPC Wiki
Jump to:navigation Jump to:search
No edit summary
No edit summary
Line 1: Line 1:
This workshop is intended for user that have just started to use the Magnolia HPC cluster.
Workshop on using the Magnolia HPC cluster.
{|
{| class="table-striped"
|'''When:'''
|'''When:''' ||''July 18, 2023 10 am — 12 pm''
|''July 18, 2023 10 am — 12 pm''
|-
|-
|'''Where:'''
|'''Where:''' ||''[//map.usm.edu/campus_map.php?id=27801 PSRC 105]''
|''[//map.usm.edu/campus_map.php?id=27801 PSRC 105]''
|-
|-
|'''Registration:'''
|'''Registration: ''' ||''[//redcap.usm.edu/surveys/?s=33D4LKAWY8NLX9X3 Register here].''
|''[//redcap.usm.edu/surveys/?s=33D4LKAWY8NLX9X3 Register here].''
|}
|}


= Description =
= Description =


This workshop is intended for users that have used the cluster but want a deeper understanding of High Performance Computing (HPC)
This workshop is intended for users that have used the cluster and wish to learn how to use it more efficiently. and for High Performance Computing (HPC). Below is a list of topics which will be covered. Each topic covered will be an overview, enough so that the users know the options exist, and where to get detailed information if they are found useful.


'''Topics in this workshop:'''
'''Topics in this workshop:'''
Line 25: Line 23:
* How serial (single threaded) programs can take advantage of HPC Clusters
* How serial (single threaded) programs can take advantage of HPC Clusters


=Fill out registration form=
Prior knowledge of the Magnolia HPC cluster will be useful, but not required. If you have not yet used the cluster, please check that you can connect by following the instructions in the [[#Check connection to the cluster|Check connection to the cluster]] section below.
Those planning to attend need to fill out the registration form: [//redcap.us.edu/surveys/?s=33D4LKAWY8NLX9X3 Registration Link].
 
=Requirements=
Bring a laptop that can connect to the Magnolia HPC Cluster (see the [[#Check connection to the cluster|Check connection to the cluster]] section below).
 
=Registration=
Please fill out the [//redcap.usm.edu/surveys/?s=33D4LKAWY8NLX9X3 registration form] to reserve a seat.
 
Direct link to the registration form: https://redcap.usm.edu/surveys/?s=33D4LKAWY8NLX9X3


=Configure the SSH connection=
=Check connection to the cluster=
If you are using Linux or OSX, SSH is used from the terminal. Type the command shown below to check the host key fingerprint. Do not enter any passwords. Instead, cancel by typing {{Key|Control+C}}. For Windows users, install an SSH client like PuTTY (http://www.putty.org) and follow the directions given in the following link. [[Connect_to_Magnolia#Windows|Windows Specific Directions]]
Connecting to the cluster is typically done using [//wikipedia.org/wiki/Secure_Shell {{C|ssh}}] (see [[Connect_to_Magnolia#Connecting_/_Login|Connecting/Login]] for more details). If you are using Linux or OSX, {{C|ssh}} is used from the terminal. Type the command shown below to check the host key fingerprint. Do not enter any passwords. Instead, cancel by typing {{Key|Control+C}}. For Windows users, install an {{C|ssh} client like PuTTY (http://www.putty.org) and follow the directions given in the following link: [[Connect_to_Magnolia#Windows|Windows Specific Directions]]


{{Cmd|ssh -o VisualHostKey{{=}}yes check@magnolia.usm.edu|output=<pre>
{{Cmd|ssh -o VisualHostKey{{=}}yes check@magnolia.usm.edu|output=<pre>

Revision as of 12:25, 10 July 2023

Workshop on using the Magnolia HPC cluster.

When:  July 18, 2023 10 am — 12 pm
Where:  PSRC 105
Registration:   Register here.


Description

This workshop is intended for users that have used the cluster and wish to learn how to use it more efficiently. and for High Performance Computing (HPC). Below is a list of topics which will be covered. Each topic covered will be an overview, enough so that the users know the options exist, and where to get detailed information if they are found useful.

Topics in this workshop:

  • Introduction to the Magnolia High Performance Computing (HPC) cluster
  • HPC workflow
  • Quick review of Linux shell commands
  • Using pre-installed programs and software (Linux Environment Modules)
  • Python
  • Compiling C/C++ programs
  • How serial (single threaded) programs can take advantage of HPC Clusters

Prior knowledge of the Magnolia HPC cluster will be useful, but not required. If you have not yet used the cluster, please check that you can connect by following the instructions in the Check connection to the cluster section below.

Requirements

Bring a laptop that can connect to the Magnolia HPC Cluster (see the Check connection to the cluster section below).

Registration

Please fill out the registration form to reserve a seat.

Direct link to the registration form: https://redcap.usm.edu/surveys/?s=33D4LKAWY8NLX9X3

Check connection to the cluster

Connecting to the cluster is typically done using ssh (see Connecting/Login for more details). If you are using Linux or OSX, ssh is used from the terminal. Type the command shown below to check the host key fingerprint. Do not enter any passwords. Instead, cancel by typing Control+C. For Windows users, install an {{C|ssh} client like PuTTY (http://www.putty.org) and follow the directions given in the following link: Windows Specific Directions

user $ssh -o VisualHostKey=yes check@magnolia.usm.edu
Host key fingerprint is SHA256:glQIZZKlsAwf3QJNNDQSxFpRzE2rKs4GfxByO6ZBzis
+---[ECDSA 256]---+
|ooX^@=o          |
|o++*B+o.         |
|.+o ...          |
|o.o. o           |
|+o oo . S        |
|oo=.   .         |
|o=oo             |
|E+. .            |
|oo .             |
+----[SHA256]-----+
check@magnolia.usm.edu's password: 

Make sure that the host key fingerprint (In this case: SHA256:glQIZZKlsAwf3QJNNDQSxFpRzE2rKs4GfxByO6ZBzis) matches one of the fingerprints given in the list of SSH fingerprints for Magnolia. SSH_Fingerprints/magnolia.usm.edu

If you have any questions, please contact Brian G. Olson.