Welcome to MilkyWay@home

MilkyWay GPU Linux app does not run on Ubuntu 18.04

Message boards : Application Code Discussion : MilkyWay GPU Linux app does not run on Ubuntu 18.04
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile Keith Myers
Avatar

Send message
Joined: 24 Jan 11
Posts: 715
Credit: 555,509,855
RAC: 38,512
Message 67492 - Posted: 18 May 2018, 20:23:27 UTC

I have upgraded an older system and now the MilkyWay milkyway_separation 1.46 Linux x86_64 double OpenCL application does not run on Ubuntu 18.04. It just produces instant errors.

<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> 4 </number_WUs>
<number_params_per_WU> 26 </number_params_per_WU>
stream sigma 0.0 is invalid
Failed to get stream constants
18:16:08 (11399): called boinc_finish(1)

</stderr_txt>
]]>

My other projects SETI and Einstein are running fine on this system with their respective OpenCL applications.

Can a developer look into this problem please. I would like to continue with MilkyWay if possible. I will run into this same problem again when I upgrade another old system with identical hardware and software.
ID: 67492 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Keith Myers
Avatar

Send message
Joined: 24 Jan 11
Posts: 715
Credit: 555,509,855
RAC: 38,512
Message 67504 - Posted: 19 May 2018, 20:04:09 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: 67504 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote

Message boards : Application Code Discussion : MilkyWay GPU Linux app does not run on Ubuntu 18.04

©2024 Astroinformatics Group