|Date:||02.05.2019 9:00 - 03.05.2019 17:00|
|Location details:||The event is organised at the CSC Training Facilities located in the premises of CSC at Keilaranta 14, Espoo, Finland. The best way to reach us is by public transportation; more detailed travel tips are available.|
|Lecturers:|| Vaclav Hapla (ETH) |
|The course materials, lunches as well as morning and afternoon coffees are free of charge.|
The Portable Extensible Toolkit for Scientific computing (PETSc) is a software framework for scalable numerical solution of complex problems in science and engineering. It is designed primarily for typical computations connected with Partial Differential Equations (PDE) solution, but is already successfully used also e.g., in data science. PETSc provides implementations of distributed sparse/dense/unassembled matrices, linear algebra, linear/non-linear system solvers, time integrators, mathematical optimization, discretization and more. It can as well be selectively extended with user's own implementations at any level. Codes using PETSc can be compiled on a wide range of computer architectures from iPhone to a large cluster with no code changes. PETSc is written in C but can be employed e.g., in C++, Fortran and Python programs as well. The course will interleave theory and practice — presentations and hands-on exercises with individual consultations.
After the course participants are able to:
- make use of the vast functionality available in PETSc to write their own programs, from mini-apps to bigger projects;
- write their PETSc-based programs in a way allowing experiments with command-line options with no need for recompiling — for example, to apply different preconditioners to the same problem and compare their performance;
- add their own functionality if needed by extending prefabricated building blocks available in PETSc;
- take advantage of the debugging and profiling tools within PETSc;
- use PETSc as a "package manager" to fetch, compile and link various external libraries such as ParMETIS easily;
- do something more with PETSc, also based on their individual preferences.
Participants need some experience in C programming, but expertise is not required. One should be familiar with:
- C syntax;
- Control flow (if/else, loops, writing/calling functions);
- Writing and calling functions;
- Compiling a C program on their target platform.
One also needs some conceptual knowledge of MPI:
- What is message passing about;
- What are MPI communicators.