Sieve 1.21 Windows, intel GPU -- Build error
log in

Advanced search

Message boards : Number crunching : Sieve 1.21 Windows, intel GPU -- Build error

Author Message
Fritzr
Send message
Joined: 30 Jul 13
Posts: 2
Credit: 65,457,978
RAC: 488,935
Message 23321 - Posted: 10 Nov 2016, 3:54:41 UTC

Stderr output

<core_client_version>7.6.22</core_client_version>
<![CDATA[
<message>
(unknown error) - exit code -11 (0xfffffff5)
</message>
<stderr_txt>
Collatz Conjecture Sieve 1.21 Windows x86_64 for OpenCL
Written by Slicker (Jon Sonntag) of team SETI.USA
Based on the AMD Brook+ kernels by Gipsel of team Planet 3DNow!
Sieve code and OpenCL optimization provided by Sosiris of team BOINC@Taiwan
BUILD LOG
<built-in>:1:9: error: '__FINITE_MATH_ONLY__' macro redefined
<built-in>:265:9: note: previous definition is here

clBuildProgram() failed with error (-11)
Error: (-11)Program build failure at 1163 of SetupOpenCL

Error -11. Processing Aborted.
09:42:08 (7476): called boinc_finish

</stderr_txt>
]]>

Approx 200 of these now ... 100% error rate ... checked several at random to see if there is any variance, it appears they all fail with a redefined macro error

Profile Slicker
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Avatar
Send message
Joined: 11 Jun 09
Posts: 2525
Credit: 740,580,099
RAC: 1
Message 23333 - Posted: 10 Nov 2016, 13:53:15 UTC

Unfortunately, the -cl-finite-math-only directive is only listed once in the code so I don't see how it can be redefined. what I find interesting is that according to Intel (https://software.intel.com/sites/landingpage/opencl/user-guide/Optimization_Options.htm) The CPU does not support the -cl-finite-math-only directive but yet it does support the -cl-fast-relaxed-math directive which includes the -cl-finite-math-only directive. That makes no sense.

What's even stranger is that due to a bug in Apple's AMD implementation, the code first tries to compile with the compiler directives and if that fails, falls back to compiling without any compiler directives. For whatever reason, the clBuildProgram is not just failing but throwing an exception causing the app to fail. It's amazing how Intel, AMD, and nVidia can all implement the exact same specifications 3 different ways. It reminds me of the early browser days when Netscape and IE always needed custom code because of the non-conforming way they implemented HTML.

My suggestions is to go into your Collatz preferences and uncheck the "OpenCL for Intel CPUs (opencl_intel_cpu)" option. Then you should get non-OpenCL apps for the CPU.

Fritzr
Send message
Joined: 30 Jul 13
Posts: 2
Credit: 65,457,978
RAC: 488,935
Message 23336 - Posted: 10 Nov 2016, 14:54:58 UTC

Okay unchecking intel GPU for now.

Hopefully this is version specific and will be fixed with a future intel OpenCL release.


Post to thread

Message boards : Number crunching : Sieve 1.21 Windows, intel GPU -- Build error


Main page · Your account · Message boards


Copyright © 2018 Jon Sonntag; All rights reserved.