<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.hpc.tcnj.edu/index.php?action=history&amp;feed=atom&amp;title=HPC_MUSE2026_Workshop2</id>
	<title>HPC MUSE2026 Workshop2 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://docs.hpc.tcnj.edu/index.php?action=history&amp;feed=atom&amp;title=HPC_MUSE2026_Workshop2"/>
	<link rel="alternate" type="text/html" href="https://docs.hpc.tcnj.edu/index.php?title=HPC_MUSE2026_Workshop2&amp;action=history"/>
	<updated>2026-06-19T15:15:54Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://docs.hpc.tcnj.edu/index.php?title=HPC_MUSE2026_Workshop2&amp;diff=760&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;= MUSE HPC 2026 Workshop #2 = == HPC Hands-On Labs == === Hands-On Lab #1 - Logging into Open OnDemand === # Login to ELSA&#039;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 [https://docs.hpc.tcnj.edu/index.php/HPC_Cluster_Getting_Started#Accessing_the_Cluster_via_Open_OnDem...&quot;</title>
		<link rel="alternate" type="text/html" href="https://docs.hpc.tcnj.edu/index.php?title=HPC_MUSE2026_Workshop2&amp;diff=760&amp;oldid=prev"/>
		<updated>2026-05-28T18:41:25Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;= MUSE HPC 2026 Workshop #2 = == HPC Hands-On Labs == === Hands-On Lab #1 - Logging into Open OnDemand === # Login to ELSA&amp;#039;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 [https://docs.hpc.tcnj.edu/index.php/HPC_Cluster_Getting_Started#Accessing_the_Cluster_via_Open_OnDem...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= MUSE HPC 2026 Workshop #2 =&lt;br /&gt;
== HPC Hands-On Labs ==&lt;br /&gt;
=== Hands-On Lab #1 - Logging into Open OnDemand ===&lt;br /&gt;
# Login to ELSA&amp;#039;s Open OnDemand web portal with your TCNJ login and password&lt;br /&gt;
#* Open browser and go to https://ondemand.hpc.tcnj.edu/&lt;br /&gt;
#* Create your home directory if necessary by following the on-screen instructions&lt;br /&gt;
Additional help for this tutorial can be found at [https://docs.hpc.tcnj.edu/index.php/HPC_Cluster_Getting_Started#Accessing_the_Cluster_via_Open_OnDemand Accessing the Cluster via Open OnDemand]&lt;br /&gt;
&lt;br /&gt;
=== Hands-On Lab #2 - Open a Terminal in Open OnDemand ===&lt;br /&gt;
# Login to the Open OnDemand port if you&amp;#039;re not already logged in&lt;br /&gt;
# Using the Open OnDemand menu, go to &amp;lt;code&amp;gt;Clusters&amp;lt;/code&amp;gt; and choose &amp;lt;code&amp;gt;_ELSA OpenHPC Cluster Shell Access&amp;lt;/code&amp;gt;&lt;br /&gt;
# Execute Linux commands at the terminal prompt, e.g. &amp;lt;code&amp;gt;ls&amp;lt;/code&amp;gt;&lt;br /&gt;
# When you are done with the terminal, type &amp;lt;code&amp;gt;exit&amp;lt;/code&amp;gt; at the command prompt and close the browser tab&lt;br /&gt;
Additional help for this tutorial can be found at [https://docs.hpc.tcnj.edu/index.php/HPC_Cluster_Getting_Started#Open_OnDemand Accessing the Cluster via SSH using Open OnDemand]&lt;br /&gt;
&lt;br /&gt;
=== Hands-On Lab #3 - Running a Cluster Job ===&lt;br /&gt;
# Open a terminal shell again&lt;br /&gt;
# Add the ELSA tutorial module by running &amp;lt;code&amp;gt;module add elsa-tutorial&amp;lt;/code&amp;gt;&lt;br /&gt;
# Run the ELSA tutorial setup script &amp;lt;code&amp;gt;elsa-tutorial-setup.sh&amp;lt;/code&amp;gt;&lt;br /&gt;
# Change to elsa-tutorial directory &amp;lt;code&amp;gt;cd elsa-tutorial&amp;lt;/code&amp;gt;&lt;br /&gt;
# Look at the a submit script &amp;lt;code&amp;gt;cat submit.sh&amp;lt;/code&amp;gt; &lt;br /&gt;
# Look at the other submit scripts in the tutorial directory using either &amp;lt;code&amp;gt;cat&amp;lt;/code&amp;gt; or the Open OnDemand file manager&lt;br /&gt;
# Edit the &amp;lt;code&amp;gt;submit.sh&amp;lt;/code&amp;gt; script to change the email address to your email address and &amp;quot;Your name&amp;quot; in the &amp;#039;&amp;#039;&amp;#039;export&amp;#039;&amp;#039;&amp;#039; line to your own name. Use either &amp;lt;code&amp;gt;nano&amp;lt;/code&amp;gt; or the Open OnDemand edit file option in the file manager&lt;br /&gt;
# [Optional] Edit the other submit scripts to change the email address to your email address. Use either &amp;lt;code&amp;gt;nano&amp;lt;/code&amp;gt; or the Open OnDemand edit file option in the file manager&lt;br /&gt;
# Run the job &amp;lt;code&amp;gt;sbatch submit.sh&amp;lt;/code&amp;gt; (this one will finish quickly)&lt;br /&gt;
# Review the job.&amp;#039;&amp;#039;&amp;#039;jobnumber&amp;#039;&amp;#039;&amp;#039;.out file &amp;lt;code&amp;gt;cat job.####.out&amp;lt;/code&amp;gt; or use the Open OnDemand file manager to view the contents&lt;br /&gt;
# Run the other three jobs&lt;br /&gt;
#* &amp;lt;code&amp;gt;sbatch submit-serial.sh&amp;lt;/code&amp;gt; (takes about 1.5 minutes to comnplete)&lt;br /&gt;
#* &amp;lt;code&amp;gt;sbatch submit-mpi.sh&amp;lt;/code&amp;gt; (finishes quickly)&lt;br /&gt;
#* &amp;lt;code&amp;gt;sbatch submit-gpu.sh&amp;lt;/code&amp;gt; (finishes quickly)&lt;br /&gt;
# Review the job output files from these jobs&lt;br /&gt;
Additional help for this tutorial can be found at [https://docs.hpc.tcnj.edu/index.php/HPC_Cluster_Job_Scheduler#Submitting_Your_First_HPC_Job Submitting Your First HPC Job]&lt;br /&gt;
&lt;br /&gt;
=== Hands-On Lab #4 - The Final Exam ===&lt;br /&gt;
# Download the zip file from [https://owd.tcnj.edu/~ssivy/muse2022/another-pi.zip Another Pi Implementation] to your computer&lt;br /&gt;
# Unpack the zip on your local machine&lt;br /&gt;
# Make a new folder in your ELSA cluster home directory (e.g. &amp;lt;code&amp;gt;workshop1&amp;lt;/code&amp;gt;)&lt;br /&gt;
# Upload at least the &amp;lt;code&amp;gt;mpi-pi-numinteg&amp;lt;/code&amp;gt; program (optionally upload the other files) to the folder you created above&lt;br /&gt;
# Copy the &amp;lt;code&amp;gt;submit-mpi.sh&amp;lt;/code&amp;gt; script from the &amp;lt;code&amp;gt;elsa-tutorial&amp;lt;/code&amp;gt; folder&lt;br /&gt;
# Edit the copy to make any necessary changes &lt;br /&gt;
#* Change the command to run from &amp;lt;code&amp;gt;mdart 50000 10000&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;./mpi-pi-numinteg&amp;lt;/code&amp;gt;&lt;br /&gt;
#* Use 2 nodes with 16 ntasks&lt;br /&gt;
# Change permissions on the &amp;lt;code&amp;gt;mpi-pi-numinteg&amp;lt;/code&amp;gt; program while in the Linux shell to make it executable&lt;br /&gt;
#* &amp;lt;code&amp;gt;chmod +x mpi-pi-numinteg&amp;lt;/code&amp;gt;&lt;br /&gt;
# Run the job by submitting it from the Linux shell&lt;br /&gt;
# Review the job.&amp;#039;&amp;#039;jobnumber&amp;#039;&amp;#039;.out file&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>