mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Hardware > GPU Computing

Reply
 
Thread Tools
Old 2016-03-15, 20:07   #1354
apocalypse
 
Feb 2003

2×3×29 Posts
Default

I just checked in after a while... Is there a precompiled 64-bit linux binary with airsquirrels' changes (I searched the forum but didn't see one)? If not, I can build one myself, but I thought I'd ask first.

Thanks!
apocalypse is offline   Reply With Quote
Old 2016-03-31, 15:39   #1355
tului
 
Jan 2013

22×17 Posts
Default

16.3.2 gave me a 40 point a day boost. From about 580 to ~620 on an R9 390X@1100/6000

Last fiddled with by tului on 2016-03-31 at 15:40
tului is offline   Reply With Quote
Old 2016-04-13, 02:18   #1356
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

5·13·97 Posts
Default

This is an OpenCL question, but not an mfacto question. I have OpenCL code that gives me an error when I call clBuildProgram. Apparently the problem is with calls to "mul_hi". These calls work on my MacBook Pro, but not on my iMac. If I remove them, clBuildProgram doesn't give an error but my program doesn't return the right results. Does anyone here have any ideas? I've done a lot of searching, but haven't had any luck figuring out what I'm missing.
rogue is online now   Reply With Quote
Old 2016-04-17, 19:18   #1357
Bdot
 
Bdot's Avatar
 
Nov 2010
Germany

3×199 Posts
Default

This could be anything, from bad hardware over outdated drivers to code errors. But usually, clBuildProgram returns some error code, that me help restricting the search space.

Furthermore, if the program does not just die but return some compile error, you can call clGetProgramBuildInfo to get the build log.

I would suggest you also use clGetProgramBuildInfo on the working machine, maybe it shows some warnings that help you further.
Bdot is offline   Reply With Quote
Old 2016-05-14, 19:11   #1358
lycorn
 
lycorn's Avatar
 
Sep 2002
Oeiras, Portugal

145810 Posts
Default

Hi all,

My GTX560Ti has recently gone south, and replacement won´t happen anytime soon, due to "budget constraints". So an old ATI Radeon 4350 I had taken out of service was called up.
I´m running Win10 64 bits, and the card was happily recognized, installed, and is running perfeclty.
Then I decided to give mfakto a go. The trouble is the program will just start and immediately exit with the following message:


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 2
GPUType VLIW5
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
]

I´m usiing mfakto 0.14p, but the same happened with 0.15pre6.

The driver is up to date.

I remember that some years ago I briefly used this very card for mfakto (can´t recall which version) under windows 7 (or 8 ?...) and it worked really well. It was slow, but hey.

Any ideas?

Thx a lot.

Last fiddled with by lycorn on 2016-05-14 at 19:13
lycorn is offline   Reply With Quote
Old 2016-05-17, 20:40   #1359
Bdot
 
Bdot's Avatar
 
Nov 2010
Germany

3·199 Posts
Default

Hi,

what exactly does this mean:
Quote:
Originally Posted by lycorn View Post
The driver is up to date.
Did you leave it to Windows and it said the driver was up to date, or did you install the latest AMD driver yourself?

The failing call ist the first OpenCL call mfakto is doing. My guess would be that some MS driver is feeding your GPU but does not support OpenCL. Try running clinfo to learn about your OpenCL-supporting devices. Should be in C:\Windows\System32\clinfo.exe if the driver installed OK. Otherwise you can try installing the AMD APP SDK, which would bring the tool in
C:\Program Files (x86)\AMD APP SDK\3.0\bin\x86_64\clinfo.exe
C:\Program Files (x86)\AMD APP SDK\3.0\bin\x86\clinfo.exe


My second guess would be that you really installed the latest AMD drivers, but they no longer support an HD 4xxx. You would need to go back a few generations of AMD drivers, and I'm not sure if there's overlap in support for your GPU and support for Win10.

Good luck.
Bdot is offline   Reply With Quote
Old 2016-07-13, 19:11   #1360
simon389
 
