Computer Science 335
Parallel Processing and High Performance Computing

Fall 2024, Siena College

Lab 7: Stampede3 Setup
Due: 9:00 AM, Wednesday, October 16, 2024

In this brief lab, you will set up and experiment with your account on Stampede3 at the Texas Advanced Computing Center (TACC).

You must work individually on this lab.

Getting Set Up

In Canvas, you will find a link to follow to set up your GitHub repository, which will be named stampede3-lab-yourgitname, for this lab. Only one member of the group should follow the link to set up the repository on GitHub, then others should request a link to be granted write access.

What You Need to Get Started

You will need your username and password for the NSF ACCESS Allocations system, and a GitHub Personal Access Token (PAT). You should have one of these if you've been successfully interacting with GitHub from noreaster, or you can create a new one with the same access levels.

First, a noreaster Task

Complete these brief tasks on noreaster, then add, commit, and push the files produced to GitHub.

First, compile and run labprog.c. Redirect the output of this program to a file n1.txt.

Output Capture: n1.txt for 2 point(s)

Modify the program to print a second line "Edited on noreaster". Put your name in the banner comment while you're in there. Recompile.

Redirect the output of the modified version of program to a file n2.txt.

Output Capture: n2.txt for 2 point(s)

Make sure the modified labprog.c and your two output files are on GitHub.

Stampede3 Basics

We have access to Stampede3 at the Texas Advanced Computing Center (TACC) through an NSF ACCESS grant allocation for our course. In order to gain access to TACC resources, including stampede3, you need to be added to our allocation (which has been done for everyone who sent in their NSF ACCESS information) on that access grant, then set up your account on the TACC Portal.

  1. Set up your account with the TACC Portal. You should be able to login with your NSF ACCESS credentials. You will need to set up multi-factor authentication under the "Manage Account" section of the Portal.
  2. Log into stampede3 by following the directions for ssh access on the Stampede3 User Guide page.
  3. Clone your repository for this lab into your account on stampede3. Use your existing or a new GitHub access token when prompted for a password.
  4. Issue these commands to set your username and email address to be used with Git (using your own name and email, of course):
    git config --global user.name "jcool"
    git config --global user.email "jcool@teresco.org"
    
  5. Make sure you can compile and run the labprog.c program.
  6. If you prefer to have a different editor (like Emacs or nano) than vi be launched when git needs to you edit something like a commit message, you can edit the file .bashrc in your home directory to include the line
    export EDITOR=emacs
    

    near the end of the file. The next time you log in, your default editor would be Emacs (or nano, if you set it to nano instead).

Run the command uname -a and redirect the output to a file stampede3.txt in your repository.

Output Capture: stampede3.txt for 2 point(s)

Compile labprog.c if you have not already done so. Redirect the output of this program to a file s1.txt.

Output Capture: s1.txt for 2 point(s)

Modify the program to print a third line "Edited on stampede3" (leave the one you added on noreaster). Recompile. Redirect the output of the modified version of program to a file s2.txt.

Output Capture: s2.txt for 2 point(s)

Make sure the modified labprog.c and your two output files are on GitHub.

Submission

Commit and push!

Grading

This assignment will be graded out of 15 points.

Feature

Value Score
n1.txt 2
noreaster printout in labprog.c 2
n2.txt 2
Successful stampede3 login 1
stampede3.txt 2
s1.txt 2
stampede3 printout in labprog.c 2
s2.txt 2
Total 15