TMA883 / MMA621 High performance computing Autumn 26

Course PM

This Canvas page describes the lectures and computer labs of the course. For information on learning outcomes, literature, teachers, and examination (in the Swedish variant of English known as "Course PM") please confer a separate Canvas page.

Program

The schedule of the course is available on TimeEdit.

Website

This course builds heavily on Chalmers-independent, external material provided on a separate HPC website created and curated by Martin Raum, who is also the lecturer and examiner of this course.

Training System

Students are encouraged to work on the Chalmers-provided training system, which the examiner administers on a voluntary basis. All submissions must compile and successfully complete required checks on this system.

The events formerly known as the lectures

Lectures scheduled in TimeEdit will complement the videos on the HPC website. Currently, the subdivision into weeks on this site is aligned with TMA883/MMA621.

Lectures are a possibility to review any material from those videos that required further clarification. Please do not hesitate to let the lecturer know by mail in advance of these sessions when you wish specific topics to be highlighted. If possible bring your laptop to actively follow the discussion.

Recommended exercises

After watching the videos on the HPC website, replicate what is demonstrated there on the training system gantenbein. The HPC website also contains specific tasks and the assignments, the first of which currently are identical with the assignments required to pass the course TMA883/MMA621.

Computer labs

Students should join two lab sessions per week, while there is usually five of such sessions scheduled per week. See TimeEdit for exact time and dates. Time slots for the mandatory reviews will be available accross these lab sessions in the relevant week, and are booked via Canvas.

During the lab sessions it is suggested to work through the videos on the HPC website or advance on the assignments; And to request help from the lecturer and teaching assistants when needed. Please do not hesitate to request such help. We not only provide guidance on these videos and assignments, but any programming and HPC related question is welcome. This includes workflows and handling of AI. In case you have questions that go beyond the course material, we might prioritise students who are not yet there. This is not to discourage you, please persist, but rather a concession to an ILO-based teaching setup at Chalmers.

Reference literature

The main literature for the website:

Our main resource are the videos provided on this website. The code that is available for download there, is also made accessible on the training system gantenbein in the folder /home/hpc2026/code.

A major secondary resource, however far beyond the scope of TMA883/MMA621, are the four volumes of:

A good, and free, but slightly technical summary of the language C can be found in:

One essential part of your training is to learn how to solve specific problems in groups using independent resources, because this is how problems are commonly solved in real programmer’s life. Keep in mind that it is a common job interview question where you find solutions to unprecedented problems.

Policy on AI Usage

Limited AI (that is, LLM) support is permitted, excluding the completion of assignments in full. The use of LLMs to obtain additional explanations beyond the tutors' advice of any material of the course is recommended; Not the least to compensate for the scarce resources available at university for individual teaching. Learners are equally encouraged to obtain guiding feedback on their code and on their terminal interaction from LLMs. Follow without exception the spirit of the AI Agent Guidelines.

To obtain code and workflow explanations, the use of an agentic harness (a tool that lets the LLM read your files and terminal output directly) is recommended over copying snippets into a chat window. A harness sees your actual code, build errors, and profiler output in context, and so gives markedly more relevant explanations of both your program and your workflow.

When you use such a harness for course work, you must place the course AI Agent Guidelines in your working directory (as AGENTS.md, or as CLAUDE.md for Claude Code) so that the assistant operates as a teaching aid rather than a solution generator.

When using Web interfaces you must copy the content of the AI Agent Guidelines into the system prompt. AI systems where this is technically not possible are not permitted for course work.

The only exception to the mandatory use of the AI Agent Guidelines is your work on the DEI assignment.

Policy Rationale

Purpose: The key aspect of the course is to put relevant learning uncompromisingly in first place. AI support is highly likely to be part of future work, employment, and life. To empower and enable students in the use of these tools thus becomes imperative.

Fairness: Violations of stricter AI policies are not checkable without severe impact on the learning climate, resource allocation beyond the available, or relying on random checks that degrade enforcement to a coin flip.

Equality: Advice presented by people is no more sanctified than advice presented by machines (LLMs). The ban of AI would thus warrant for instance the ban of conversations with academic relatives; an ahistoric and unrealistic proposition. Thus stricter AI policies would merely appear as a classist tool to maintain the edge of those ahead on the social ladder.

Limitations: However, creation of full solutions to real-world applications is currently not feasible with LLMs. Therefore, to generate full solutions to the assignments sabotages relevant learning opportunities. Even in the hypothetical case that next generation AI can solve realistically complex problems, the human operator's role will shift correspondingly and likely require domain knowledge.

Course Summary:

Course Summary
Date Details Due
CC Attribution Non-Commercial Share Alike This course content is offered under a CC Attribution Non-Commercial Share Alike license. Content in this course can be considered under this license unless otherwise noted.