mersenneforum.org  

Go Back   mersenneforum.org > Extra Stuff > Blogorrhea > kriesel

Reply
 
Thread Tools
Old 2022-08-08, 15:52   #89
axn
 
axn's Avatar
 
Jun 2003

3×1,801 Posts
Default

Code:
isnearp(n)=my(d=digits(n),m=0); for(i=1, #d\2, if(d[i] != d[#d-i+1], m++)); (m==1)

c=0; forprime(p=10^8,10^9, c+=isnearp(p)); c
I think I know why your count is double the actual. A given near-palindrome can be created by "damaging" two different palindromes.

For example, 108446801 can be generated by changing digit 4 of 108646801, or digit 6 of 108444801. Two possible origins ==> double count.
axn is offline   Reply With Quote
Old 2022-09-11, 04:48   #90
Rubiksmath
 
Sep 2022

2×5 Posts
Default CUDA versions and usage clarification

This question is not easy for me to explain, but basically I am not quite sure with all the different program versions and CUDA versions which programs I can run and how I can do it (not really, as I said hard for me to explain). Currently I have CUDA toolkit 11.2 isntalled on my system, running the mfaktc version which is for 11.2 just fine.

I want to run something like CUDApm1 as well, however after looking at the reference material (which is very helpful), I still have a few questions that I am not sure of.

So I have had a look at the downloads for CUDApm1 (am i looking in the right place? I couldnt expressly find a good download mirror or anything in the reference material or on mersenne.org) and it looks like the most recent windows CUDA version is CUDA 10, and while i have CUDA 11.2 on my system judging from what I can tell with the reference material, it looks like I could still run it. The reference material asks me to get the appropriate version of the CUDA files from the link, but how do i know which ones are appropriate? yes I have CUDA 11.2 installed on my system but the app seems to only be compatible up to CUDA 10. I have read about only needing certain DLLs and stuff, what DLLs do i need and exactly where do I put them? (i have also read that you can use gpuowl for P-1, which i think I have but again i am not 100% sure about the CUDA versions and stuff)

Sorry if this seems a bit obvious, I am the sort of person which for whatever reason always has a couple questions and needs a bit of clarification.
Rubiksmath is offline   Reply With Quote
Old 2022-09-11, 05:28   #91
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

22·13·131 Posts
Default

CUDAPm1 is not being maintained, so builds for recent CUDA levels are unlikely. CUDAPm1 has reliability issues, and exponent limits lower than Gpuowl.

Gpuowl uses OpenCl 2, not CUDA, & so can run on both NVIDIA and AMD GPUs. It was actually originally developed on AMD Vega GPUs on LInux.

Last fiddled with by kriesel on 2022-09-11 at 05:33
kriesel is online now   Reply With Quote
Old 2022-09-12, 10:52   #92
Rubiksmath
 
Sep 2022

128 Posts
Default I clearly messed up with gpuowl somewhere

Ive had GpuOwl installed for over a year, I only ever did PRP with it though. Decided to give P-1 a go and uhh I dont know what to say other than it just plainly ignores all the assigned worktodo.txt lines copied from PrimeNet (one time it said some weird error like error: line must end with newline character), and if I try run it manually using -pm1 <exponent> -B1 <b1> etc, it just ignores it, outputting what I just typed in and then ignoring it and then proceeding to check worktodo.txt (and then ignore each and every line of that too). anyone know if ive missed a step somewhere or accidentally uninstalled/not installed something I was supposed to?
Rubiksmath is offline   Reply With Quote
Old 2022-09-12, 11:58   #93
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

22·13·131 Posts
Default

Quote:
Originally Posted by Rubiksmath View Post
Ive had GpuOwl installed for over a year, I only ever did PRP with it though. Decided to give P-1 a go and uhh I dont know what to say other than it just plainly ignores all the assigned worktodo.txt lines copied from PrimeNet (one time it said some weird error like error: line must end with newline character), and if I try run it manually using -pm1 <exponent> -B1 <b1> etc, it just ignores it, outputting what I just typed in and then ignoring it and then proceeding to check worktodo.txt (and then ignore each and every line of that too). anyone know if ive missed a step somewhere or accidentally uninstalled/not installed something I was supposed to?
Which version gpuowl? V7.x does not offer standalone P-1-only. You need V6.11 for that.
All worktodo entries must be followed by a newline character in gpuowl:
(work line)(newline)
(work line)(newline)
<EndOfFile>
not
(work line)(newline)
(work line)<EndOfFile>
I used to run ~40 manually assigned P-1 per day per Radeon GPU in gpuowl V6.11-380 with no problem, either as issued by the manual assignment web page or each prefixed with specific bounds eg B1=700000,B2=2600000;
See https://www.mersenneforum.org/showpo...8&postcount=22 for more detail.

Prime95 v30.8 has a better more efficient P-1 algorithm now, capable of efficiently reaching much higher B2, so it may be better to use that instead.

Last fiddled with by kriesel on 2022-09-12 at 12:04
kriesel is online now   Reply With Quote
Old 2022-09-13, 05:02   #94
Rubiksmath
 
Sep 2022

2·5 Posts
Default

Ah, well I am using V7.xx, I dont remember where I got it from and how I compiled it last time but thanks, ill try it.
Rubiksmath is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mersenne Prime mostly-GPU Computing reference material kriesel kriesel 36 2022-06-26 17:11
P-1 discussion thread Rincewind Five or Bust - The Dual Sierpinski Problem 57 2011-02-06 21:53
Sieving discussion thread jasong Twin Prime Search 311 2010-10-22 18:41
PRP discussion thread philmoore Five or Bust - The Dual Sierpinski Problem 83 2010-09-25 10:20
Theological Discussion Thread clowns789 Soap Box 3 2006-03-09 04:05

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


Sun Sep 25 14:43:30 UTC 2022 up 38 days, 12:12, 0 users, load averages: 1.76, 1.64, 1.48

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.

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