Aug 2013

3·29 Posts
Default R9 390 issues with 0.14p

Been playing around with the previously linked 0.14p Win7 64-bit version on my XFX R9 390. It continues to fail, including with the -st flag. I have updated AMD drivers, etc. Not sure what's wrong.

Code:
mfakto 0.14-MGW (64bit build)


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                2
  GPUType                   AUTO
  SmallExp                  no
  UseBinfile                mfakto_Kernels.elf
Compiletime options
Select device - Get device info - Loading binary kernel file mfakto_Kernels.elf
Compiling kernels.

OpenCL device info
  name                      Hawaii (Advanced Micro Devices, Inc.)
  device (driver) version   OpenCL 2.0 AMD-APP (2079.5) (2079.5 (VM))
  maximum threads per block 256
  maximum threads per grid  16777216
  number of multiprocessors 40 (2560 compute elements)
  clock rate                1015MHz

Automatic parameters
  threads per grid          256
  optimizing kernels for    GCN

Started a simple selftest ...
ERROR: selftest failed for M50752613 (cl_barrett15_88_gs)
  no factor found
ERROR: selftest failed for M50752613 (cl_barrett32_87_gs)
  no factor found
ERROR: selftest failed for M50752613 (cl_barrett32_77_gs)
  no factor found
Selftest statistics
  number of tests           108
  successful tests          105
  no factor found           3

selftest FAILED!
Followup question, does this automatically report the results to the GIMPS server? Or do I have to upload them myself, like I had to download the worktodo.txt?

Last fiddled with by simon389 on 2016-07-13 at 19:23
simon389 is offline   Reply With Quote
Old 2016-07-15, 04:27   #1361
SnoProblem
 
May 2016

18 Posts
Default

There are a few different automation programs/scripts.

I created these programs to solve my own automation problems.

Later I found these Python scripts and this management program that have similar functionality.
SnoProblem is offline   Reply With Quote
Old 2016-07-15, 08:54   #1362
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
Jun 2011
Thailand

223408 Posts
Default

You do it by yourself, or use a tool (like Misfit, for windoze, or some py script for *nix). They can organize all the work for you, taking assignments, reporting results, etc. Set it and forget it.
LaurV is offline   Reply With Quote
Old 2016-07-17, 22:49   #1363
mattmill30
 
Aug 2015

2·23 Posts
Default opportunistic GPUSieve

I've been running mfakto (and mfaktc) on a number of workstations, but when GPUSieve=1 the workstation graphics become heavily latented.


What other tasks than sieving does mfakto perform?


Would it be possible to implement something similar to the CUDALucas Polite setting, or otherwise opportunistic GPU sieving, so that when GPU resources are underutilised mfakto switches to GPU sieving.
mattmill30 is offline   Reply With Quote
Old 2016-07-18, 15:53   #1364
kladner
 
kladner's Avatar
 
"Kieren"
Jul 2011
In My Own Galaxy!

2×3×1,693 Posts
Default

I can't address mfakto. However, in mfaktc, adjusting "GPUSieveSize" will reduce the GPU load and improve responsiveness. Normally, I run this value at the maximum of 128. I have found that dropping it to the range of 30-40 has a good effect for other tasks on the computer.
kladner is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
gpuOwL: an OpenCL program for Mersenne primality testing preda GpuOwl 2706 2021-05-02 21:40
mfaktc: a CUDA program for Mersenne prefactoring TheJudger GPU Computing 3493 2021-04-24 17:09
LL with OpenCL msft GPU Computing 433 2019-06-23 21:11
OpenCL for FPGAs TObject GPU Computing 2 2013-10-12 21:09
Program to TF Mersenne numbers with more than 1 sextillion digits? Stargate38 Factoring 24 2011-11-03 00:34

All times are UTC. The time now is 17:53.

Sun May 9 17:53:35 UTC 2021 up 31 days, 12:34, 1 user, load averages: 3.32, 3.96, 4.14

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

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.