OpenMP for Windows

Bob Friesenhahn <[email protected]> Sat, 20 Dec 2008 12:45:09 -0600 (CST)
Newsgroups gmane.comp.video.graphicsmagick.tools,gmane.comp.video.graphicsmagick.help
Message-ID <[email protected]>
Today I have produced the first install packages for Windows which 
support multi-core systems via OpenMP.  These are built using Visual 
Studio Professional 2008.  I need some volunteers to download and test 
these snapshot versions to make sure that they are working properly. 
Please report if the executable refuses to run on your system.  Also 
report if everything works great.  Positive feedback will hasten an 
official release.

Here are the URLs:

Q8 Build:
ftp://ftp.graphicsmagick.org/pub/GraphicsMagick/snapshots/GraphicsMagick-1.4.020081220-Q8-windows-dll.exe

Q16 Build:
ftp://ftp.graphicsmagick.org/pub/GraphicsMagick/snapshots/GraphicsMagick-1.4.020081220-Q16-windows-dll.exe

The speedup that I observe on an Intel Core 2 Duo system I have here 
is summarized at:
http://www.graphicsmagick.org/OpenMP.html#window-xp-intel-core-2-duo

The number of threads that the programs use is controlled via the 
OMP_NUM_THREADS environment variable.  It appears that the default is 
the number of cores available.  In Windows command shell this may be 
set temporarily for testing like

   set OMP_NUM_THREADS=2

As a reminder, GraphicsMagick includes its own benchmark facility so 
you can do something like

   gm benchmark -duration 5 convert ...

to see how many times the convert command you specify will execute in 
5 seconds.

Thanks,

Bob
======================================
Bob Friesenhahn
[email protected], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/


------------------------------------------------------------------------------