mersenneforum.org  

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

Reply
 
Thread Tools
Old 2021-06-30, 19:58   #1673
Viliam Furik
 
Viliam Furik's Avatar
 
"Viliam Furík"
Jul 2018
Martin, Slovakia

2×11×31 Posts
Default

Quote:
Originally Posted by birtwistlecaleb View Post
They both instantly close when they find that, so I can't see that. Am I supposed to manually add the file?
Yes. Add the file and fill it with work. If it's empty but present, the program will still quit on start.
Viliam Furik is offline   Reply With Quote
Old 2021-06-30, 20:01   #1674
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

24·3·73 Posts
Default

Quote:
Originally Posted by birtwistlecaleb View Post
They both instantly close when they find that
Especially when debugging, it's very useful to open a command prompt first at the location of the file you're trying to run and then run it from the command prompt rather than just double-clicking the executable, that way you can see what output it is giving.
James Heinrich is offline   Reply With Quote
Old 2021-06-30, 20:24   #1675
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

22×32×7×23 Posts
Default

Quote:
Originally Posted by birtwistlecaleb View Post
They both do not have a worktodo.txt, and it seems like they are broken because of that.
Something's malfunctioning, but it's clearly happening elsewhere than the software. Check between the furniture (chair or whatever) and the keyboard; do whatever maintenance needed there.

Use the readme that comes included with the software. Read it. Understand it. Follow its plain directions.

Mfaktc:
Code:
################################
# 3.1 Running mfaktc (Windows) #
################################

Similar to Linux (read above!).
Open a command window and run 'mfaktc.exe -h'.


####################################################################
# 4 How to get work and report results from/to the Primenet server #
####################################################################

Getting work:
    Step 1) go to http://www.mersenne.org/ and login with your username and
            password
    Step 2) on the menu on the left click "Manual Testing" and then
            "Assignments"
    Step 3) choose the number of assignments by choosing
            "Number of CPUs (cores) you need assignments for (maximum 12)"
            and "Number of assignments you want for each core"
    Step 4) Change "Preferred work type" to "Trial factoring"
    Step 5) click the button "Get Assignments"
    Step 6) copy&paste the "Factor=..." lines directly into the worktodo.txt
             in your mfaktc directory
Mfakto is similar:
Code:
Open a terminal window and run 'mfakto -h' for possible parameters. You may
also want to check mfakto.ini for additional settings. mfakto typically fetches
work from worktodo.txt as specified in the INI file. See section 3 on how to
obtain assignments and report results.

A typical worktodo.txt file looks like this:
  -- begin example --
  Factor=[assignment ID],66362159,64,68
  Factor=[assignment ID],3321932899,76,77
  -- end example --
Code:
########################################
# 3 Getting work and reporting results #
########################################

You must have a PrimeNet account to participate. Simply visit the GIMPS website
at https://mersenne.org to create one. Once you've signed up, you can get
assignments in several ways.

From the GIMPS website:
    Step 1) log in to the GIMPS website with your username and password
    Step 2) on the menu bar, select Manual Testing > Assignments
    Step 3) open the link to the manual GPU assignment request form
    Step 4) enter the number of assignments or GHz-days you want
    Step 5) click "Get Assignments"
...
Code:
    Once you have your assignments, copy the "Factor=..." lines directly into
    your worktodo.txt file. Start mfakto, sit back and let it do its job.
    Running mfakto is also a great way to stress test your GPU. ;-)

Use the mfakto or mfaktc reference info. "Create a worktodo file and put some assignments in there. Start with few, in case your gpu or igp does not work out. Get the type you plan to run the most. Get them from https://www.mersenne.org/manual_gpu_assignment/"
"Create a Windows batch file or Linux shell script with a short name.
Set the device number there.
Consider redirecting console output to a file or employing a good tee program."

Stop wasting other people's time, and apply some of your own intelligence and time.

Last fiddled with by kriesel on 2021-06-30 at 20:40
kriesel is offline   Reply With Quote
Old 2021-06-30, 21:10   #1676
Uncwilly
6809 > 6502
 
Uncwilly's Avatar
 
"""""""""""""""""""
Aug 2003
101×103 Posts

22×2,503 Posts
Default

And MISFIT can handle all of the work filling a worktodo and submitting results.
https://www.mersenneforum.org/forumdisplay.php?f=103

Last fiddled with by Uncwilly on 2021-06-30 at 21:10
Uncwilly is offline   Reply With Quote
Old 2021-06-30, 21:23   #1677
birtwistlecaleb
 
birtwistlecaleb's Avatar
 
Jun 2021

23×7 Posts
Default

Quote:
Originally Posted by Viliam Furik View Post
Yes. Add the file and fill it with work. If it's empty but present, the program will still quit on start.
Thanks! I got it working now.
This is what I got if you find something else that happened.
Code:
got assignment: exp=219633173 bit_min=73 bit_max=74 (8.71 GHz-days)
Starting trial factoring M219633173 from 2^73 to 2^74 (8.71Ghz-days)
Using GPU kernel "[Just to be safe, censored.]"
There were no extra lines for a couple minutes and none now.
Edit: No lines for around 30 minutes. Does it only make a line when you finish a tf assignment/1 bitlevel?

Last fiddled with by birtwistlecaleb on 2021-06-30 at 22:03
birtwistlecaleb is offline   Reply With Quote
Old 2021-08-24, 04:44   #1678
DrobinsonPE
 
Aug 2020

