Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Aug 2009 15:53:24 +0100
From:      Anton Shterenlikht <mexas@bristol.ac.uk>
To:        Kirk Strauser <kirk@strauser.com>
Cc:        Anton Shterenlikht <mexas@bristol.ac.uk>, freebsd-questions@freebsd.org
Subject:   Re: graphics/ImageMagick seemingly not using OpenMP
Message-ID:  <20090811145324.GA87297@mech-cluster241.men.bris.ac.uk>
In-Reply-To: <5F4E768D-0BAB-44A0-BFCB-9D3119451132@strauser.com>
References:  <4A804863.3050801@strauser.com> <20090811115408.GA70402@mech-cluster241.men.bris.ac.uk> <5F4E768D-0BAB-44A0-BFCB-9D3119451132@strauser.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090811145324.GA87297>