Welcome to MilkyWay@home

MilyWay OpenCL applications fails to build wisdom file and all tasks error in Ubuntu 18.04 LTS

Questions and Answers : Unix/Linux : MilyWay OpenCL applications fails to build wisdom file and all tasks error in Ubuntu 18.04 LTS
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile Keith Myers
Avatar

Send message
Joined: 24 Jan 11
Posts: 708
Credit: 543,255,046
RAC: 141,215
Message 67508 - Posted: 19 May 2018, 20:53:26 UTC

I found another task with a lot more content in the stderr.txt output file.

It looks like the application couldn't properly compile the OpenCL wisdom file. Can someone offer a suggestion or comment on whether they ever have run into the problem of the wisdom file not compiling in Linux for MilkyWay. My other projects, Seti and Einstein have not had any issue compiling the wisdom file for their OpenCL applications.

Stderr output
<core_client_version>7.4.44</core_client_version>
<![CDATA[
<message>
process exited with code 1 (0x1, -255)
</message>
<stderr_txt>
<search_application> milkyway_separation 1.46 Linux x86_64 double OpenCL </search_application>
Reading preferences ended prematurely
BOINC GPU type suggests using OpenCL vendor 'NVIDIA Corporation'
Setting process priority to 0 (13): Permission denied
Error loading Lua script 'astronomy_parameters.txt': [string "number_parameters: 4..."]:1: '<name>' expected near '4'
Switching to Parameter File 'astronomy_parameters.txt'
<number_WUs> 5 </number_WUs>
<number_params_per_WU> 20 </number_params_per_WU>
Using AVX path
Found 1 platform
Platform 0 information:
Name: NVIDIA CUDA
Version: OpenCL 1.2 CUDA 9.2.101
Vendor: NVIDIA Corporation
Extensions: cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_fp64 cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_nv_copy_opts cl_nv_create_buffer
Profile: FULL_PROFILE
Using device 1 on platform 0
Found 3 CL devices
Device 'GeForce GTX 1070' (NVIDIA Corporation:0x10de) (CL_DEVICE_TYPE_GPU)
Board:
Driver version: 396.24
Version: OpenCL 1.2 CUDA
Compute capability: 6.1
Max compute units: 15
Clock frequency: 1683 Mhz
Global mem size: 8513978368
Local mem size: 49152
Max const buf size: 65536
Double extension: cl_khr_fp64
Build log:
--------------------------------------------------------------------------------
<kernel>:183:72: warning: unknown attribute 'max_constant_size' ignored
__constant real* _ap_consts __attribute__((max_constant_size(18 * sizeof(real)))),
^
<kernel>:185:62: warning: unknown attribute 'max_constant_size' ignored
__constant SC* sc __attribute__((max_constant_size(NSTREAM * sizeof(SC)))),
^
<kernel>:186:67: warning: unknown attribute 'max_constant_size' ignored
__constant real* sg_dx __attribute__((max_constant_size(256 * sizeof(real)))),
^
<kernel>:235:26: error: use of undeclared identifier 'inf'
tmp = mad((real) Q_INV_SQR, z * z, tmp); /* (q_invsqr * z^2) + (x^2 + y^2) */
^
<built-in>:35:19: note: expanded from here
#define Q_INV_SQR inf
^

--------------------------------------------------------------------------------
clBuildProgram: Build failure (-11): CL_BUILD_PROGRAM_FAILURE
Error building program from source (-11): CL_BUILD_PROGRAM_FAILURE
Error creating integral program from source
Failed to calculate likelihood
Background Epsilon (61.817300) must be >= 0, <= 1
18:13:51 (10595): called boinc_finish(1)

</stderr_txt>
]]>
ID: 67508 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
alanb1951

Send message
Joined: 16 Mar 10
Posts: 210
Credit: 105,941,344
RAC: 24,900
Message 67511 - Posted: 20 May 2018, 0:38:00 UTC - in response to Message 67508.  

Keith (or anyone else who sees this thread...),

I popped something in your "New Linux system trashes all tasks" thread in the Number Crunching forum which may or may not help...

http://milkyway.cs.rpi.edu/milkyway/forum_thread.php?id=4288

Cheers - Al.
ID: 67511 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Keith Myers
Avatar

Send message
Joined: 24 Jan 11
Posts: 708
Credit: 543,255,046
RAC: 141,215
Message 68764 - Posted: 20 May 2019, 22:32:37 UTC - in response to Message 67511.  

Just to make closure on this thread. The problem is that MW@home doesn't correctly support BOINC versions earlier than 7.6.31. So to prevent these types of errors you need to use a modern client that can handle the very long parameter strings of certain tasks.
ID: 68764 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote

Questions and Answers : Unix/Linux : MilyWay OpenCL applications fails to build wisdom file and all tasks error in Ubuntu 18.04 LTS

©2024 Astroinformatics Group