HPC MUSE2022 Workshop1: Difference between revisions
Jump to navigation
Jump to search
Line 27: | Line 27: | ||
=== Hands-On Lab #4 - The Final Exam === | === Hands-On Lab #4 - The Final Exam === | ||
# Download the zip file from | # Download the zip file from [https://owd.tcnj.edu/~ssivy/muse2022/another-pi.zip Another Pi Implementation] | ||
# Unpack the zip on your local machine | # Unpack the zip on your local machine | ||
# Make a new folder in your ELSA cluster home directory (e.g. <code>workshop1</code>) | # Make a new folder in your ELSA cluster home directory (e.g. <code>workshop1</code>) |
Revision as of 15:20, 15 June 2022
MUSE HPC 2022 Workshop #1
HPC Hands-On Labs
Hands-On Lab #1 - Logging into Open OnDemand
- Login to ELSA's Open OnDemand web portal with your TCNJ login and password
- Open browser and go to https://ondemand.hpc.tcnj.edu/
- Create your home directory if necessary by following the on-screen instructions
Additional help for this tutorial can be found at Accessing the Cluster via Open OnDemand
Hands-On Lab #2 - Open a Terminal in Open OnDemand
- Login to the Open OnDemand port if you're not already logged in
- Using the Open OnDemand menu, go to
Clusters
and choose_ELSA OpenHPC Cluster Shell Access
- Execute Linux commands at the terminal prompt, e.g.
ls
- When you are done with the terminal, type
exit
at the command prompt and close the browser tab.
Additional help for this tutorial can be found at Accessing the Cluster via SSH using Open OnDemand
Hands-On Lab #3 - Running a Cluster Job
- Open a terminal shell
- Add the ELSA tutorial module
module add elsa-tutorial
- Run the ELSA tutorial setup script
elsa-tutorial-setup.sh
- Change to elsa-tutorial directory
cd elsa-tutorial
- Look at the a submit scripts
cat submit-serial.sh
- Look at the other two submit scripts in the tutorial directory using either
cat
or the Open OnDemand file browser - Edit the three submit scripts to change the email address to your email address. Use either
nano
or the Open OnDemand edit file option in the file browser - Run the serial job
sbatch submit-serial.sh
(this one can take 2-3 minutes to complete) - Run the other two jobs (these run much faster)
Additional help for this tutorial can be found at Submitting Your First HPC Job
Hands-On Lab #4 - The Final Exam
- Download the zip file from Another Pi Implementation
- Unpack the zip on your local machine
- Make a new folder in your ELSA cluster home directory (e.g.
workshop1
) - Upload at least the
mpi-pi-numinteg
program (optionally upload the other files) to the folder you created above - Copy the
submit-mpi.sh
script from theelsa-tutorial
folder - Edit the copy to make any necessary changes
- Change the command to run from
mdart 50000 10000
tompi-pi-numinteg
- Use 2 nodes with 16 ntasks
- Change the command to run from
- Run the job
- Review the job.jobnumber.out file