Currently there may be errors shown on top of a page, because of a missing Wiki update (PHP version and extension DPL3).
Navigation
Topics Help • Register • News • History • How to • Sequences statistics • Template prototypes

Using LLR2 with PRPNet

From Prime-Wiki
Revision as of 16:14, 26 June 2023 by Happy5214 (talk | contribs) (Adding example code for using LLR2 with PRPNet)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Description

Using Pavel Atnashev's LLR2 fork in place of Jean Penné's LLR to perform Fermat probable prime tests with Gerbicz error checking with the PRPNet client.

Needed software

Example

Preparation WIN

  • Copy prpclient.exe, prpclient.ini, and llr2.exe into a folder.
  • Create a file named llr2.bat with this code:
@ECHO OFF
llr2.exe -oGerbicz=1 %*
  • Use llr2.bat as the value for llrexe in prpclient.ini.
  • Run prpclient.exe as normal.

Results:

Preparation LINUX

  • Copy prpclient, prpclient.ini, and llr2 into a folder.
  • Create a file named llr2.sh with this code:
#!/bin/sh
./llr2 -oGerbicz=1 $@
  • Set the executable bit on llr2.sh (for example, by running chmod a+x llr2.sh).
  • Use ./llr2.sh as the value for llrexe in prpclient.ini.
  • Run ./prpclient as normal.

Results: