Skip to content

Scripts for working with prime number search

License

Notifications You must be signed in to change notification settings

valeriob01/primetools

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

primetools

Scripts for working with prime number search

These are written in standard Python without any external libraries. I have only tested these on Linux, but there should be no OS limitations.

Currently, these tools comprise automatic work handlers so that certain third-party software (that do the actual computation) can access Primenet (mersenne.org):

mfloop.py

For trial factoring with mfakto (should work with mfaktc too)

llloop.py

For Lucas-Lehmer primality testing with clLucas (also CUDALucas)

Future plans

  • Serving multiple mfakto directories with one process. I already have a simple idea for this, but the benefits over running separate mfloops would be questionable: a slight reduction in network traffic vs. more complicated configuration and less control over individual GPUs.

  • Merge the two scripts, as they share a lot of code - though there are lots of small differences all over, so the result may turn out quite ugly.

About

Scripts for working with prime number search

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 86.0%
  • Batchfile 7.1%
  • Shell 6.9%