CMSE 401

Logo

This is the webpage for CMSE 401 for the Spring 2021 semester.

View the Project on GitHub msu-cmse-courses/cmse401-S21-student

Link to CMSE401 website

<– April AnnouncementsFebruary Announcements –>


March 29, 2021 - MPI Error handling

Hello CMSE401 Students,

Here are the video’s from today’s class:

MPI Error handeling - Pre-class questions

MPI Pi Example with Error

Weird MPI Error (not solved)

Rumor Example - Memory

Please let me know if you have any questions,


March 26, 2021 - Projects

Hello CMSE401 students,

I made a video about the Rumor Mill code that we covered in class today. My hope is to convert this code to MPI in class next week.

Rumor Mill Code

Please let me know if you have any questions


March 24, 2021 - MPI Syntax

Hello CMSE401 students,

Here are the videos from today’s class:

MPI Syntax Questions

MPI BCast Example

MPI Pi Example

Let me know if you have any questions.


March 23, 2021 - MPI Introduction Videos

Hello CMSE401 students,

I just finish posting videos from yesterday’s class. Here they are:

MPI Pre-class Questions

MPI Code Review

Measuring Scaling

Please let me know if you have any questions.


March 19th, 2021 - HW3 and HW4 videos

Hello Class,

I just finished uploading today’s videos. I didn’t spend nearly as much time editing these videos so sorry about the quality. Here they are:

HW3 Answer

HW4 Overview

Weak and Strong Scaling

I also added a folder to the course website with a solution to the HW3 (as requested).

Take care,


March 18th, 2021 - Speeding up python videos

Hello Class,

Here are the videos from yesterday’s class.

Fast Python Questions

Fast Python Overview

Python 1D Wave Example

Numba Practice

Homework Questions

Please let me know if you have any questions,


March 17th, 2021 - Slack Channel

Hello Students,

Students wanted a way to communicate with each other to help with homework. I set up a Slack (http://slack.com) channel as a means of communicating outside of scheduled class times. In order to join the Slack team that we’ve created for the course you should complete the following steps:

  1. Go to https://cmse-courses.slack.com/signup
  2. Once there, sign up using your @msu.edu email address. Important: When you create your account, use your MSU NetID as your user name and set up your display name to be the name you prefer to go by, including your last name. This will make it easier for your instructors to recognize you within the Slack channels.

Once you’ve joined the CMSE Courses Slack team, you’ll need to add yourself to two channels. The first channel you should add yourself to is “cmse401-s21”.

Please use the following list of rules for how we expect you to use Slack. They are:

Be courteous to everyone on Slack. Students who are being rude or who are excessively posting might be banned from posting on the course Slack channel.

Take care,


March 15th, 2021 - CUDA Alternatives

Dear CMSE401 Students,

Here are the videos from today’s class.

CUDA Alternative Questions

Compile OpenCL on HPCC

Cuda Quiz Review

Introduction to MPI

Let me know if you have any questions,


March 10th, 2021 - CUDA Tiling

Dear CMSE401 students,

Here are the videos from todays class. There are a lot of them. I also made a few follow up videos to help clarify some questions. I really hope you find them useful.

Cuda Tile Pre-class questions

Transpose Example

Tiled simulation

HW3 and Quiz Discussion

Tile Question

Tile Foo Bar Question

Fixing the 1D Cuda Wave Example

Cuda Tile 1D Wave Equation Example


March 8th, 2021 - CUDA Memory

Dear CMSE401 students,

Don’t forget to fork your cuda homework and give me access to the repository. Here are the videos from todays class.

Cuda Memory Example

1D Wave cuda example

Let me know if you have any questions,


March 5th, 2021 - CUDA Threads Blocks and Grids

Dear CMSE401 students,

I just posted the files for next weeks classes and here are videos from today’s class. There were lots of questions so I tried separating the videos a bit to make viewing easier.

Pre-Class Questions

Indexing Example

1D Array with 2D grid/blocks

HW3 Indexing

Max threads per block

1D Example

Have a great weekend,


March 2nd, 2021 - CUDA Basics

Dear CMSE401 students,

I hope everyone is having a pleasant few days off and are trying to find time to relax. Below are videos from Monday’s Class. I hope you find them useful.

CUDA Basics

A Recent History of Accelerator Cards

CUDA_CALL and Error Management

Vector Add Example

Please let me know if you need anything else,

<– April AnnouncementsFebruary Announcements –>