NERSC logo National Energy Research Scientific Computing Center
  A DOE Office of Science User Facility
  at Lawrence Berkeley National Laboratory
 

MASTER Directive

The code enclosed with MASTER and END MASTER directives is executed only by the master thread of the team. There is no implied barrier either on entry to or exit from the MASTER section. Branching out of a MASTER block is illegal.

!$OMP MASTER                 
	block                  
!$OMP END MASTER  

LBNL Home
Page last modified: Mon, 10 Nov 2003 18:52:31 GMT
Page URL: http://www.nersc.gov/nusers/help/tutorials/openmp/master.php
Web contact: webmaster@nersc.gov
Computing questions: consult@nersc.gov

Privacy and Security Notice
DOE Office of Science