mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   GPU Computing (https://www.mersenneforum.org/forumdisplay.php?f=92)
-   -   GPU Setup (https://www.mersenneforum.org/showthread.php?t=23316)

albyva 2018-05-04 14:43

GPU Setup
 
I've always done GIMPS using CPUs, but I wanted to start doing it using GPUs.
What exactly do you need to run for a GPU setup with a linux distro?


I assume I can get my assignments via [URL="https://www.gpu72.com/"]https://www.gpu72.com[/URL] , but what is the
MPRIME equivalent tool I can install and run it on?

Thanks,
GPU n00b

SELROC 2018-05-04 14:47

[QUOTE=albyva;486944]I've always done GIMPS using CPUs, but I wanted to start doing it using GPUs.
What exactly do you need to run for a GPU setup with a linux distro?


I assume I can get my assignments via [URL="https://www.gpu72.com/"]https://www.gpu72.com[/URL] , but what is the
MPRIME equivalent tool I can install and run it on?

Thanks,
GPU n00b[/QUOTE]



I have setup a GPU computing system with Debian 9 testing and amdgpu-pro drivers with Radeon RX580 gpus.

The tool is gpuowl v2.0.

chalsall 2018-05-04 15:04

[QUOTE=albyva;486944]...but what is the MPRIME equivalent tool I can install and run it on?[/QUOTE]

For nVidia cards, use [URL="http://mersenneforum.org/showthread.php?t=12827"]mfaktc[/URL]. For AMD cards, use [URL="http://mersenneforum.org/showthread.php?t=15646"]mfakto[/URL].

You'll probably also want to use some helper scripts to fetch and submit work, since these programs don't do this themselves. Please see [URL="https://www.gpu72.com/spider/"]this link[/URL] for links to such tools.

Welcome to GPU factoring! :smile:

SELROC 2018-05-04 15:14

[QUOTE=chalsall;486948]For nVidia cards, use [URL="http://mersenneforum.org/showthread.php?t=12827"]mfaktc[/URL]. For AMD cards, use [URL="http://mersenneforum.org/showthread.php?t=15646"]mfakto[/URL].

You'll probably also want to use some helper scripts to fetch and submit work, since these programs don't do this themselves. Please see [URL="https://www.gpu72.com/spider/"]this link[/URL] for links to such tools.

Welcome to GPU factoring! :smile:[/QUOTE]


I do PRP with gpuOwl [url]https://github.com/preda/gpuowl[/url].

But I need to fetch and report work manually because the primenet.py script does not work.

kriesel 2018-05-04 15:15

Getting started with GPU computing
 
[QUOTE=albyva;486944]I've always done GIMPS using CPUs, but I wanted to start doing it using GPUs.
What exactly do you need to run for a GPU setup with a linux distro?


I assume I can get my assignments via [URL="https://www.gpu72.com/"]https://www.gpu72.com[/URL] , but what is the
MPRIME equivalent tool I can install and run it on?

Thanks,
GPU n00b[/QUOTE]

Unlike prime95/mprime, the application you'll need is specific to the type of computation, and manufacturer of the GPU chip.

Depending on your hardware and preferences, choose one or more apps from the attachment at [URL]http://www.mersenneforum.org/showpost.php?p=481752&postcount=34[/URL].

If running multiple GPUs, you may also find one of the management tools useful; [URL]http://www.mersenneforum.org/showpost.php?p=465293&postcount=24[/URL]

You may find other parts of the "Available software"... thread useful for background also. [url]http://www.mersenneforum.org/showthread.php?t=22450[/url]

Work assignments of any of several types can be reserved at mersenne.org [URL]https://www.mersenne.org/manual_assignment/[/URL], or [URL]https://www.mersenne.org/manual_gpu_assignment/[/URL] for exponents <10^9, or at mersenne.ca for trial factoring 10^9<exponents <2^32; [URL]http://www.mersenne.ca/tf1G.php[/URL]

If you find any GPU-related apps, sites, etc useful that are not mentioned there, please share it on the available software thread, or send me a PM.

Have fun!

VictordeHolland 2018-05-04 15:16

Most linux distros should work, as long as you can get stable drivers for the GPU.
The rest depends on what you want to do? Trial Factoring (TF), P-1 or LL/PRP-testing?

TF
Nvidia: Mfaktc
AMD: Mfakto
[URL]http://mersenneforum.org/mfaktc/[/URL]
[URL]http://mersenneforum.org/mfakto/[/URL]

LL
AMD: CLLucas
Nvidia: CUDALucas
[URL]https://download.mersenne.ca/CUDALucas[/URL]
[URL]http://www.mersenneforum.org/cllucas/[/URL]

P-1 (not sure if still actively developed??? )
Nvidia: CUDAPm1
[URL]https://download.mersenne.ca/CUDAPm1[/URL]

PRP
AMD&Nvidia: gpuOwl
[URL]https://github.com/preda/gpuowl[/URL].

albyva 2018-05-04 17:13

[QUOTE=VictordeHolland;486952]Most linux distros should work, as long as you can get stable drivers for the GPU.
The rest depends on what you want to do? Trial Factoring (TF), P-1 or LL/PRP-testing?

TF
Nvidia: Mfaktc
AMD: Mfakto
[URL]http://mersenneforum.org/mfaktc/[/URL]
[URL]http://mersenneforum.org/mfakto/[/URL]

LL
AMD: CLLucas
Nvidia: CUDALucas
[URL]https://download.mersenne.ca/CUDALucas[/URL]
[URL]http://www.mersenneforum.org/cllucas/[/URL]

P-1 (not sure if still actively developed??? )
Nvidia: CUDAPm1
[URL]https://download.mersenne.ca/CUDAPm1[/URL]

PRP
AMD&Nvidia: gpuOwl
[URL]https://github.com/preda/gpuowl[/URL].[/QUOTE]



Awesome, this is just the information I was looking to obtain, especially with what I should run depending on TF vs. LL. Thanks.. :-)

kriesel 2018-05-04 17:29

nice list you posted there Victor
 
[QUOTE=VictordeHolland;486952]
...

P-1 (not sure if still actively developed??? )
Nvidia: CUDAPm1
[URL]https://download.mersenne.ca/CUDAPm1[/URL]

PRP
AMD&Nvidia: gpuOwl
[URL]https://github.com/preda/gpuowl[/URL].[/QUOTE]

CUDAPm1 is under heavy testing here through many fft lengths and several GPU models of differing RAM capacity.
Code maintenance is planned to follow.

Some releases back, someone ported gpuowl to NVIDIA (CUDA) for himself. I'm not aware of any of Preda's github releases working on NVIDIA, and I've tried it from time to time on Intel IGP and multiple NVIDIA models. It ran on Intel IGP but cost more prime95 throughput than its own throughput. I've never seen it work on NVIDIA, including a very quick test just now of V2 on GTX1070.
[URL]http://www.mersenneforum.org/showpost.php?p=485416&postcount=371[/URL]
Perhaps Preda will get an NVIDIA GPU and sort it out. It would be the only NVIDIA PRP app for GIMPS if so.

For all readers, I generally update the Available Software pdf tabulating apps vs. work type and cpu / Gpu type and notes, URLs etc approximately monthly.

SELROC 2018-05-08 16:52

linux kernel regression
 
[QUOTE=VictordeHolland;486952]Most linux distros should work, as long as you can get stable drivers for the GPU.
The rest depends on what you want to do? Trial Factoring (TF), P-1 or LL/PRP-testing?

TF
Nvidia: Mfaktc
AMD: Mfakto
[URL]http://mersenneforum.org/mfaktc/[/URL]
[URL]http://mersenneforum.org/mfakto/[/URL]

LL
AMD: CLLucas
Nvidia: CUDALucas
[URL]https://download.mersenne.ca/CUDALucas[/URL]
[URL]http://www.mersenneforum.org/cllucas/[/URL]

P-1 (not sure if still actively developed??? )
Nvidia: CUDAPm1
[URL]https://download.mersenne.ca/CUDAPm1[/URL]

PRP
AMD&Nvidia: gpuOwl
[URL]https://github.com/preda/gpuowl[/URL].[/QUOTE]



The latest linux kernel avaiable for Debian, the version 4.16.0, has a regression that causes amdgpu_job_timedout errors. To avoid problems stick with the older kernel 4.15 until the new version 4.17 is available.


All times are UTC. The time now is 04:03.

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