Mersenne.ca download mirror

More information on this software may be found at https://github.com/tdulcet/Distributed-Computing-Scripts#primenet

Showing directory: /primenet.py/
Parent Directory

Prime95 has built-in assignment handling using the PrimeNet v5 API. Users should use the PrimeNet API when it is available for their GIMPS software instead of the legacy manual testing/assignment pages. Using the PrimeNet API provides many advantages for users, including:

An automated assignment handler program/script that uses the PrimeNet API is also available for most other GIMPS primality testing software, including GpuOwl for GPUs and Mlucas for ARM and other non-x86 CPUs. It was written by Teal Dulcet and Daniel Connelly and adapted from an older script for Mlucas by Loïc Le Loarer and Ernst W. Mayer. As with Prime95, this program will automatically get assignments, report assignment progress and results and upload proof files to the PrimeNet server. It supports Windows, macOS and Linux. Below are some basic instructions to download and setup the program:

Download

Windows users on x86 systems can click one of these links to download a standalone executable that packages the latest versions of both Python and the program. Click this link for how to determine if you are running a 32 or 64 bit version of Windows.

Just extract the ZIP file and save the primenet.exe executable to the same directory as your GIMPS software. Then, run: primenet --help to verify that everything works. Lastly, skip down to the Setup section below and be sure to use “primenet” instead of “python3 primenet.py” in those commands.

All other users should follow these two steps to install Python and download the program:

  1. Install Python: macOS and Linux should already include Python. Windows users can download an installer from python.org.
  2. Download the program: Click this link to download the latest version of the program from the mersenne.ca mirror. Just save the primenet.py file to the same directory as your GIMPS software. Then, run: python3 primenet.py --help to verify that everything works. Windows users may need to use python or py instead of python3.

Setup

  1. Register your system with PrimeNet: (Recommended) Just run this command for the program to automatically prompt for all the needed options:
    python3 primenet.py --setup
    Then skip down to step #2 below.

    (Alternatively) Run the below command using the command line options. See the -h/--help output above for the full list of available options and the respective default values. The program defaults to Mlucas, so if using GpuOwl be sure to also add the -g/--gpuowl option. It saves its configuration to a “local.ini” file by default, so it is only necessary to give these options the first time it is run.
    python3 primenet.py --timeout 0 --username <PrimeNet User ID> [--hostname <computer name>] [--worktype <work preference>] [--num-workers <num>]
    Supported work preferences (click to show) 4 - P-1 factoring
    100 - First time LL tests
    101 - Double-check LL tests
    102 - World record LL tests
    104 - 100 million digit LL tests
    150 - First time PRP tests
    151 - Double-check PRP tests
    152 - World record PRP tests
    153 - 100 million digit PRP tests
    154 - Smallest available first time PRP that needs P-1 factoring
    155 - Double-check using PRP with proof
    160 - First time PRP on Mersenne cofactors
    161 - Double-check PRP on Mersenne cofactors

    For example, for GpuOwl: python3 primenet.py --timeout 0 --username ANONYMOUS --hostname example --worktype 150 --gpuowl

    (or equivalently using the short options: python3 primenet.py -t 0 -u ANONYMOUS -H example -T 150 -g)
  2. Start the program: Run the below command each time you want to start the program. If you have more than one worker, add the -D/--dir option for each worker directory. Advanced/power users may want to add the -d/--debug option for more verbose output.
    python3 -OO primenet.py [--timeout <update frequency (sec)>] [--checkin <checkin frequency (hours)>] [--dir <directory>]...
    For example, for GpuOwl (with the default 1 hour update frequency and 6 hour checkin frequency): python3 -OO primenet.py

For more information about this program/script and for support, please see the dedicated thread on the forum. Note that there are many other older programs/scripts that may be bundled with the download for your GIMPS software and appear similar to this program, but they are just simple wrappers around the legacy manual testing/assignment pages and do not actually use the PrimeNet API. If the script/program requires you to provide your GIMPS password, it is not using the PrimeNet API and therefore does not provide most of the benefits listed above.


File NameFile SizeDate ModifiedHash
PrimeNet_Windows_x64.zip9,480,5082024-05-01463c4c5c41298f9513381f8d3f2b09f8
PrimeNet_Windows_x86.zip7,655,1082024-05-01cbb1b80e624f895dd763526f1c1d5cb8
primenet.py207,3982024-04-20ef18910cc7f6f247b47d40ee1668c800
primenet_20240420.py207,3982024-04-20ef18910cc7f6f247b47d40ee1668c800
primenet_20240318.py206,2892024-03-187d84141af1f68005fed12c8d1c4f71ba
primenet_20240310.py148,4852024-03-1045a590ebd7d049cd362b3ee3d34c3e49
primenet_20231216.py146,4632023-12-162bcd3a6e09ad645c5e984d5fdeebedb5
primenet_20231102.py146,4592023-11-0283de161eda737a650bf8c3ffe3eebac3
primenet_20230930.py146,5642023-09-3001a6219955d8e4a25ea02b081c1a5126
primenet_20230720.py141,6432023-07-20bfdd491cd081026a54790684cb04c114
primenet_20230611.py134,9682023-06-11bbb2ac8055fa16efb53ead5673b92846
primenet_20230606.py134,8442023-06-064cd6cb91024c06ccd797b8474cf757fd
primenet_20230602.py134,7812023-06-02ea6c011e94aadb3e7fd1eaab87d797e1
Generated 2 May 2024 8:19am