Your peers in the course Parallel Numerics at the TU München create and share summaries, flashcards, study plans and other learning materials with the intelligent StudySmarter learning app.

Get started now!

Parallel Numerics

Get/set of the number of threads in OpenMP

omp_set_num_threads(inthreads)

nThreads = omp_get_num_threads()

Parallel Numerics

Name two alternative matrix products

Hadamard product: Element-wise product

Kronecker product: Tensor product

Parallel Numerics

What does SPMD mean?

Single program multiple data. All processes run the same program but different data

Parallel Numerics

What's a Single Step / Gauss-Seidel iterative method?

The method will depend on the former and same timestep (implicit) values. It reduces parallelism and ordering becomes relevant. Speeds up convergence.

Parallel Numerics

What's a full-step/Jacobi iterative method?

The values of the next time step will depend only on those of the previous one. Not the same (implicit) nor former ones (multi-step)

Parallel Numerics

What types of dependency graphs (in terms of time span) will appear?

**Single-timestep graphs**: Reflect the dependencies amongst two contiguous timesteps (Cyclic). Only possible for single-step-methods.

**Iterative graphs**: Represent 2 or more time steps of an iterative process. Open ends. Valid for all methods independently of step type.

Parallel Numerics

What are MIMD Machines?

Multiples sets of instructions on different sets of data. This machines can achieve universality.

Parallel Numerics

What does SIMD mean?

Single instruction multiple data means that synchronized operations are performed over a vector. Think of vectorized sums or multiplications.

Parallel Numerics

Can an eigenvalue problem of a non-square matrix be formulated?

Hell no! But there is an alternative formulation, called singular values and vectors

Parallel Numerics

When shall we use collective operations?

Whenever we want to perform a communication action involving all the processes in a given communicator.

First try with collective -> If not possible to implement, go for point to point

Parallel Numerics

What do sections do on OpenMP?

With sections, you give the compiler a cue that every section should be run by a different thread

Parallel Numerics

What's the partitioning of the data that happens when we choose schedule(static)?

blocksize = iteration space/number of processors

For your degree program Computational Science And Engineering at the TU München there are already many courses on StudySmarter, waiting for you to join them. Get access to flashcards, summaries, and much more.

Back to TU München overview pageStudySmarter is an intelligent learning tool for students. With StudySmarter you can easily and efficiently create flashcards, summaries, mind maps, study plans and more. Create your own flashcards e.g. for Parallel Numerics at the TU München or access thousands of learning materials created by your fellow students. Whether at your own university or at other universities. Hundreds of thousands of students use StudySmarter to efficiently prepare for their exams. Available on the Web, Android & iOS. It’s completely free.

Best EdTech Startup in Europe

1## Learning Plan

2## Flashcards

3## Summaries

4## Teamwork

5## Feedback