[SCore-users] omni/SCASH: omp_get_num_procs

chris kiam mika126 at hotmail.com
Sat Dec 20 00:36:58 JST 2003


Hi!
I have some problems cos i need to know the number of threads before 
reaching a parallel region. Using omp_get_num_threads it returns 1 (i guess 
since the threads have not been created yet..) and omp_get_num_procs returns 
a default constant value of 4 (defined in a headerfile right?).
Is there some other way?I looked in the man pages, but didnt find anything.
thanks
Kristian Kiamos

_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE* 
http://join.msn.com/?page=features/junkmail




More information about the SCore-users mailing list