From owner-freebsd-questions@FreeBSD.ORG Tue Aug 11 14:53:30 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B78D310656F0 for ; Tue, 11 Aug 2009 14:53:30 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id 746A18FC47 for ; Tue, 11 Aug 2009 14:53:30 +0000 (UTC) Received: from seis.bris.ac.uk ([137.222.10.93]) by dirg.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1Masj8-0007V8-I1; Tue, 11 Aug 2009 15:53:28 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by seis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1Masj7-0004Sa-UG; Tue, 11 Aug 2009 15:53:26 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id n7BErPd3092416; Tue, 11 Aug 2009 15:53:25 +0100 (BST) (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3/Submit) id n7BErOxQ092403; Tue, 11 Aug 2009 15:53:24 +0100 (BST) (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Tue, 11 Aug 2009 15:53:24 +0100 From: Anton Shterenlikht To: Kirk Strauser Message-ID: <20090811145324.GA87297@mech-cluster241.men.bris.ac.uk> References: <4A804863.3050801@strauser.com> <20090811115408.GA70402@mech-cluster241.men.bris.ac.uk> <5F4E768D-0BAB-44A0-BFCB-9D3119451132@strauser.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5F4E768D-0BAB-44A0-BFCB-9D3119451132@strauser.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -3.6 X-Spam-Level: --- Cc: Anton Shterenlikht , freebsd-questions@freebsd.org Subject: Re: graphics/ImageMagick seemingly not using OpenMP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Aug 2009 14:53:31 -0000 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