25·3 Posts
Default Ryzen 5 5600G

Code:
MFAKTO, AMD Ryzen 5 5600G, ASROCK B450-HDV R4.0, DDR4-3600 RAM
----------------------------------------------------------------
Selftest statistics
  number of tests           34026
  successful tests          34026

selftest PASSED!


C:\Users\User\mfakto>mfakto
mfakto 0.15pre7-MGW (64bit build)


Runtime options
  Inifile                   mfakto.ini
  Verbosity                 1
  SieveOnGPU                yes
  MoreClasses               yes
  GPUSievePrimes            81157
  GPUSieveProcessSize       24 Kib
  GPUSieveSize              96 Mib
  FlushInterval             0
  WorkFile                  worktodo.txt
  ResultsFile               results.txt
  Checkpoints               enabled
  CheckpointDelay           300 s
  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:
WARNING: Unknown GPU name, assuming GCN. Please post the device name "gfx90c (Advanced Micro Devices, Inc.)" to http://www.mersenneforum.org/showthread.php?t=15646 to have it added to mfakto. Set GPUType in mfakto.ini to select a GPU type yourself to avoid this warning.

OpenCL device info
  name                      gfx90c (Advanced Micro Devices, Inc.)
  device (driver) version   OpenCL 2.0 AMD-APP (3276.6) (3276.6 (PAL,HSAIL))
  maximum threads per block 1024
  maximum threads per grid  1073741824
  number of multiprocessors 7 (448 compute elements)
  clock rate                1900 MHz

Automatic parameters
  threads per grid          0
  optimizing kernels for    GCN

Loading binary kernel file mfakto_Kernels.elf
Compiling kernels.
  GPUSievePrimes (adjusted) 81206
  GPUsieve minimum exponent 1037054
Started a simple selftest ...
Selftest statistics
  number of tests           30
  successful tests          30

selftest PASSED!

got assignment: exp=103399837 bit_min=75 bit_max=76 (74.00 GHz-days)
Starting trial factoring M103399837 from 2^75 to 2^76 (74.00 GHz-days)
Using GPU kernel "cl_barrett15_82_gs_2"
Date    Time | class   Pct |   time     ETA | GHz-d/day    Sieve     Wait
Aug 23 20:51 |   24   0.6% | 40.947  10h51m |    162.66    81206    0.00%
mfakto will exit once the current class is finished.
press ^C again to exit immediately
Aug 23 20:52 |   27   0.7% | 40.947  10h50m |    162.66    81206    0.00%
DrobinsonPE is offline   Reply With Quote
Old 2021-08-28, 22:57   #1679
kracker
 
kracker's Avatar
 
"Mr. Meeseeks"
Jan 2012
California, USA

32·241 Posts
Default

Not sure if numbers for RDNA2 have been posted here... haven't kept up.

6700 XT <- probably thermal throttling. owner/tester said parts of the card hit 99C
Code:
Resulting speed for M78000071:
bit_min - bit_max  GHz-days/day  kernelname
     60 -      69      1573.192  cl_barrett15_69_gs 
     69 -      70      1491.949  cl_barrett15_71_gs 
     70 -      73      1311.655  cl_barrett15_73_gs 
     73 -      74      1283.831  cl_barrett15_74_gs 
     74 -      76      1254.737  cl_barrett32_76_gs 
     76 -      77      1251.052  cl_barrett32_77_gs 
     77 -      81      1180.985  cl_barrett15_82_gs 
     81 -      87      1105.831  cl_barrett32_87_gs 
     87 -      88      1100.490  cl_barrett32_88_gs 
     88 -      92       957.069  cl_barrett32_92_gs
RX 6600 XT
Code:
Resulting speed for M78000071:
bit_min - bit_max  GHz-days/day  kernelname
     60 -      69      1251.068  cl_barrett15_69_gs  
     69 -      70      1185.451  cl_barrett15_71_gs  
     70 -      73      1040.123  cl_barrett15_73_gs  
     73 -      74      1018.516  cl_barrett15_74_gs  
     74 -      76      1015.305  cl_barrett32_76_gs  
     76 -      77      1012.099  cl_barrett32_77_gs  
     77 -      81       939.008  cl_barrett15_82_gs  
     81 -      87       893.350  cl_barrett32_87_gs  
     87 -      88       891.557  cl_barrett32_88_gs  
     88 -      92       776.045  cl_barrett32_92_gs
kracker is offline   Reply With Quote
Old 2021-08-28, 23:27   #1680
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

350410 Posts
Default

Quote:
Originally Posted by kracker View Post
Not sure if numbers for RDNA2 have been posted here...
I have not seen a single mfakto benchmark for any RX 6xxx yet. If someone who has one (of any kind) would like to submit a benchmark I would be most grateful:
https://www.mersenne.ca/mfaktc.php#benchmark
James Heinrich is offline   Reply With Quote
Old 2021-09-13, 17:01   #1681
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

22·32·7·23 Posts
Default Has anyone gotten an Iris Xe IGP working with mfakto on Windows?

Not me despite several tries. Ideas?
kriesel is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
mfaktc: a CUDA program for Mersenne prefactoring TheJudger GPU Computing 3509 2021-10-22 11:54
gpuOwL: an OpenCL program for Mersenne primality testing preda GpuOwl 2733 2021-10-13 10:39
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 12:10.


Sat Oct 23 12:10:39 UTC 2021 up 92 days, 6:39, 0 users, load averages: 1.08, 1.22, 1.28

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.