mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   GPU Computing (https://www.mersenneforum.org/forumdisplay.php?f=92)
-   -   mfakto error while running (https://www.mersenneforum.org/showthread.php?t=23018)

jacob1235 2018-02-03 15:29

mfakto error while running
 
Hello,

I am attempting to use mfakto with my GPU (MSI R5770 Hawk Radeon HD 5770). I downloaded the files and installed OpenCL via

[CODE]sudo apt install ocl-icd-opencl-dev[/CODE]

and then ran mfakto via

[CODE]./mfakto-x64[/CODE]

I get the following output

[CODE]
Runtime options
Inifile mfakto.ini
Verbosity 1
SieveOnGPU yes
MoreClasses yes
GPUSievePrimes 82486
GPUSieveProcessSize 24Ki bits
GPUSieveSize 96Mi bits
FlushInterval 8
WorkFile worktodo.txt
ResultsFile results.txt
Checkpoints enabled
CheckpointDelay 300s
Stages enabled
StopAfterFactor class
PrintMode compact
V5UserID none
ComputerID none
TimeStampInResults yes
VectorSize 4
GPUType AUTO
SmallExp no
UseBinfile mfakto_Kernels.elf
Compiletime options
Select device - Error -1001 (Unknown errorcode (not an OpenCL error)): clGetPlatformIDs(num)
ERROR: init_CL(3, 0) failed
[/CODE]

How can I resolve this?

Ubuntu 14.04.1 LTS

kriesel 2018-02-03 19:03

[QUOTE=jacob1235;479175]Hello,

I am attempting to use mfakto with my GPU (MSI R5770 Hawk Radeon HD 5770). I downloaded the files and installed OpenCL via

[CODE]sudo apt install ocl-icd-opencl-dev[/CODE]and then ran mfakto via

[CODE]./mfakto-x64[/CODE]I get the following output

[CODE]
Runtime options
Inifile mfakto.ini
Verbosity 1
SieveOnGPU yes
MoreClasses yes
GPUSievePrimes 82486
GPUSieveProcessSize 24Ki bits
GPUSieveSize 96Mi bits
FlushInterval 8
WorkFile worktodo.txt
ResultsFile results.txt
Checkpoints enabled
CheckpointDelay 300s
Stages enabled
StopAfterFactor class
PrintMode compact
V5UserID none
ComputerID none
TimeStampInResults yes
VectorSize 4
GPUType AUTO
SmallExp no
UseBinfile mfakto_Kernels.elf
Compiletime options
Select device - Error -1001 (Unknown errorcode (not an OpenCL error)): clGetPlatformIDs(num)
ERROR: init_CL(3, 0) failed
[/CODE]How can I resolve this?

Ubuntu 14.04.1 LTS[/QUOTE]

Try confirming the opencl is active, such as with an appropriate utility from the middle list of [URL]http://www.mersenneforum.org/showpost.php?p=478254&postcount=31[/URL]. No device found is sometimes a result of no installation or install failed or isn't loaded yet. (No experience with ubuntu myself so can't help you with specifics.)

Check your hardware is supported, such as at one of the links given at
[URL]https://stackoverflow.com/questions/5438895/list-of-opencl-compliant-cpu-gpu[/URL]

Good luck ;)


All times are UTC. The time now is 23:09.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.