Skip to content

Course website for Data Parallel Programming at DIKU

Notifications You must be signed in to change notification settings

diku-dk/dpp-e2024-pub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Syllabus and Material for Data Parallel Programming (DPP)

Welcome to the course website for DPP! All material and general information will be provided here. Announcements, assignment handin, and the discussion forum remains on Absalon. While this website is a Git repository, you are not required or expected to use Git to interact with it, but feel free to do so if convenient for you.

Course Structure

DPP is structured around five weeks with lectures and lab sessions on Monday and Wednesday, followed by a final project to be presented orally at the exam. Throughout the course, you will hand in four weekly assignments. The assignments count for 40% of the grade, while the exam counts for 60%.

The teachers are Cosmin Oancea and Troels Henriksen.

All lectures and lab sessions will be delivered in English. The assignments and projects will be posted in English, and while you can chose to hand in solutions in either English or Danish, English is preferred.

There is no mandated textbook for the course - you will be assigned reading material from papers and such.

We have also begun work on some DPP course notes PDF, although they are currently quite embryonic, and it is not certain we will have time to add much content this year. Please let us know if there is anything in particular you would like to see.

Course schedule

Course Catalog Web Page

Official schedule

Lectures (zoom links will be posted on Absalon):

  • Monday 13:00 - 15:00 in Lille UP-1 at DIKU
  • Wednesday 10:00 - 12:00 in Lille UP-1 at DIKU

Labs:

  • Monday 15:00 - 17:00 in 3-0-25 at DIKU.
  • Wednesday 13:00 - 15:00 in Lille UP-1 at DIKU.

This course schedule is tentative and will be updated as we go along. The schedule below will become the correct one as you enter the week when the course starts.

The lab sessions are aimed at providing help for the weeklies and group project. Do not assume you can solve them without showing up to the lab sessions.

Lecture plan

Week 1

Monday
Wednesday

Week 2

Monday
Wednesday

Week 3

Monday
Wednesday

Week 3

Monday
Wednesday

Weekly assignments

The weekly assignments are mandatory, must be solved individually, and make up 40% of your final grade. Submission is on Absalon.

The assignment text and handouts will be linked in the schedule above.

Feedback and resubmission

Your TA, Anders, will be grading and providing feedback on your weekly assignments. You receive feedback within a week of the handin deadline, and one resubmission attempt is granted for each weekly assignment, which may be used to solve tasks missing in the original hand-in and/or to improve on the existing hand-in (but note that feedback may be sparse for resubmissions).

As a rule of thumb, the resubmission deadline is two weeks from the original handin deadline, but it is negotiable.

Extensions may be granted on weekly assignment (re-)submission deadlines -- please ask Anders if for any reason, personal or otherwise, you need an extension (no need to involve Cosmin or Troels unless you wish to complain about Anders' decision).

Group project and exam

The final project, along with the exam as a whole, contributes 60% of your grade, and is done in groups of 1-3 people (although working alone is strongly discouraged). We have a tenative list of project suggestions, but you are free to suggest your own (but please talk with us first). Since the time to work on the project is rather limited, and there is no possibility of resubmission, you should ask for help early and often if you are having trouble making progress. The project should be handed in via Absalon in TBA. Send an email if you have trouble meeting this deadline.

Most of the projects are about writing some parallel program, along with a report describing the main points and challenges of the problem. The exam format is a group presentation followed by individual questions about both your project and anything else in the curriculum. Each group prepares a common presentation with slides, and each member of the group presents non-overlapping parts of the presentation for about 10 min (or less). Then each member of the group will answer individual questions for about 10 min.

Practical information

TA

Your TA is Anders Holst ([email protected], Discord: sortraev). Anders will be grading your weekly assignments and patrolling the online discussion forum(s) (with help from Troels).

Discussion forum(s) + course Discord link

We provide a Discord channel for discussions, invite here: discord.gg/2wPBbAYT9G (please contact Anders should the link expire), and advice that you join as soon as possible.

We encourage active discussion of course subjects with fellow students, so long as you refrain from directly discussing or sharing solutions to weekly assignments and the exam/group project. Should you have questions pertaining to your particular solution, please ask them in a private message to Anders (your TA), who may refer you to Troels.

Please note that while we prefer Discord for communication, you are free to use the Absalon discussion forum and private messaging system, and that no announcement shall be posted to Discord which has not already been posted to Absalon.

Hendrix GPU cluster

You may find it useful to make use of DIKUs GPU machines in your work. We recommend using the so-called Hendrix cluster. If you are enrolled in the course, you should already have access. Otherwise contact Troels at [email protected]. For how to access Hendrix, follow the first link in this paragraph.

Consider using sshfs to mount the remote file system on your local machine:

$ mkdir remote
$ sshfs hendrix:/ remote

Also see here for more hints.

Using Hendrix

The DIKU systems have a conventional HPC modules setup, meaning you can make additional software available with the module command. You may need to do this inside SLURM jobs.

Loading CUDA
$ module load cuda
Loading Futhark
$ module load futhark
Loading ISPC
$ module load ispc

(Although there is no reason to use Hendrix for ISPC - it will run fine on your machine.)

Access to Futhark machines

The Futhark machines (hendrixfut01fl, hendrixfut02fl, hendrixfut03fl) have been temporarily detached from the hendrix cluster. If you do not have accounts on them and would like to work on them, please contact the teachers during class or e-mail them.

The available machines are equipped with top-end GPUs---Nvidia A100 GPUs on hendrixfut01/3fl and MI100 AMD GPU on hendrixfut02fl---and two AMD EPYC 7352 24-Core CPUs (total 96 hardware threads). Please note that on hendrixfut02fl you cannot use the cuda backend of Futhark (since it has an AMD GPU) but you may use the OpenCL backend.

To access them you need to be under VPN; if so then you can directly ssh to them with your ku-id and associated password.

Other resources

You are not expected to read/watch the following unless otherwise noted, but they contain useful and interesting background information.

Acknowledgements

NVIDIA has donated GPUs used for teaching DPP for several years.

Thanks to Filippa Biil for the hedgehogs.

About

Course website for Data Parallel Programming at DIKU

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •