Darryl Gove's blog
Debugging OpenMP code
The compiler flag -xopenmp enables the recognition of OpenMP directives. As a side -effect it also raises the optimisation level to -xO3. If you're trying to debug the code, then you'll not want the optimisation level raised then you can use the option -xopenmp=noopt which enables the recognition of OpenMP directives but does not increase the optimisation level.
It's also worth compiling with the flags -xvpara and -xloopinfo which report parallelisation information.
Posted at 06:24PM Oct 10, 2007 by Darryl Gove in Sun | Comments[1]



learning....
Posted by ro on October 10, 2007 at 08:49 PM PDT #