Q. Define Master Construct in FORTAN?
The master directive has following general form:
#pragma omp master
structured_block
It causes master thread to execute structured block. Other threads coming across this directive will ignore it and associated structured block and will move ahead. In the Illustration the master keeps track of how much iteration has been executed in addition prints out a progress report. The other threads skip master region without waiting.