![]() |
|
|
#177 | |
|
Dec 2011
After milion nines:)
23×181 Posts |
Quote:
main.cpp: In function ‘void getInputs()’: main.cpp:160:40: error: expected ‘)’ before ‘SCNu64’ main.cpp: In function ‘void removeTrivial()’: main.cpp:273:34: error: expected ‘)’ before ‘PRId64’ main.cpp: In function ‘void removeGFN()’: main.cpp:330:27: error: expected ‘)’ before ‘PRId64’ main.cpp: In function ‘void removeMOB()’: main.cpp:423:30: error: expected ‘)’ before ‘PRId64’ main.cpp: In function ‘void processNewpgenFile(uint32_t)’: main.cpp:481:27: error: expected ‘)’ before ‘PRId64’ main.cpp: In function ‘void doPhase(int)’: main.cpp:519:31: error: expected ‘)’ before ‘PRId64’ main.cpp: In function ‘void call_srsieve(uint32_t, uint32_t, uint64_t)’: main.cpp:555:46: error: expected ‘)’ before ‘PRIu64’ main.cpp: In function ‘void prp_test_ABC_file()’: main.cpp:601:32: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] main.cpp: In function ‘void output_remain(char*)’: main.cpp:710:29: error: expected ‘)’ before ‘PRId64’ I have compiled srsieve ,srsieve1 and srsieve2 for Linux without any problem on same machine: so it looks like I have whatever I need This is your last code before adding recovery... Last fiddled with by pepi37 on 2015-08-18 at 16:36 |
|
|
|
|
|
|
#178 | |
|
Quasi Admin Thing
May 2005
3C616 Posts |
Quote:
@Rogue: Since I'm sieving to n=32 using NewPGen and might sieve to n=33 for the next tests for R3, could you please have the limit at nothing lower than 33 NewPGen files, for base 3? |
|
|
|
|
|
|
#179 | |
|
Jul 2003
11438 Posts |
Quote:
|
|
|
|
|
|
|
#180 |
|
Jul 2003
11438 Posts |
|
|
|
|
|
|
#181 |
|
"Mark"
Apr 2003
Between here and the
143208 Posts |
You will need to find the header that has a #define for that then modify the code to include it in main.cpp. I suggest searching /usr/include for that string.
|
|
|
|
|
|
#182 |
|
"Mark"
Apr 2003
Between here and the
18D016 Posts |
|
|
|
|
|
|
#183 |
|
Quasi Admin Thing
May 2005
2×3×7×23 Posts |
|
|
|
|
|
|
#184 | |
|
Dec 2011
After milion nines:)
23·181 Posts |
Quote:
Thanks! Only got one error, but with build binaries: Now I run test what same data from Windows for reference! |
|
|
|
|
|
|
#185 |
|
"Mark"
Apr 2003
Between here and the
635210 Posts |
|
|
|
|
|
|
#186 |
|
Dec 2011
After milion nines:)
23·181 Posts |
None.
It looks like my gcc was "old" it was 4.7 I now install 4.9 and it compile whit that one error. I found that yours decalration are same as in MiniGW inttypes.hr , and those I get in Linux are little different ( file is herehttp://www.dropbox.com/s/s4yj44kho6g...nttypes.h?dl=0 ) So if I follow correctly Code:
# define __PRI64_PREFIX "l" # define __PRIPTR_PREFIX "l" .... # define PRId64 __PRI64_PREFIX "d" # define PRId64 "ld" ? I am correct? Last fiddled with by pepi37 on 2015-08-18 at 23:40 Reason: add more info |
|
|
|
|
|
#187 |
|
Dec 2011
After milion nines:)
23×181 Posts |
It attachment is cross- reference between Windows, Linux on I5-3570K and on Linux on Haswell.
All three has 7328 primes, remains are same, as GFN and MOB and trivial. But I seen just one "error" on print screen on all three "windows" ( look at copy-scrren.txt) It says Code:
Completed phase 5: 159 remaining ( on Linux and Windows), I dont know what was status of Windows at that time, since it is now on 8.8K . In "win" directory are Pgen files, and settings for first set of S810 in srbsieve.ini ( I divide work on four cores) UPDATE I look at task on four cores on Windows On first core it shows one prime more ( show 119, have 118) , on other show correct number So it looks like "missing prime is 1*810^n+1" since I start from 2 in srbsieve.ini 810^1+1 is prime! (3 decimal digits, Trial divisions) Time : 0.002 ms. And since cross reference was from first set, I think all is OK. Last fiddled with by pepi37 on 2015-08-19 at 00:38 Reason: Add more info |
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Very Prime Riesel and Sierpinski k | robert44444uk | Open Projects | 587 | 2016-11-13 15:26 |
| Sierpinski/ Riesel bases 6 to 18 | robert44444uk | Conjectures 'R Us | 139 | 2007-12-17 05:17 |
| Sierpinski/Riesel Base 10 | rogue | Conjectures 'R Us | 11 | 2007-12-17 05:08 |
| Sierpinski / Riesel - Base 23 | michaf | Conjectures 'R Us | 2 | 2007-12-17 05:04 |
| Sierpinski / Riesel - Base 22 | michaf | Conjectures 'R Us | 49 | 2007-12-17 05:03 |