mersenneforum.org  

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

Reply
 
Thread Tools
Old 2023-02-25, 13:56   #1035
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

7,487 Posts
Default

Quote:
Originally Posted by lordlouckster View Post
How do you compile mtsieve on Windows?
I use clang version 14.0.0. See https://github.com/llvm/llvm-project.
rogue is offline   Reply With Quote
Old 2023-02-25, 16:42   #1036
lordlouckster
 
Feb 2023

11 Posts
Default

gfndsieve can only output ABCD files, and LLR only accepts NewPGen and ABC files.
lordlouckster is offline   Reply With Quote
Old 2023-02-25, 16:55   #1037
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

7,487 Posts
Default

Quote:
Originally Posted by lordlouckster View Post
gfndsieve can only output ABCD files, and LLR only accepts NewPGen and ABC files.
gfndsieve output is targeted to pfgw for two reasons. First, pfgw tests GFN divisors (-gx and -gxo). Second, when using gfndsieve one tends to have large ranges of n and k, resulting hundreds of millions or billions of terms. The ABCD format is the best format for the files that this would generate.

If llr ever supports features like -gx and -gxo in pfgw, then I would suggest that Jean update llr to support ABCD format. It doesn't need to support all possible ABCD formats, just the few that the framework can output.
rogue is offline   Reply With Quote
Old 2023-02-26, 01:47   #1038
pepi37
 
pepi37's Avatar
 
Dec 2011
After 1.58M nines:)

13·137 Posts
Default

Quote:
Originally Posted by lordlouckster View Post
gfndsieve can only output ABCD files, and LLR only accepts NewPGen and ABC files.
You can always use srsieve to change output format
pepi37 is offline   Reply With Quote
Old 2023-02-26, 12:35   #1039
lordlouckster
 
Feb 2023

11 Posts
Default

The makefile shows a folder named "E:\stuff\gmp-6.1.2". Did you build gmp yourself?
lordlouckster is offline   Reply With Quote
Old 2023-02-26, 14:09   #1040
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

7,487 Posts
Default

Quote:
Originally Posted by lordlouckster View Post
The makefile shows a folder named "E:\stuff\gmp-6.1.2". Did you build gmp yourself?
Yes. I do not recall how I built it since I haven't built it in a while. I think I used mingw64 as it has some tools GMP needs to build the makefile. IIRC, only gfndsieve and dmdsieve rely on it.
rogue is offline   Reply With Quote
Old 2023-02-26, 17:28   #1041
lordlouckster
 
Feb 2023

11 Posts
Default

I managed to build mtsieve applications with g++, except for those that use GMP, but the executables are twice as large as your builds.
In the makefile you also say that you use llvm-mingw for Windows builds. What is its exact name in MSYS?
lordlouckster is offline   Reply With Quote
Old 2023-02-27, 15:32   #1042
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

7,487 Posts
Default

I have posted 2.4.3 over at sourceforge. Here are the changes:

Code:
framework:
   Notify workers when the "primes per chunk" changes as the worker might need
   to allocate/re-allocate memory based upon that.
   
psieve/psievecl: version 1.6
   Ignore primorials < 100 and primorials > 1e9 if starting from an input file
   as values outside of the supported range lead to missing factors.

twinsieve: version 1.5
   Handle changes to "primes per chunk".
      
fbncsieve: version 1.5
   Handle changes to "primes per chunk".
rogue is offline   Reply With Quote
Old 2023-02-27, 15:34   #1043
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

7,487 Posts
Default

Quote:
Originally Posted by lordlouckster View Post
I managed to build mtsieve applications with g++, except for those that use GMP, but the executables are twice as large as your builds.
In the makefile you also say that you use llvm-mingw for Windows builds. What is its exact name in MSYS?
I'm not certain what you mean. This is what I have for gcc:

gcc --version
clang version 14.0.0 (https://github.com/llvm/llvm-project.git 329fda39c507e8740978d10458451dcdb21563be)
Target: x86_64-w64-windows-gnu
Thread model: posix
InstalledDir: C:/llvm-mingw-20220323-ucrt-x86_64/bin

I don't think anything in my build relies on msys/msys2/mingw64, but I could be wrong.

Last fiddled with by rogue on 2023-02-27 at 15:34
rogue is offline   Reply With Quote
Old 2023-02-27, 16:38   #1044
Happy5214
 
Happy5214's Avatar
 
"Alexander"
Nov 2008
The Alamo City

3·73 Posts
Default

Quote:
Originally Posted by lordlouckster View Post
I managed to build mtsieve applications with g++, except for those that use GMP, but the executables are twice as large as your builds.
In the makefile you also say that you use llvm-mingw for Windows builds. What is its exact name in MSYS?
Doing a web search, I think the MSYS2 package is called mingw-w64-x86_64-llvm.
Happy5214 is offline   Reply With Quote
Old 2023-02-27, 18:20   #1045
storm5510
Random Account
 
storm5510's Avatar
 
Aug 2009
Oceanus Procellarum

BE116 Posts
Default

Quote:
Originally Posted by rogue View Post
I have posted 2.4.3 over at sourceforge. Here are the changes:

Code:
framework:
   Notify workers when the "primes per chunk" changes as the worker might need
   to allocate/re-allocate memory based upon that.
   
psieve/psievecl: version 1.6
   Ignore primorials < 100 and primorials > 1e9 if starting from an input file
   as values outside of the supported range lead to missing factors.

twinsieve: version 1.5
   Handle changes to "primes per chunk".
      
fbncsieve: version 1.5
   Handle changes to "primes per chunk".
I take it that this does not affect srsieve2 or srsieve2cl?
storm5510 is offline   Reply With Quote
Reply

Thread Tools


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


Wed Oct 4 02:22:00 UTC 2023 up 21 days, 4 mins, 0 users, load averages: 0.44, 0.67, 0.78

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

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