![]() |
|
|
#1 |
|
Jun 2020
2·3 Posts |
So as the title suggests, I have some problems running GpuOwl on Ubuntu 20.04 . I can compile it just fine but git cloning the repo and running make in the temrinal. The issue comes when running it with a given exponent for a LL test for example
Code:
makis@Radish:~/Repositories/gpuowl$ ./gpuowl -ll 104923699
2020-06-26 19:40:53 gpuowl v6.11-326-g1ee780b
2020-06-26 19:40:53 Note: not found 'config.txt'
2020-06-26 19:40:53 config: -ll 104923699
2020-06-26 19:40:53 device 0, unique id ''
2020-06-26 19:40:53 GeForce GTX 1080 Ti-0 104923699 FFT: 5.50M 1K:11:256 (18.19 bpw)
2020-06-26 19:40:53 GeForce GTX 1080 Ti-0 Expected maximum carry32: 50850000
2020-06-26 19:40:53 GeForce GTX 1080 Ti-0 OpenCL args "-DEXP=104923699u -DWIDTH=1024u -DSMALL_HEIGHT=256u -DMIDDLE=11u -DPM1=0 -DMM2_CHAIN=1u -DMAX_ACCURACY=1 -DWEIGHT_STEP_MINUS_1=0x1.7f9b2a055b3bfp-1 -DIWEIGHT_STEP_MINUS_1=-0x1.b6998c30f6452p-2 -cl-unsafe-math-optimizations -cl-std=CL2.0 -cl-finite-math-only "
2020-06-26 19:40:54 GeForce GTX 1080 Ti-0 ASM compilation failed, retrying compilation using NO_ASM
2020-06-26 19:40:54 GeForce GTX 1080 Ti-0 OpenCL compilation error -11 (args -DEXP=104923699u -DWIDTH=1024u -DSMALL_HEIGHT=256u -DMIDDLE=11u -DPM1=0 -DMM2_CHAIN=1u -DMAX_ACCURACY=1 -DWEIGHT_STEP_MINUS_1=0x1.7f9b2a055b3bfp-1 -DIWEIGHT_STEP_MINUS_1=-0x1.b6998c30f6452p-2 -cl-unsafe-math-optimizations -cl-std=CL2.0 -cl-finite-math-only -DNO_ASM=1)
2020-06-26 19:40:54 GeForce GTX 1080 Ti-0 <kernel>:1934:37: error: must specify '#pragma OPENCL EXTENSION cl_khr_int64_base_atomics: enable' before using this atomic operation
if (get_local_id(0) == 0) { atom_add(&out[0], sum); }
^
<kernel>:2333:9: error: must specify '#pragma OPENCL EXTENSION cl_khr_int64_base_atomics: enable' before using this atomic operation
atom_add((global ulong *) &carryStats[0], carryMax);
^
2020-06-26 19:40:54 GeForce GTX 1080 Ti-0 Exception gpu_error: BUILD_PROGRAM_FAILURE clBuildProgram at clwrap.cpp:246 build
2020-06-26 19:40:54 GeForce GTX 1080 Ti-0 Bye
|
|
|
|
|
|
#2 | |
|
"Mihai Preda"
Apr 2015
3·457 Posts |
This was caused by a recent code change that disabled the atomics pragma, should be fixed now in the lastest commit.
Quote:
|
|
|
|
|
|
|
#3 | |
|
Jun 2020
616 Posts |
Quote:
|
|
|
|
|
|
|
#4 |
|
P90 years forever!
Aug 2002
Yeehaw, FL
11101011001102 Posts |
I "tidied up" the code by remove pragmas that told the compiler that gpuowl requires 64-bit base and extended atomics. In fact the 64-bit base atomics are used in one place. The AMD OpenCL didn't complain. The nVidia compiler rightly complained.
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to set up for running gpuOwl under Ubuntu (and other Linux) with OpenCL | ewmayer | GpuOwl | 30 | 2021-05-27 03:57 |
| gpuOWL for Wagstaff | GP2 | GpuOwl | 22 | 2020-06-13 16:57 |
| gpuowl tuning | M344587487 | GpuOwl | 14 | 2018-12-29 08:11 |
| Keeping cuda working over Ubuntu upgrades | fivemack | Software | 9 | 2016-01-16 16:37 |