EECS 570 Final Project
- ssh into greatlakes
- clone folder and cd into folder
source env.sh
makeThis will create the sgemm executable
- from project base directory
sbatch submit.shThis command will output a job id number and create a file in the project base directory called slurm-<job_id>.out. The .out file will contain all output from the submit.sh script.
Two lines:
./build/sgemm <kernel_number>
./gen_benchmark_results.shOnly uncomment one line. First line will run individual kernel, second line will run all benchmarks
Line 11:
for kernel in {1..4}; doChange {1..4} accordingly to run the benchmarks you want. MUST start at 1.
After running gen_benchmark_results.sh through sbatch run python3 plot_benchmark_results.py to generate plot (DO NOT run python script through Slurm)
- Uncoalesced memory access
- Coalesced memory access
- Basic shared-memory tiled
- Async shared-memory tiled (NO overlap)
- Overlaped async shared-memory tiled (i.e producer-consumer)
View your running jobs
squeue --user=<uniqname>View running jobs on spgpu partition (spgpu is the Slurm partition with A100 gpus)
squeue --partition=spgpuView running jobs in EECS 570 class account
squeue --account=eecs570s001wn25_classView billing information for 570 class
my_account_billing eecs570s001w25_classCancel a Slurm job
scancel <job_id>- When you submit a job using
sbatchit will output the job id - Alternatively you can find the job id using one of the
squeuecommands above