Re: OpenMP on FreeBSD

2012-02-02 Thread Anton Shterenlikht
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

Re: OpenMP on FreeBSD

2012-02-02 Thread Dennis Glatting
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

OpenMP on FreeBSD

2012-02-01 Thread Anton Shterenlikht
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

Re: OpenMP on FreeBSD

2012-02-01 Thread Dennis Glatting
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

Re: OpenMP

2009-08-31 Thread Andrea Venturoli
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

[SOLVED] Re: OpenMP

2009-08-31 Thread Andrea Venturoli
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++

Re: graphics/ImageMagick seemingly not using OpenMP

2009-08-11 Thread Anton Shterenlikht
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

Re: graphics/ImageMagick seemingly not using OpenMP

2009-08-11 Thread Kirk Strauser
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

Re: graphics/ImageMagick seemingly not using OpenMP

2009-08-11 Thread Anton Shterenlikht
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

Re: graphics/ImageMagick seemingly not using OpenMP

2009-08-11 Thread Kirk Strauser
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

Re: graphics/ImageMagick seemingly not using OpenMP

2009-08-11 Thread Scott Bennett
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

graphics/ImageMagick seemingly not using OpenMP

2009-08-10 Thread Kirk Strauser
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

OpenMP

2009-07-30 Thread Andrea Venturoli
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

Re: OpenMP

2009-07-30 Thread 文鳥
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

Re: OpenMP

2009-07-30 Thread Daniel Underwood
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