![]() |
|
|
#23 |
|
I moo ablest echo power!
May 2013
29·61 Posts |
|
|
|
|
|
|
#24 |
|
Jul 2003
10011000112 Posts |
hi,
i like to do n!17 from 50k to 300k please give me a sieve-file Last fiddled with by lalera on 2016-10-17 at 13:48 |
|
|
|
|
|
#25 |
|
Jul 2003
10011000112 Posts |
hi,
the link on your website for mfsieve is wrong and a question: do you have a (static) binary for linux x64 ? Last fiddled with by rogue on 2016-10-17 at 14:47 |
|
|
|
|
|
#26 |
|
"Mark"
Apr 2003
Between here and the
143138 Posts |
|
|
|
|
|
|
#27 |
|
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
224058 Posts |
Here is a "makefile" for building the binary:
Code:
all: g++ -O3 -o mfsieve */*.cpp mf/*.S -lpthread |
|
|
|
|
|
#28 |
|
"Mark"
Apr 2003
Between here and the
11·577 Posts |
Note that the file I provide will not need additional sieving.
|
|
|
|
|
|
#29 |
|
Jul 2003
26316 Posts |
|
|
|
|
|
|
#30 |
|
"Mark"
Apr 2003
Between here and the
11·577 Posts |
|
|
|
|
|
|
#31 |
|
Jul 2003
13·47 Posts |
hi,
Code:
[root@localhost mfsieve(2)]# g++ -O3 -o mfsieve */*.cpp mf/*.S -lpthread core/App.cpp: In member function ‘void App::ProcessIniFile(const char*)’: core/App.cpp:121: error: ‘atoi’ was not declared in this scope core/App.cpp: In member function ‘void App::StopThreads(bool)’: core/App.cpp:222: error: ‘exit’ was not declared in this scope core/App.cpp: In member function ‘void App::WriteToConsole(cotype_t, const char*, ...)’: core/App.cpp:569: error: ‘va_start’ was not declared in this scope core/App.cpp:571: error: ‘va_end’ was not declared in this scope core/main.cpp: In function ‘void SetQuitting(int)’: core/main.cpp:55: error: ‘exit’ was not declared in this scope core/main.cpp:63: error: ‘exit’ was not declared in this scope core/main.cpp: In function ‘void FatalError(const char*, ...)’: core/main.cpp:245: error: ‘exit’ was not declared in this scope core/main.cpp: In function ‘void* xmalloc(size_t)’: core/main.cpp:279: error: ‘malloc’ was not declared in this scope core/main.cpp: In function ‘void xfree(void*)’: core/main.cpp:307: error: ‘free’ was not declared in this scope core/WorkerThread.cpp: In function ‘void* ThreadEntryPoint(void*)’: core/WorkerThread.cpp:84: error: ‘PRIO_PROCESS’ was not declared in this scope core/WorkerThread.cpp:84: error: ‘PRIO_MAX’ was not declared in this scope core/WorkerThread.cpp:84: error: ‘setpriority’ was not declared in this scope mf/MFSieveApp.cpp: In member function ‘virtual parse_t MFSieveApp::ParseOption(int, char*, const char*)’: mf/MFSieveApp.cpp:127: error: ‘exit’ was not declared in this scope [root@localhost mfsieve(2)]# |
|
|
|
|
|
#32 |
|
"Mark"
Apr 2003
Between here and the
11·577 Posts |
Try this in WorkerThread.h:
#ifndef WIN32 #include <pthread.h> #else #include <sys/priority.h> #endif and compile with this: g++ -O3 -o mfsieve */*.cpp mf/*.S -lpthread -lstdc++ |
|
|
|
|
|
#33 |
|
Jul 2003
61110 Posts |
Code:
[root@localhost mfsieve(2)]# g++ -O3 -o mfsieve */*.cpp mf/*.S -lpthread -lstdc++ core/App.cpp: In member function ‘void App::ProcessIniFile(const char*)’: core/App.cpp:121: error: ‘atoi’ was not declared in this scope core/App.cpp: In member function ‘void App::StopThreads(bool)’: core/App.cpp:222: error: ‘exit’ was not declared in this scope core/App.cpp: In member function ‘void App::WriteToConsole(cotype_t, const char*, ...)’: core/App.cpp:569: error: ‘va_start’ was not declared in this scope core/App.cpp:571: error: ‘va_end’ was not declared in this scope core/main.cpp: In function ‘void SetQuitting(int)’: core/main.cpp:55: error: ‘exit’ was not declared in this scope core/main.cpp:63: error: ‘exit’ was not declared in this scope core/main.cpp: In function ‘void FatalError(const char*, ...)’: core/main.cpp:245: error: ‘exit’ was not declared in this scope core/main.cpp: In function ‘void* xmalloc(size_t)’: core/main.cpp:279: error: ‘malloc’ was not declared in this scope core/main.cpp: In function ‘void xfree(void*)’: core/main.cpp:307: error: ‘free’ was not declared in this scope core/WorkerThread.cpp: In function ‘void* ThreadEntryPoint(void*)’: core/WorkerThread.cpp:84: error: ‘PRIO_PROCESS’ was not declared in this scope core/WorkerThread.cpp:84: error: ‘PRIO_MAX’ was not declared in this scope core/WorkerThread.cpp:84: error: ‘setpriority’ was not declared in this scope mf/MFSieveApp.cpp: In member function ‘virtual parse_t MFSieveApp::ParseOption(int, char*, const char*)’: mf/MFSieveApp.cpp:127: error: ‘exit’ was not declared in this scope [root@localhost mfsieve(2)]# Last fiddled with by lalera on 2016-10-17 at 19:43 |
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Twin prime search? | MooooMoo | Twin Prime Search | 115 | 2010-08-29 17:38 |
| Prime Search at School | Unregistered | Information & Answers | 5 | 2009-10-15 22:44 |
| k=51 or about coordinated prime search | Kosmaj | Riesel Prime Search | 7 | 2007-07-13 22:15 |
| Prime Search on PS-3? | Kosmaj | Riesel Prime Search | 6 | 2006-11-21 15:19 |
| Prime Search forum | geoff | Forum Feedback | 3 | 2006-07-26 03:17 |