Hybrid programming Flashcards

1
Q

levels of thread support

A

0 MPI_THREAD_SINGLE
1 FUNNELED
2 SERIALIZED
3 MULTIPLE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

setup hybrid code

A

int provided;
MPI_Init_thread(&argc, &argv, MPI_THREAD_FUNNELED, &provided);
if (provided < MPI_THREAD_FUNNELED) {
MPI_Abort(MPI_COMM_WORLD, EXIT_FAILURE);}
MPI_Finalize();

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

openmp thread bindings report

A

OMP_PROC_BIND master, close, spread, true, false

OMP_PLACES describes places

OMP_THREAD_LIMIT

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

MPI therad bindings report

A

–map-by socket:PE=4
–bind-to core

How well did you know this?
1
Not at all
2
3
4
5
Perfectly