mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Software (https://www.mersenneforum.org/forumdisplay.php?f=10)
-   -   PFGW 3.8.3 (with gwnum v28.7) Released (https://www.mersenneforum.org/showthread.php?t=13969)

rogue 2018-01-16 15:08

I can help people build, but I cannot build as I do not have a linux box available to me.

ATH 2018-01-17 01:42

1 Attachment(s)
I'm not sure how much older processors we are talking about, but I have Linux Mint on my old Core2Quad (Yorksfield) Q9450.

I tried to get the newest SVN 643. It has gcc/g++ 5.4.0.

There are no configure file and I did not have time to spend checking into this right now, so I just ran "make" but it failed. Any tips would be appreciated, since i'm a Linux "newbie". Full log attached.

[CODE]g++ -O3 -m64 -DX86_64 -D_64BIT -I../../packages/gmp/64bit -I../../pfconfig/headers -I. -I../.. -c -o pfabcdfile.o pfabcdfile.cpp
g++ -O3 -m64 -DX86_64 -D_64BIT -I../../packages/gmp/64bit -I../../pfconfig/headers -I. -I../.. -c -o pfdecimalfile.o pfdecimalfile.cpp
pfdecimalfile.cpp: In member function ‘virtual void PFDecimalFile::LoadFirstLine()’:
pfdecimalfile.cpp:57:21: error: ‘isdigit’ was not declared in this scope
if (!isdigit(*pos))
^
pfdecimalfile.cpp: In member function ‘virtual int PFDecimalFile::GetNextLine(PFString&, Integer*, bool*, PFSymbolTable*)’:
pfdecimalfile.cpp:98:32: error: ‘isdigit’ was not declared in this scope
if (!isdigit(*m_nNextLine))
^
makefile:36: recipe for target 'pfdecimalfile.o' failed
make[1]: *** [pfdecimalfile.o] Error 1
make[1]: Leaving directory '/home/ath/Desktop/pfgw/openpfgw-code/pform/pfio'
makefile:75: recipe for target 'io' failed
make: *** [io] Error 2[/CODE]

paulunderwood 2018-01-17 02:51

See [URL="http://www.mersenneforum.org/showthread.php?t=22018"]this thread[/URL] :smile:

rogue 2018-01-17 14:28

Sorry, I never applied the change or committed to SVN. If I remember then I'll do it as soon as I get home.

ATH 2018-01-17 23:01

Ok, I managed to compile it following the guide and it works, so here is a Core2 build:
[URL="http://hoegge.dk/mersenne/pfgw383core2.zip"]pfgw383core2.zip[/URL]

But it says it is using GWNUM 28.6, it is compiled with p95v286.source.zip from the guide.

When I try to use GWNUM from p95v289.source.zip it says:
[QUOTE]GWNUM version mismatch. PFGW is not linked with version 28.6 of GWNUM.[/QUOTE]

rogue 2018-01-18 03:20

[QUOTE=ATH;477793]Ok, I managed to compile it following the guide and it works, so here is a Core2 build:
[URL="http://hoegge.dk/mersenne/pfgw383core2.zip"]pfgw383core2.zip[/URL]

But it says it is using GWNUM 28.6, it is compiled with p95v286.source.zip from the guide.

When I try to use GWNUM from p95v289.source.zip it says:[/QUOTE]

You need to put the correct headers into packages/gwnum.

ATH 2018-01-18 06:58

[QUOTE=rogue;477803]You need to put the correct headers into packages/gwnum.[/QUOTE]

I copied the 7 .h files to packages\gwnum and the gwnum.a to packages\gwnum\64bit. It actually compiles now, but when running it, it still gives the GWNUM version mismatch. I tried with GWNUM from 28.7 source and 28.9 source.

ATH 2018-01-18 08:34

I figured it out and managed to compile it with GWNUM 28.7 and 28.9:

[URL="http://hoegge.dk/mersenne/pfgw383gwnum286core2.zip"]pfgw383gwnum286core2.zip[/URL]
[URL="http://hoegge.dk/mersenne/pfgw383gwnum287core2.zip"]pfgw383gwnum287core2.zip[/URL]
[URL="http://hoegge.dk/mersenne/pfgw383gwnum289core2.zip"]pfgw383gwnum289core2.zip[/URL]

rogue 2018-01-18 14:23

[QUOTE=ATH;477811]I copied the 7 .h files to packages\gwnum and the gwnum.a to packages\gwnum\64bit. It actually compiles now, but when running it, it still gives the GWNUM version mismatch. I tried with GWNUM from 28.7 source and 28.9 source.[/QUOTE]

Did you do a "make clean" after moving the header files?

ATH 2018-01-18 15:36

No, that's what I figured out was wrong. Actually I forgot there was a make clean, so I just used a fresh svn download instead.

a1call 2018-06-16 23:12

Apologies for the ignorance.:smile:

I just downloaded the pfgw_win_3.8.3.7z

extracted all files and ran Win64PFGW.exe

An GUI opened up.
I clicked on "Mode" drop-down

Everything is grayed out except for "set PRP base"

How can I use other Modes?

Thank you in advance.


All times are UTC. The time now is 22:06.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.