Disabling openMP in windows server

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
yuvpurush
Posts: 1
Joined: 2012-08-22T13:00:26-07:00
Authentication code: 67789

Disabling openMP in windows server

Post by yuvpurush »

I am using Imagemagick 6-7-8-2 on a windows server. From the earlier forums i gather that in order to disable openMP, one needs to update configure.xml and recompile and reinstall the application.

I do not know how to recompile in a windows server. Is there any installer available with a disabled openMP?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Disabling openMP in windows server

Post by magick »

Edit policy.xml and set the threads resource to 1. To completely disable OpenMP you would need to compile ImageMagick from source and not enable the OpenMP language extension. However, seeing threads to 1 will restrict all algorithms to just one core on your host without the need of recompiling ImageMagick from source.
Post Reply