I've compiled from source on 5 Macs now with limited success. As near as I can tell the Macs with Intel GPU and the newest Mac Pro with AMD GPU are broken. Compiled from source using compiler at hpc.sourceforge.net for OpenMP support. Compiles fine, but seem to fail at the same place:
line 899: in opencl.c
Results:
Mac Pro - 10.8 - ATI GPU - OpenCL 1.2 - Success
MacBook Pro - 10.9 - NVidia GPU - OpenCL 1.0 - Success
2 Mac minis - 10.8 and 10.9 - Intel GPU - OpenCL 1.2 - Failed
Mac Pro - 10.9 - AMD Fire PRO GPU - OpenCL 1.2 - Failed
Is there a workaround?
OpenCL + OS X
Re: OpenCL + OS X
I have the same problem.
Installed the ImageMagick 6.8.9-9 pkg from CactusLab and run into the below errors when I try to convert applying clipping paths.
The command:
/opt/ImageMagick/bin/convert myImageWithClippingPath.jpg -flatten -alpha transparent -clip -alpha opaque -resample 72 -resize 60x70 -background white -gravity center -extent 60x70 -unsharp 0.5x0.5+1.4+0.0 -quality 90 -strip myConvertedImage.jpg
The error:
convert: clBuildProgram failed. (-11) @ warning/opencl.c/CompileOpenCLKernels/898.
convert: clCreateCommandQueue failed. (0) @ warning/opencl.c/InitOpenCLEnvInternal/1211.
convert: clBuildProgram failed. (-11) @ warning/opencl.c/CompileOpenCLKernels/898.
convert: clCreateCommandQueue failed. (0) @ warning/opencl.c/InitOpenCLEnvInternal/1211.
convert: clBuildProgram failed. (-11) @ warning/opencl.c/CompileOpenCLKernels/898.
convert: clCreateCommandQueue failed. (0) @ warning/opencl.c/InitOpenCLEnvInternal/1211.
convert: clBuildProgram failed. (-11) @ warning/opencl.c/CompileOpenCLKernels/898.
convert: clCreateCommandQueue failed. (0) @ warning/opencl.c/InitOpenCLEnvInternal/1211.
convert: clBuildProgram failed. (-11) @ warning/opencl.c/CompileOpenCLKernels/898.
convert: clCreateCommandQueue failed. (0) @ warning/opencl.c/InitOpenCLEnvInternal/1211.
The same command works fine on a Macbook Air 10.10, but not on a Mac Pro 10.9.5 with AMD Fire PRO GPU.
Any ideas very welcome!
Installed the ImageMagick 6.8.9-9 pkg from CactusLab and run into the below errors when I try to convert applying clipping paths.
The command:
/opt/ImageMagick/bin/convert myImageWithClippingPath.jpg -flatten -alpha transparent -clip -alpha opaque -resample 72 -resize 60x70 -background white -gravity center -extent 60x70 -unsharp 0.5x0.5+1.4+0.0 -quality 90 -strip myConvertedImage.jpg
The error:
convert: clBuildProgram failed. (-11) @ warning/opencl.c/CompileOpenCLKernels/898.
convert: clCreateCommandQueue failed. (0) @ warning/opencl.c/InitOpenCLEnvInternal/1211.
convert: clBuildProgram failed. (-11) @ warning/opencl.c/CompileOpenCLKernels/898.
convert: clCreateCommandQueue failed. (0) @ warning/opencl.c/InitOpenCLEnvInternal/1211.
convert: clBuildProgram failed. (-11) @ warning/opencl.c/CompileOpenCLKernels/898.
convert: clCreateCommandQueue failed. (0) @ warning/opencl.c/InitOpenCLEnvInternal/1211.
convert: clBuildProgram failed. (-11) @ warning/opencl.c/CompileOpenCLKernels/898.
convert: clCreateCommandQueue failed. (0) @ warning/opencl.c/InitOpenCLEnvInternal/1211.
convert: clBuildProgram failed. (-11) @ warning/opencl.c/CompileOpenCLKernels/898.
convert: clCreateCommandQueue failed. (0) @ warning/opencl.c/InitOpenCLEnvInternal/1211.
The same command works fine on a Macbook Air 10.10, but not on a Mac Pro 10.9.5 with AMD Fire PRO GPU.
Any ideas very welcome!
Re: OpenCL + OS X
Hi, Can any one please provide some solution on above issue. Its urgent..else can you suggest what to do ?
Re: OpenCL + OS X
Does ImageMagick 6.9.1-4,. the current release fail for you? If so, disable OpenCL support for now until we can investigate:
- cd ImageMagick-6.9.1-4
./configure --disable-opencl
make
make install
Re: OpenCL + OS X
Thanks magick for your suggestion. It really works.