mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2018-01-16, 15:08   #287
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

2·32·353 Posts
Default

I can help people build, but I cannot build as I do not have a linux box available to me.
rogue is offline   Reply With Quote
Old 2018-01-17, 01:42   #288
ATH
Einyen
 
ATH's Avatar
 
Dec 2003
Denmark

1100010101102 Posts
Default

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
Attached Files
File Type: txt gcc.txt (39.9 KB, 98 views)

Last fiddled with by ATH on 2018-01-17 at 01:44
ATH is offline   Reply With Quote
Old 2018-01-17, 02:51   #289
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

2×32×11×19 Posts
Default

See this thread
paulunderwood is offline   Reply With Quote
Old 2018-01-17, 14:28   #290
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

11000110100102 Posts
Default

Sorry, I never applied the change or committed to SVN. If I remember then I'll do it as soon as I get home.
rogue is offline   Reply With Quote
Old 2018-01-17, 23:01   #291
ATH
Einyen
 
ATH's Avatar
 
Dec 2003
Denmark

2×1,579 Posts
Default

Ok, I managed to compile it following the guide and it works, so here is a Core2 build:
pfgw383core2.zip

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.
ATH is offline   Reply With Quote
Old 2018-01-18, 03:20   #292
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

2×32×353 Posts
Default

Quote:
Originally Posted by ATH View Post
Ok, I managed to compile it following the guide and it works, so here is a Core2 build:
pfgw383core2.zip

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:
You need to put the correct headers into packages/gwnum.
rogue is offline   Reply With Quote
Old 2018-01-18, 06:58   #293
ATH
Einyen
 
ATH's Avatar
 
Dec 2003
Denmark

2×1,579 Posts
Default

Quote:
Originally Posted by rogue View Post
You need to put the correct headers into packages/gwnum.
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 is offline   Reply With Quote
Old 2018-01-18, 08:34   #294
ATH
Einyen
 
ATH's Avatar
 
Dec 2003
Denmark

61268 Posts
Default

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

pfgw383gwnum286core2.zip
pfgw383gwnum287core2.zip
pfgw383gwnum289core2.zip
ATH is offline   Reply With Quote
Old 2018-01-18, 14:23   #295
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

2·32·353 Posts
Default

Quote:
Originally Posted by ATH View Post
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.
Did you do a "make clean" after moving the header files?
rogue is offline   Reply With Quote
Old 2018-01-18, 15:36   #296
ATH
Einyen
 
ATH's Avatar
 
Dec 2003
Denmark

C5616 Posts
Default

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.
ATH is offline   Reply With Quote
Old 2018-06-16, 23:12   #297
a1call
 
a1call's Avatar
 
"Rashid Naimi"
Oct 2015
Remote to Here/There

2,063 Posts
Default

Apologies for the ignorance.

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.
a1call is offline   Reply With Quote
Reply



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.2 has been Released rogue Software 20 2009-08-23 12:14
PFGW 3.2.1 has been released rogue Software 5 2009-08-10 01:43

All times are UTC. The time now is 13:56.


Mon Aug 2 13:56:27 UTC 2021 up 10 days, 8:25, 0 users, load averages: 3.92, 2.82, 2.33

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

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.