mersenneforum.org  

Go Back   mersenneforum.org > Prime Search Projects > And now for something completely different

Reply
 
Thread Tools
Old 2016-10-14, 21:30   #23
wombatman
I moo ablest echo power!
 
wombatman's Avatar
 
May 2013

22×11×41 Posts
Default

Quote:
Originally Posted by Batalov View Post
What are you guys calling "bases" here? Isn't it a misnomer? It is all over this thread.

I take it that you are referring to what Davis calls "types", i.e. how many numbers are skipped in a product series.
Thanks for pointing it out. I honestly had no idea.
wombatman is offline   Reply With Quote
Old 2016-10-17, 12:55   #24
lalera
 
lalera's Avatar
 
Jul 2003

2×307 Posts
Default

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
lalera is offline   Reply With Quote
Old 2016-10-17, 14:01   #25
lalera
 
lalera's Avatar
 
Jul 2003

2×307 Posts
Default

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
lalera is offline   Reply With Quote
Old 2016-10-17, 14:47   #26
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

24×421 Posts
Default

Quote:
Originally Posted by lalera View Post
hi,
the link on your website for mfsieve is wrong
and a question: do you have a (static) binary for linux x64 ?
No, but the sources were included. I will fix the link tonight.

PM your e-mail and I'll send a file tonight.

Thank you for participating.
rogue is offline   Reply With Quote
Old 2016-10-17, 16:44   #27
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

233258 Posts
Default

Here is a "makefile" for building the binary:
Code:
all:
	g++ -O3 -o mfsieve */*.cpp mf/*.S -lpthread
Batalov is offline   Reply With Quote
Old 2016-10-17, 17:02   #28
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

24×421 Posts
Default

Note that the file I provide will not need additional sieving.
rogue is offline   Reply With Quote
Old 2016-10-17, 18:08   #29
lalera
 
lalera's Avatar
 
Jul 2003

2×307 Posts
Default

Quote:
Originally Posted by Batalov View Post
Here is a "makefile" for building the binary:
Code:
all:
	g++ -O3 -o mfsieve */*.cpp mf/*.S -lpthread
hi,
this does not work for me
i have scientific linux v6.8 x64 (glibc 2.12 based)
lalera is offline   Reply With Quote
Old 2016-10-17, 18:17   #30
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

151208 Posts
Default

Quote:
Originally Posted by lalera View Post
hi,
this does not work for me
i have scientific linux v6.8 x64 (glibc 2.12 based)
What error(s) do you get?
rogue is offline   Reply With Quote
Old 2016-10-17, 18:26   #31
lalera
 
lalera's Avatar
 
Jul 2003

2·307 Posts
Default

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)]#
lalera is offline   Reply With Quote
Old 2016-10-17, 18:59   #32
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

673610 Posts
Default

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++
rogue is offline   Reply With Quote
Old 2016-10-17, 19:41   #33
lalera
 
lalera's Avatar
 
Jul 2003

2·307 Posts
Default

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

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

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


Fri Sep 30 13:12:29 UTC 2022 up 43 days, 10:41, 0 users, load averages: 1.03, 1.16, 1.20

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, 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.

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