From owner-freebsd-questions@FreeBSD.ORG Tue Aug 11 14:38:56 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 8A955106564A for ; Tue, 11 Aug 2009 14:38:56 +0000 (UTC) (envelope-from kirk@strauser.com) Received: from kanga.honeypot.net (kanga.honeypot.net [IPv6:2001:470:a80a:1:21f:d0ff:fe22:b8a8]) by mx1.freebsd.org (Postfix) with ESMTP id 498E98FC1F for ; Tue, 11 Aug 2009 14:38:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by kanga.honeypot.net (Postfix) with ESMTP id D5C835C0C3; Tue, 11 Aug 2009 09:38:55 -0500 (CDT) X-Virus-Scanned: amavisd-new at honeypot.net Received: from kanga.honeypot.net ([127.0.0.1]) by localhost (kanga.honeypot.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 09Z0ZVraIy7Y; Tue, 11 Aug 2009 09:38:53 -0500 (CDT) Received: from pooh.honeypot.net (pooh.honeypot.net [IPv6:2001:470:a80a:1:20a:95ff:fed5:10f2]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by kanga.honeypot.net (Postfix) with ESMTPSA id 457305C0B8; Tue, 11 Aug 2009 09:38:53 -0500 (CDT) Message-Id: <5F4E768D-0BAB-44A0-BFCB-9D3119451132@strauser.com> From: Kirk Strauser To: Anton Shterenlikht In-Reply-To: <20090811115408.GA70402@mech-cluster241.men.bris.ac.uk> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Tue, 11 Aug 2009 09:38:52 -0500 References: <4A804863.3050801@strauser.com> <20090811115408.GA70402@mech-cluster241.men.bris.ac.uk> X-Mailer: Apple Mail (2.936) Cc: 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:38:56 -0000 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. -- Kirk Strauser