The MATLAB Blog

Practical Advice for People on the Leading Edge

Teaching MATLAB at the 2024 EUMaster4HPC High Performance Computing Summer School

I think that MATLAB is a great platform on which to do High Performance Computing (HPC) and take any opportunity I can to teach or demonstrate this. Such an opportunity came up recently when I was invited to teach part of the MATLAB day for the EUMaster4HPC Summer School in Ostrava, Czech Republic
European Master For High Performance Computing
HPC can be life changing for a researcher. The first time you step away from the constraints of your laptop or, if you are lucky, a highly specified desktop workstation and make use of truly large-scale resources is a liberating experience. Without even realizing it, we often limit ourselves to thinking about problems that fit onto a laptop. We are limited by memory, compute resource and disk space which leads to limitations on the size of problems we can solve in a reasonable time or even at all. High performance computing systems can make these limitations go away, if you know how to use them.
This is where the European Master For High Performance Computing (EUMaster4HPC) comes in. As its website will tell you, it is the first pan-European High Performance Computing Master program and is a collaboration between several European universities, supercomputing centres and industrial partners. The consortium has over 60 partners who work together to define a body of knowledge in HPC and a sustainable pathway for the program.
In short, the EUMaster4HPC is training the next generation of HPC users and providers. It's exactly the sort of program I wished I could have done earlier in my career.
Course structure for the European Master For High Performance Computing. Source: https://eumaster4hpc.uni.lu/
The 2024 EUMaster4HPC Summer School
The two year Masters program is bridged by a one week summer school and this year's focus was HPC in Data Science. The event was organized by IT4Innovations National Supercomputing Center amd Vienna Scientific Cluster (VSC) with sponsorship from MathWorks. 46 students were taught a range of topics including parallel computing and large-scale data analysis in R, Python and MATLAB, all backed by two of the largest supercomputers in Europe based in Austria and the Czech Republic.
The MATLAB sessions were delivered on Karolina, a petascale system owned by the EuroHPC Joint Undertaking and IT4Innovations, that serves as a Czech national HPC resource. It was ranked 69th in the worldwide TOP500 supercomputers when it was installed in 2021. In other words, it's one of the fastest computers in the world!
The primary way we accessed MATLAB on this machine was via the Open OnDemand setup that had been configured by the IT4Innovations team in collaboration with MathWorks specialist HPC installation team. The result works in the web browser and looks just like MATLAB Online but with a 100,000+ core supercomputer behind it! If you have never used MATLAB on a HPC cluster this way before, I can highly recommend it.
Developing new MATLAB material for HPC
Along with my colleage, Franziska Albers, we developed totally new material for this event. My seminar was based around a 'code-kata' idea where I demonstrated how to program the same algorithm in many different ways, exploring various aspects of performance programming in MATLAB as I went, culminating in a demonstration where I ran the algorithm on all 8 NVIDIA A100 GPUs of one of Karolina's GPU nodes simultaneously.
Franziska, on the other hand, focused on large scale data engineering problems using the Parquet file format and Tall Arrays. In the afternoon, the students could choose from a set of projects we created ranging from Deep Learning hyper-parameter optimisation through to code optimisation, image processing and cluster benchmarking. We had additional support from the guys at Humusoft, the exclusive MATLAB distributor in the Czech Republic and Slovakia.
Honestly, the session was exhausting in the best possible way! All of the students were highly engaged, frequently stopping us to ask insightful questions that clearly demonstrated that they had had some superb HPC education in their first year.
The beginning of a new friendship in HPC
This event was the professional highlight of the summer for me and we are already discussing plans for meeting up in Atlanta for SC24 and how we might continue collaborating in future years. For now, I suggest keeping an eye on the ladies and gentlemen in the picture above because they'll be the future of High Performance Computing once they graduate.
|
  • print

Comments

To leave a comment, please click here to sign in to your MathWorks Account or create a new one.