OpenMP dependency

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
TaQ

OpenMP dependency

Post by TaQ »

Hi there!

I just got a problem trying to use RMagick (Ruby ImageMagick gem) with an updated version with ImageMagick, and got that issue where I needed to recompile ImageMagick with the --disable-openmp option. After recompiling it, it works ok, but there is a lot of users that doesn't knows how to that or can't do that, specially on some web hosting environments where people can't change system libs or resources.
When I searched about that on the web, I found a lot of distros with this issue and a lot of people needing to recompile ImageMagick disabling OpenMP. I'm just curious why the OpenMP thing is a default option now and if it should not be a optional one. Older versions worked ok.

Thanks!
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: OpenMP dependency

Post by magick »

The ImageMagick environment is highly confiigurable and its up to the distro maintainers to decide which configure script options are best suited for their environment. If we change the default OpenMP configure option to off as you suggest to suit the RMagick requirements, someone else will come along and post that ImageMagick does not take advantage of their quad-core processor. You can't please everyone and that is exactly what the configure script options are for.
TaQ

Re: OpenMP dependency

Post by TaQ »

Thanks for your answer!
Post Reply