Q. Sections construct in FORTAN?
The sections construct is a no iterative work sharing construct which causes structured blocks to be shared among threads in team. Every structured block is executed one time by one of threads in team. The syntax of portions construct is:
#pragma omp sections [set of clauses.]
{
#pragma omp section
structured-bloc
#pragma omp section
structured-block
.
.
}
The clause is one of the following:
private(list)
firstprivate(list)
lastprivate(list)
reduction(operator: list)
nowait