On Wed, Feb 01, 2012 at 04:29:59PM -0800, Dennis Glatting wrote:
On Thu, 2012-02-02 at 00:09 +, Anton Shterenlikht wrote:
I'm new to OpenMP. I wonder
if there are any special considerations
when running OpenMP on FreeBSD?
I run OpenMP. No special consideration. Here's a chunk from
On Thu, 2 Feb 2012, Anton Shterenlikht wrote:
On Wed, Feb 01, 2012 at 04:29:59PM -0800, Dennis Glatting wrote:
On Thu, 2012-02-02 at 00:09 +, Anton Shterenlikht wrote:
I'm new to OpenMP. I wonder
if there are any special considerations
when running OpenMP on FreeBSD?
I run OpenMP
I'm new to OpenMP. I wonder
if there are any special considerations
when running OpenMP on FreeBSD?
For example, I have this OMP parallelised
fortran program, nested do loops, compiled
with gfortran46. When I run it with 2 threads
on a 2-cpu box, I see in top(1):
PIDUID PRI NICE SIZE
On Thu, 2012-02-02 at 00:09 +, Anton Shterenlikht wrote:
I'm new to OpenMP. I wonder
if there are any special considerations
when running OpenMP on FreeBSD?
I run OpenMP. No special consideration. Here's a chunk from my Makefile:
TARG=ecc.enc ecc.dec
$TARG: *.cc *.h Makefile
g
Daniel Underwood ha scritto:
Did you add the -fopenmp flag to both the compiler and the linker?
Both need it.
Thanks, this solves any compiling/linking problem.
Now my compiling session looks like this:
g++42 -c -pipe -Wall -Wextra -Wpointer-arith -Wwrite-strings
-Wconversion -Wsign-compare
Daniel Underwood ha scritto:
However, the program crashes with a Bad system call as soon as it calls
std::getline.
Can we see the code?
No, sorry (not my code, not my decision).
However, I solved this issue:
as I said, I linked with
g++42 -o test.exe test.o lib.a -L/usr/local/lib -lstdc++
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
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
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
On Aug 11, 2009, at 9:53 AM, Anton Shterenlikht wrote:
Have you also built perl-threaded?
I just now recompiled Perl with threads enabled, then Imagemagick,
with identical results.
--
Kirk Strauser
___
freebsd-questions@freebsd.org mailing
On Tue, 11 Aug 2009 09:38:52 -0500 Kirk Strauser k...@strauser.com
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
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
Hello.
I'm trying to use OpenMP in C++ on FreeBSD 6.3p10/i386 and I'm totally
stuck.
First off, base system's gcc (3.4.6) does not include OpenMP support, so
I'm using gcc 4.2.5 from ports (I also tried 4.3.4, but that does not
make much difference).
I've added the flag -fopenmp to the command
Hello Andrea,
I have no 6.3 box around for testing, but on 7.2 OpenMP works without
problems using base gcc when I compile using -fopenmp, but without
-lgomp. Thus I would suggest upgrading to 7.2 or 8 beta.
Best regards
___
freebsd-questions
Did you add the -fopenmp flag to both the compiler and the linker?
Both need it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
15 matches
Mail list logo