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

Difference between revisions of "Gcwsieve"

From Prime-Wiki
Jump to: navigation, search
(new)
 
(Merging developer info and adding infobox)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{DISPLAYTITLE:gcwsieve}}
 +
{{InfoboxProgram
 +
|title=gcwsieve/gcwsievecl
 +
|workload=[[Sieving program|Siever]]
 +
|release=
 +
|latest=1.5.1<br>2023-03-24
 +
}}
 
==Description==
 
==Description==
 
'''gcwsieve''' (and '''gcwsievecl''') are used to create sieve files for a (General) [[Woodall prime]] or (General) [[Cullen prime]] sequence.
 
'''gcwsieve''' (and '''gcwsievecl''') are used to create sieve files for a (General) [[Woodall prime]] or (General) [[Cullen prime]] sequence.
  
Those software was developed by [[Geoffrey Reynolds]] and both part of the package [[Mtsieve]].
+
The CPU version of this program was originally written by [[Geoffrey Reynolds]]. It is currently developed by [[Mark Rodenkirch]], who merged it into the packaged distribution of [[mtsieve]] and added GPU support.
  
 
==Commands overview==
 
==Commands overview==
Line 28: Line 35:
 
==Continuing an existing sieve file==
 
==Continuing an existing sieve file==
 
To continue the search call this (from example above):
 
To continue the search call this (from example above):
 +
 
<code>
 
<code>
gcwsieve.exe -s- -b1024 -n2 -N5000 -P2000000000 -igcw_b1024.pfgw
+
gcwsieve.exe -P2000000000 -igcw_b1024.pfgw
 
</code>
 
</code>
  
 
Parameters:
 
Parameters:
 +
*<code>-P2000000000</code>: the new sieve-depth is given
 
*<code>-igcw_b1024.pfgw</code>: the standard output from first run is used as input file
 
*<code>-igcw_b1024.pfgw</code>: the standard output from first run is used as input file
*A new sieve depth is used, too.
 
  
 
==See also==
 
==See also==
*[[Mtsieve]]
+
*[[mtsieve]]
 +
 
 
{{Navbox Sieving program}}
 
{{Navbox Sieving program}}
 
[[Category:Sieving program]]
 
[[Category:Sieving program]]

Latest revision as of 16:09, 30 April 2023

gcwsieve/gcwsievecl
Workload type Siever
First release
Latest version 1.5.1
2023-03-24

Description

gcwsieve (and gcwsievecl) are used to create sieve files for a (General) Woodall prime or (General) Cullen prime sequence.

The CPU version of this program was originally written by Geoffrey Reynolds. It is currently developed by Mark Rodenkirch, who merged it into the packaged distribution of mtsieve and added GPU support.

Commands overview

Help with gcwsieve -h.

Installation

Create a folder containing the sieve program.

Creating a new sieve

Example:

gcwsieve.exe -s- -b1024 -n2 -N5000 -P1000000000

Parameters:

  • -s-: using Woodall (Cullen: -s+)
  • -b1024: using base 1024
  • -n2: lowest n-value
  • -N5000: highest n-value
  • -P1000000000: highest prime to search for

After running the file "gcw_b1024.pfgw" in ABC fileformat will be created.

Continuing an existing sieve file

To continue the search call this (from example above):

gcwsieve.exe -P2000000000 -igcw_b1024.pfgw

Parameters:

  • -P2000000000: the new sieve-depth is given
  • -igcw_b1024.pfgw: the standard output from first run is used as input file

See also

Sieving program