Task postponed: CL file build failure

Questions and Answers : Macintosh : Task postponed: CL file build failure
Message board moderation

To post messages, you must log in.

AuthorMessage
zoemax
Volunteer tester

Send message
Joined: 24 May 99
Posts: 5
Credit: 2,492,218
RAC: 1,418
United States
Message 1881329 - Posted: 31 Jul 2017, 13:51:24 UTC

First and foremost, this started appearing on the BETA of Mac OS ( 10.13) , so I'm well aware of the implications of running BETA software. I'm just trying to understand where/what may be going on, as I see most CL failures from old Linux threads dealing with old GPUs and old OpenCL issues.

Secondly, here the setup:

BOINC Manager 7.6.34 ( and have also tested on 7.8 beta).
Application version SETI@home v8 v8.20 (opencl_ati5_SoG_mac) x86_64-apple-darwin

iMac ( Late 2015)
4GHZ i7
macOS High Sierra 10.13 beta 4 ( currently).
AMD Radeon R9 M396X

The only issue I can see ( In Notices ) is:
SETI@home: Notice from BOINC
Task postponed: CL file build failure

I also see it from with the Event Log.

From an individual Task View I see:
    core_client_version>7.6.34</core_client_version>
    <![CDATA[
    <message>
    too many boinc_temporary_exit()s
    </message>
    <stderr_txt>
    e Engine
    Error returned by cvms_element_build_from_source
    OpenCL platform detected: Apple
    Number of OpenCL devices found : 1
    BOINC assigns slot on device #0.
    Info: BOINC provided OpenCL device ID used

    Build features: SETI8 Non-graphics OpenCL USE_OPENCL_HD5xxx OCL_ZERO_COPY SIGNALS_ON_GPU OCL_CHIRP3 FFTW SSSE3 64bit
    System: Darwin x86_64 Kernel: 17.0.0
    CPU : Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
    GenuineIntel x86, Family 6 Model 94 Stepping 3
    Features : FPU TSC PAE APIC MTRR MMX SSE SSE2 HT SSE3 SSSE3 SSE4.1 SSE4.2 AVX1.0

    OpenCL-kernels filename : MultiBeam_Kernels_r3556.cl
    INFO: can't open binary kernel file: /Library/Application Support/BOINC Data/projects/setiathome.berkeley.edu/MultiBeam_Kernels_r3556.clHD5_AMDRadeonR9M395XComputeEngine.bin_V7_SoG_17.0.0_12Jul20201717, continue with recompile...
    Error : Building Program (binary, clBuildProgram):main kernels: not OK code -11
    CL file build log on device AMD Radeon R9 M395X Compute Engine
    Error returned by cvms_element_build_from_source

    OpenCL platform detected: Apple
    Number of OpenCL devices found : 1
    BOINC assigns slot on device #0.
    Info: BOINC provided OpenCL device ID used



My question is - Where do I start looking to solve:

    INFO: can't open binary kernel file: /Library/Application Support/BOINC Data/projects/setiathome.berkeley.edu/MultiBeam_Kernels_r3556.clHD5_AMDRadeonR9M395XComputeEngine.bin_V7_SoG_17.0.0_12Jul20201717, continue with recompile...
    Error : Building Program (binary, clBuildProgram):main kernels: not OK code -11
    CL file build log on device AMD Radeon R9 M395X Compute Engine



'What' can't open the binary kernel file?
I don't see any permissions problem & I have BOINC connections allowed through my firewall.

I can look back 3-4 years and find threads relating to clBuild with a code of -11, but I don't think I need to debug that program.

Or is this related to cvms_element_build_from_source 'https://origin-discussions-us.apple.com/thread/6724078'

I see no other issues with my other projects at the moment.

Any insights or 'go look here' will be greatly appreciated.

cheers!
dan


ID: 1881329 · Report as offensive     Reply Quote
zoemax
Volunteer tester

Send message
Joined: 24 May 99
Posts: 5
Credit: 2,492,218
RAC: 1,418
United States
Message 1882254 - Posted: 5 Aug 2017, 15:54:31 UTC - in response to Message 1881329.  

(sheepishly)...

Guess I found the answer that has been out there for years, (mac+gpu) + seti = doesn't work.
ID: 1882254 · Report as offensive     Reply Quote
TBar
Volunteer tester

Send message
Joined: 22 May 99
Posts: 3653
Credit: 172,106,602
RAC: 212,389
United States
Message 1882279 - Posted: 5 Aug 2017, 20:45:40 UTC - in response to Message 1882254.  
Last modified: 5 Aug 2017, 21:17:19 UTC

The Project Scientist was made aware of the situation with the Beta OS the day you first posted. I made recommendations for the Project to switch to App versions that didn't have that problem, I haven't seen a response. I'm not surprised the SoG ATI version stopped working, I never could get the nVidia SoG version to work at all, and the ATI version had very bad idle wake up numbers. There are existing Apps that don't have that problem, one is at Beta here, v8.19 (opencl_ati5_mac) App https://setiweb.ssl.berkeley.edu/beta/results.php?hostid=82822, and a newer version is being run on this machine,
System: Darwin x86_64 Kernel: 17.0.0
OpenCL version by Raistmer, r3610

Since it doesn't appear any changes are going to be made to the SETI Server, I'd suggest you do what the other Mac user did and switch to Anonymous platform using the r3610 version of the App. It seems your machine also has an AVX2 capable CPU, it should work well with the AVX2 App that's included in the bundle. Normally I'd suggest setting the Manager to No New Tasks and running down the cache before making the change to Anonymous platform, but I guess it really doesn't matter. Follow the instructions and place the New files in your setiathome.berkeley.edu folder, that should stop the Errors.
You want this package, ATi5r3610&CPU-AVX2.7z
Hope that helps.
ID: 1882279 · Report as offensive     Reply Quote
zoemax
Volunteer tester

Send message
Joined: 24 May 99
Posts: 5
Credit: 2,492,218
RAC: 1,418
United States
Message 1882436 - Posted: 6 Aug 2017, 16:34:14 UTC - in response to Message 1882279.  

Thanks.
Have downloaded / installed.

Will watch logs & report .

cheers!
dan
ID: 1882436 · Report as offensive     Reply Quote
TBar
Volunteer tester

Send message
Joined: 22 May 99
Posts: 3653
Credit: 172,106,602
RAC: 212,389
United States
Message 1882474 - Posted: 6 Aug 2017, 20:55:34 UTC - in response to Message 1882436.  

I still don't see any new tasks in your cache, https://setiathome.berkeley.edu/results.php?hostid=8248108 The new tasks will appear as SETI@home v8 Anonymous platform. It would be best if you either let your existing tasks error out, or abort them before you start running with the new Apps. Otherwise they will be in limbo until they Time-Out late next month. If you haven't added the new Apps yet just set No New Tasks in the Projects tab and let them error out. Once you Add the new Apps change it back to Allow new tasks, the new tasks downloaded will be listed as SETI@home v8 Anonymous platform. I would suggest setting the Preferences for your CPUs to 50% to help cut down heat. The CPU will use the Boost when set at 50% so the tasks will finish a little faster than normal and produce less heat. It's under Options/Computing Preferences/Use at most 50% of the CPUs. Leave the % of CPU time set at 100%. You'd be surprised how fast that CPU will finish a task with the AVX2 App using those settings.
ID: 1882474 · Report as offensive     Reply Quote
zoemax
Volunteer tester

Send message
Joined: 24 May 99
Posts: 5
Credit: 2,492,218
RAC: 1,418
United States
Message 1882613 - Posted: 7 Aug 2017, 11:56:41 UTC - in response to Message 1882474.  

There were other projects running.


- -
Mon 7 Aug 06:50:55 2017 | SETI@home | work fetch resumed by user
Mon 7 Aug 06:50:58 2017 | SETI@home | Sending scheduler request: To fetch work.
Mon 7 Aug 06:50:58 2017 | SETI@home | Requesting new tasks for AMD/ATI GPU
Mon 7 Aug 06:51:01 2017 | SETI@home | Scheduler request completed: got 46 new tasks
--
Mon 7 Aug 07:00:10 2017 | SETI@home | Computation for task 17dc08ae.25094.5391.7.34.48_0 finished
Mon 7 Aug 07:32:34 2017 | SETI@home | Computation for task 04fe08aa.24180.5798.14.41.42_1 finished

-- I also made the change to CPU %.

You should be seeing 'in progress' @ https://setiathome.berkeley.edu/results.php?hostid=8248108
tasks should be good now. I'm seeing 60 tasks for anonymous platform now. ( out of the 283 ? ).

If you have any other suggestion to try and abort non-anonymous tasks, I'll give it a try.

Thanks again for the suggestions.

cheers!
ID: 1882613 · Report as offensive     Reply Quote

Questions and Answers : Macintosh : Task postponed: CL file build failure


 
©2017 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.