![]() |
|
|
#540 |
|
"Mark"
Apr 2003
Between here and the
1CAD16 Posts |
I have posted pfgw 4.0.4 over at sourceforge. Here are the updates:
Code:
- Upgraded to Visual Studio 2022.
- Added -A allowing the specification of single CPU for pfgw to use. This
is supported only for Windows at this time and should be primarily used on CPUs
with a mix of efficiency and performance cores.
- Added CC file format support. This was added to support ccsieve (from the mtsieve
framework) as the format is easier to understand than the newpgen format. Read
the ccfileformat.txt for more details.
- Upgraded to gwnum v30.10b2.
|
|
|
|
|
|
#541 | |
|
Feb 2020
Germany
1110002 Posts |
Hi,
I tested the new version of pfgw64 (4.0.4) and found a behavior that I can not explain when using the new cunningham chain input file from ccsieve. Quote:
regards |
|
|
|
|
|
|
#542 | |
|
"Mark"
Apr 2003
Between here and the
3·2,447 Posts |
Quote:
Note that with base 2 that k can be even for the first time. That will be fixed in the next release. If you want to find records for longer chains then search primorials or factorials. fewer terms are removed in each range of k, but there are a lot more PRPs. |
|
|
|
|
|
|
#543 |
|
Feb 2020
Germany
23·7 Posts |
Thanks for the explanation.
|
|
|
|
|
|
#544 | |
|
Jun 2012
Boulder, CO
32·53 Posts |
Quote:
Code:
Index: pform/pfio/makefile =================================================================== --- pform/pfio/makefile (revision 679) +++ pform/pfio/makefile (working copy) @@ -5,7 +5,7 @@ vpath %.asm . OSPECIAL = -OLIB = pfcpapfile.o pffile.o pfnewpgenfile.o pfoutput.o pfconsoleoutput.o pfini.o \ +OLIB = pfcpapfile.o pffile.o pfccfile.o pfnewpgenfile.o pfoutput.o pfconsoleoutput.o pfini.o \ pfabcfile.o pfabc2file.o pfprzfile.o pfscriptfile.o pfscriptfns.o pfabcdfile.o \ pfdecimalfile.o pfcheckfile.o prz.o pfabctaskcompleted.o pffilesymbol.o OUTDIR = .libs Code:
Index: pform/pfio/pfccfile.cpp
===================================================================
--- pform/pfio/pfccfile.cpp (revision 679)
+++ pform/pfio/pfccfile.cpp (working copy)
@@ -27,6 +27,13 @@
extern char g_ModularSieveString[256];
extern bool g_bTerseOutput;
+int strpos(char *haystack, int needle) {
+ char *p = strchr(haystack, needle);
+ if (p)
+ return p - haystack;
+ return -1; // Not found = -1.
+}
+
int PFCCFile::LetterNumber(char Letter)
{
if (Letter >= 'A' && Letter <= 'Z')
@@ -192,7 +199,7 @@
while (expPtr[0] == ' ')
expPtr++;
- if (strchr(expPtr, '&') > 0 || strchr(expPtr, '|') > 0) {
+ if (strpos(expPtr, '&') > 0 || strpos(expPtr, '|') > 0) {
snprintf(errorMessage, sizeof(errorMessage), "\nCritical Error, first line in CC file does not support & or |\n");
throw errorMessage;
|
|
|
|
|
|
|
#545 | |
|
"Mark"
Apr 2003
Between here and the
3·2,447 Posts |
Quote:
You can send it to me via e-mail or dropbox. I just need you to zip (or 7-zip) the contents of the distribution folder. Thank you! |
|
|
|
|
|
|
#546 |
|
"Mark"
Apr 2003
Between here and the
11100101011012 Posts |
I updated the makefile and fixed strchr to use != NULL. Let me know if that resolves your build issue.
|
|
|
|
|
|
#547 |
|
"Oliver"
Sep 2017
Porta Westfalica, DE
31418 Posts |
Do you already have received the Linux version? When building and taking the gwnum.a from the latest source, it still complains about a lot of missing references. Even to gwinit2.
|
|
|
|
|
|
#548 |
|
"Mark"
Apr 2003
Between here and the
3·2,447 Posts |
|
|
|
|
|
|
#549 |
|
"Oliver"
Sep 2017
Porta Westfalica, DE
23·71 Posts |
Attached is a Linux build. I needed to change GMP from being statically to being dynamically linked. Please give it a try.
|
|
|
|
|
|
#550 |
|
"Mark"
Apr 2003
Between here and the
1CAD16 Posts |
I have no means to execute this. If someone else can verify that this runs in their environment, then I will put on sourceforge. My main concern is the dynamically linked libraries.
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| A possible bug in LLR/PFGW while using GWNUM (no bug in P95) | Batalov | Software | 77 | 2015-04-14 09:01 |
| PFGW 3.2.0 has been Released | rogue | Software | 94 | 2010-09-14 21:39 |
| PFGW 3.2.3 has been Released | rogue | Software | 10 | 2009-10-28 07:07 |
| PFGW 3.2.1 has been released | rogue | Software | 5 | 2009-08-10 01:43 |
| PFGW 3.1.0 has been Released | rogue | Software | 25 | 2009-07-21 18:13 |