mersenneforum.org  

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

Reply
 
Thread Tools
Old 2017-04-13, 11:29   #23
DeleteNull
 
DeleteNull's Avatar
 
Mar 2017
Germany, Wolfsburg

416 Posts
Default

I have downloaded the source code (LLR 3.8.20) from Jean Penne's site.
After an update of cpuid.h, cpuid.c, gwnum.c (gwnum directory) now LLR recognizes Ryzen and is using FMA3.

It's a bit faster than default A10, but Ryzen has very slow memory modes. So we have to wait till the BIOS can handle much faster memory to get the full speed.

Last fiddled with by DeleteNull on 2017-04-13 at 12:14
DeleteNull is offline   Reply With Quote
Old 2017-12-30, 11:19   #24
diep
 
diep's Avatar
 
Sep 2006
The Netherlands

11001001112 Posts
Default

hello,
I have same issue like pinhodecarlos - it is at linux box and LLR is restarting from scratch.

After it has saved its own inifile, i killed all sllr64 then i modified the PgenLine numbers in the inifiles it saved, for every core (each core of course has its own directory) and then i restarted it.

It resumes then the number it was busy which is line 2 of the file instead of the line number i had set it to (149,149,149,149,1001,988,945,983).

How do i have it restart at the point i want it to start, other than make new inputfiles?

Maybe save file overwrites line number and if it can't find a correct save file it starts at linenumber 1.

Gonna kill all LLR's again, and then kill all save files, then modify linenumbers then restart it. If that doesn't work i don't know.

Kind Regards,
Vincent

Last fiddled with by diep on 2017-12-30 at 11:21
diep is offline   Reply With Quote
Old 2017-12-30, 11:26   #25
diep
 
diep's Avatar
 
Sep 2006
The Netherlands

14478 Posts
Default

Seems to work now correct after i deleted all z* files and then restarted. Seems to restart at correct line now.
diep is offline   Reply With Quote
Old 2017-12-30, 11:33   #26
diep
 
diep's Avatar
 
Sep 2006
The Netherlands

32716 Posts
Default

Attached the C file i use to split inputs to several files so that many cores start and stop roughly at the same time for an inputfile :)
diep is offline   Reply With Quote
Old 2017-12-30, 11:36   #27
diep
 
diep's Avatar
 
Sep 2006
The Netherlands

3·269 Posts
Default

Another attempt to upload a file...

Attached the C file i use to split inputs to several files so that many cores start and stop roughly at the same time for an inputfile :)
Attached Files
File Type: zip splitupzip.zip (1.4 KB, 181 views)
diep is offline   Reply With Quote
Old 2018-08-13, 19:31   #28
Happy5214
 
Happy5214's Avatar
 
"Alexander"
Nov 2008
The Alamo City

991 Posts
Default

Hey! I was looking at the code, and I think it's a mess. I was always taught that importing .c files directly was bad form. What's the rationale behind that?


Also, if rebirther would be so kind to provide his updated Visual Studio environment files for x86-64 so they can be integrated into the official source distribution, that'd be awesome. The source ZIP still uses a VC++ 6 environment, which is probably fine for 32-bit but useless for 64-bit.
Happy5214 is offline   Reply With Quote
Old 2018-08-13, 19:37   #29
rebirther
 
rebirther's Avatar
 
Sep 2011
Germany

5×7×103 Posts
Default

Quote:
Originally Posted by Happy5214 View Post
Hey! I was looking at the code, and I think it's a mess. I was always taught that importing .c files directly was bad form. What's the rationale behind that?


Also, if rebirther would be so kind to provide his updated Visual Studio environment files for x86-64 so they can be integrated into the official source distribution, that'd be awesome. The source ZIP still uses a VC++ 6 environment, which is probably fine for 32-bit but useless for 64-bit.

What do you need? Console or GUI? Also which files need an update?
rebirther is offline   Reply With Quote
Old 2018-08-13, 19:50   #30
Happy5214
 
Happy5214's Avatar
 
"Alexander"
Nov 2008
The Alamo City

99110 Posts
Default

Both if it's not too much to ask for. Updated sources would help, as I had compilation errors.



Jean's source has VC++ 6 project files (.dsp, etc.). My copy of VS 2013 upgraded them, but I'm not sure they're completely right. In particular, VS defaulted the build to 32-bit instead of 64-bit.


I'm a Linux guy, so I'm a bit out of my element here. But I'm trying to clean up the cross-platform code, so having a good Windows base will help.
Happy5214 is offline   Reply With Quote
Old 2018-08-13, 20:00   #31
rebirther
 
rebirther's Avatar
 
Sep 2011
Germany

5·7·103 Posts
Default

Quote:
Originally Posted by Happy5214 View Post
Both if it's not too much to ask for. Updated sources would help, as I had compilation errors.



Jean's source has VC++ 6 project files (.dsp, etc.). My copy of VS 2013 upgraded them, but I'm not sure they're completely right. In particular, VS defaulted the build to 32-bit instead of 64-bit.


I'm a Linux guy, so I'm a bit out of my element here. But I'm trying to clean up the cross-platform code, so having a good Windows base will help.

Try this:
1. switch platform to 64bit / 32 bit
2. link the correct gwnum lib 64bit/32bit
3. in properties go to C/C++ -->commandline -->add /DX86_64 in more options for 64bit


I will send you a link for the console the complete source (64bit modified).
rebirther is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
LLR Version 3.8.19 released Jean Penné Software 11 2017-02-23 08:52
LLR Version 3.8.15 released Jean Penné Software 28 2015-08-04 04:51
LLR Version 3.8.11 released Jean Penné Software 37 2014-01-29 16:32
LLR Version 3.8.9 released Jean Penné Software 37 2013-10-31 08:45
llr 3.8.2 released as dev-version opyrt Prime Sierpinski Project 11 2010-11-18 18:24

All times are UTC. The time now is 14:04.


Fri Jul 7 14:04:28 UTC 2023 up 323 days, 11:33, 0 users, load averages: 1.34, 1.14, 1.13

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.

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