> I'm trying to write my first Openmp program on a Sun Solaris 2 processor
> Ultra 60 but I can't get it to work.
Does it really have 2 cpus? The psrinfo command will show you.
> The conditional write statement "OMP AWARE" is triggered but nothing else.
> In particular, the number of processors is 1 and the maximum number of
> threads is 1?!
>
> Any help would be greatly appreciated - I'm stumped on this one.
I think you have to set OMP_DYNAMIC to false to get more threads
than processors.
Note that there is an API guide included in the compiler
documentation which you can get from http://docs.sun.com
or from inside the compiler distribution itself
file:/opt/SUNWspro/docs/index.html
The guide that comes with Sun One Studio 8 mentions OMP_DYNAMIC
and the connection with omp_set_num_threads() under the
Implementation-Dependent Issues chapter.
(Please note I'm on holiday from this afternoon so can not
follow up this email).
Harvey Richardson
Global Customer Benchmarking
Sun Microsystems
|