File tree 2 files changed +10
-2
lines changed
2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -32,5 +32,11 @@ fastverify: splits bases
32
32
cat factorbase_* | sort -n > factorbase.txt.new
33
33
rm -f factorbase_*
34
34
35
- verify : .git/image
35
+ containerverify : .git/image
36
36
docker run --gpus all --rm --name primemath -it --init -v $(shell pwd) :/var/primemath primemath /var/primemath/driver.pl --check --color --curves=0 --thorough
37
+
38
+ gencerts :
39
+ ./driver.pl --check --color --curves=0 --thorough
40
+
41
+ fastgencerts :
42
+ ./driver.pl --check --color --curves=0 --thorough --skipverify
Original file line number Diff line number Diff line change @@ -144,6 +144,7 @@ sub combine_factor_bases {
144
144
}
145
145
146
146
my $g_thorough ; # global for Getopt, defaults to off
147
+ my $g_skipverify ; # global for Getopt, defaults to off
147
148
sub prime_check {
148
149
my ($num ) = @_ ;
149
150
@@ -153,7 +154,7 @@ sub prime_check {
153
154
my ($provable , $certificate );
154
155
$certificate = read_prime_certificate($num );
155
156
if ($certificate ) {
156
- if (Math::Prime::Util::verify_prime($certificate )) {
157
+ if ($g_skipverify || Math::Prime::Util::verify_prime($certificate )) {
157
158
return 1;
158
159
} else {
159
160
progress(" Error with prime cert, deleting to recalculate" );
@@ -452,6 +453,7 @@ sub pre_filter {
452
453
" repeat=i" => \$repeat ,
453
454
" shuffle" => \$shuffle ,
454
455
" thorough" => \$g_thorough ,
456
+ " skipverify" => \$g_skipverify ,
455
457
);
456
458
457
459
if ($use_color ) {
You can’t perform that action at this time.
0 commit comments