graphics/ImageMagick seemingly not using OpenMP

Anton Shterenlikht mexas at bristol.ac.uk
Tue Aug 11 14:53:31 UTC 2009


On Tue, Aug 11, 2009 at 09:38:52AM -0500, Kirk Strauser wrote:
> On Aug 11, 2009, at 6:54 AM, Anton Shterenlikht wrote:
> 
> >On Mon, Aug 10, 2009 at 11:18:43AM -0500, Kirk Strauser wrote:
> >>On my FreeBSD 7.2-STABLE system (from July 29), I'm trying to enable
> >>OpenMP for the graphics/ImageMagick port.  With the
> >>IMAGEMAGICK_OPENMP
> >>option set, I get this from "make configure":
> >>
> >>checking for cc -std=gnu99 option to support OpenMP... (cached)
> >>unsupported
> >>checking for cc -std=gnu99 option to support OpenMP... -fopenmp
> >>
> >>If I go on to build it, there's no other mention of OpenMP in the
> >>output.  What am I doing wrong?
> 
> >I think the second like shows that OMP is indeed supported.
> >Have you tested on any OMP test?
> 
> But the rest of the build doesn't give any indication. Specifically,
> the "-fopenmp" flag isn't used anywhere.  I've tested that OMP works
> - or at least compiles - but I don't know of any way to find if a
> given binary was actually compiled with it.

I haven't got any SMP IM tests, so cannot advise on this.
If you know of some, let me know, I'd like to test my SMP
box.
Have you also built perl-threaded?

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423


More information about the freebsd-questions mailing list