[Omp] Subroutines inside parallel block

eric duncan Eric.Duncan at sun.com
Wed Apr 13 16:15:29 PDT 2005


Okay - this seems like a different question than what I saw you post
before.  In any case, what you sent was right from the IS benchmark and
is correct.  Now what exactly are you trying to do with this code (i.e.,
what modifications are you trying to make)??

Patricia Bittencourt Sampaio wrote:
>  
>   Hi,
> 
> --- eric duncan <Eric.Duncan at sun.com> wrote:
> 
> 
>>Now in your second note, you indicate that the
>>subroutine
>>has a master, barrier, and workshare for.  These
>>can't be
>>contained within a workshare for. 
> 
> 
>   These clauses are defined in a parallel block.
>   
>   The code that I'm using is part of the NAS Parallel
> Benchmarks version NPB2.3. It is the Integer Sort. I
> have no idea about the restrictions of the source code
> so I'm sending just the routines (Rand and Main) that
> interest in this matter.   
> 
>    I'd appreciate if someone were able to take a look.
> 
> 
> Patricia B. Sampaio
> ------------------------------------
> Federal University of Rio de Janeiro
> 
> __________________________________________________
> Converse com seus amigos em tempo real com o Yahoo! Messenger 
> http://br.download.yahoo.com/messenger/ 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Omp mailing list
> Omp at openmp.org
> http://openmp.org/mailman/listinfo/omp_openmp.org





More information about the Omp mailing list