[Omp] Subroutines inside parallel block

Patricia Bittencourt Sampaio patricourt at yahoo.com.br
Wed Apr 13 07:34:47 PDT 2005


 Hello, 

  Actually when I said I have a subroutine inside a
parallel block, there are no pragmas, indicating a
paralellel region explicitally, in this subroutine.
There are only:

#pragma omp master
{
   -----------
}  

#pragma omp barrier

for
{
   ------------
}

#pragma omp for nowait
for
{ 
   ------------
}

    However it seems to execute this in parallel
because of the presence of the barrier and others
directives. Maybe it is a kind of nested parallelism
implicity. 
    Please correct me if I'm wrong.

Regards,


Patricia Bittencourt Sampaio
------------------------------------
Federal University of Rio de Janeiro


	
	
		
Yahoo! Acesso Grátis - Internet rápida e grátis. 
Instale o discador agora! http://br.acesso.yahoo.com/




More information about the Omp mailing list