Debugging and Optimization of Scientific Applications@Cineca

CET
Sala Corsi KION (Cineca - Bologna)

Sala Corsi KION

Cineca - Bologna

via Magnanelli 1 4033 Casalecchio di Reno (BO) ITALY
Description

The tipical approach to the art of programming from the point of view of a scientist only rarely permits to reach good results in terms of computational performances. The basic knowledge about how a computer machine really works permits even to a naif programmer to better write his own code and eventually to optimize properly any kind of scientific program. This knowledge is way more important in the field of High-Performance Computing where the correct exploitation of the modern architecures is crucial to the achievement of scientific results.

This code is addressed to C and Fortran programmers that, even without notions of computer science, have necessities to learn tricks and techniques to quickly debug and optimize codes without restarting from scratch. Aim of this course is to guide the user to analyze and improve performances of his software, by introducing techniques and tools used in the HPC world. Software and hardware profilers will be presented and it will be showed how to find bottlenecks and how to fix them. Typical techniques of optimization (cache reuse, unrolling, inlining, vectorization) will be presented the use of mathematical libraries will be discussed. Furthermore, the use of compiler flags on different architectures and compilers will be introduced.

 

Topics: 

Computer architectures: cache memory, cache coherency, cache padding, memory alignment, pipeline, branch prediction. Introduction to compilers: what is and how a compiler does work. Optimization techniques: aliasing, interprocedural analysis, inlining, loop unrolling, intrinsic functions Profiling and debugging tools. Scientific libraries.
 

Target audience: 

Researchers and programmers interested to a quick and efficient debugging and to a knowledge of fundamental concepts of optimization. This course is particularly suitable for people approaching for the first time to issues of computer programming in the framework of scientific calculations.

 

Pre-requisites: 

Knowledge of Fortran or C/C++. Elementary notions of Linux/Unix.

Grant
The lunch for the three days will be offered to all the participants and some grants are available. The only requirement to be eligible is to be not funded by your institution to attend the course and to work or live in an institute outside the Bologna area. The grant  will be 300 euros for students working and living outside Italy and 150 euros for students working and living in Italy. Some documentation will be required and the grant will be paid only after a certified presence of minimum 80% of the lectures.

Further information about how to request the grant, will be provided at the confirmation of the course: about 3 weeks before the starting date.

SUBSCRIPTIONS WILL BE OPEN ON FEBRUARY 2016

AGENDA
Slides
Support
The agenda of this meeting is empty