mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Hardware > GPU Computing

Reply
 
Thread Tools
Old 2011-10-13, 12:53   #45
Christenson
 
Christenson's Avatar
 
Dec 2010
Monticello

179510 Posts
Default

At the moment, Windows batch files are your friend...just a list of command lines, assembled with a text editor such as Wordpad or Notepad.. only problem is if your computer crashes for some reason, you'll have to figure out where it was and edit....

Now, if Windows7 wasn't so picky about not letting me use Open With... when right-clicking when the file was a batch file, my life would be easier.....
Christenson is offline   Reply With Quote
Old 2011-10-13, 20:43   #46
kladner
 
kladner's Avatar
 
"Kieren"
Jul 2011
In My Own Galaxy!

2×3×1,693 Posts
Default Some progress

I've written a couple of very simple ones that just change drive and directory, and start the program. For CUDALucas it also inputs the assignment and sets the per-iteration number. I changed all the periods in the name because I got an error once. Probably wasn't necessary.
CUDALucas.bat

e:
cd \CUDA\CUDALucas.1.2b
CUDALucas_cuda3-2_sm_13_WIN64.exe -c10000 5318xxxx
I'm not sure if I did the right thing to get an assignment. I chose "Smallest Available." However, that returned a string suitable for worktodo.txt. I couldn't figure out how to keep the assignment key string with the exponent, so I just fed in the exponent on the command line. I'm sure there are instructions somewhere on how to return completed assignments.

Is "Smallest Available" the best choice for cuda assignments? I want to get the sort of assignments that the "Whatever makes sense" setting in P95, or Most Needed.

CUDALucas runs around 94% on the GPU. It uses very little CPU.

Now if there were just a way to set affinity from a batch file call. It's a pain to do it manually every time.

As things stand, I have mfaktc able to run under XP-32, and CUDALucas under Win7-64. I still haven't found the right cufftxx_xx_xx.dll for cuda to run under XP-32.

EDIT:
What do you mean about right-clicking, Christenson? I haven't tried Open With. I am able to call Edit and open the .bat in Notepad. What are you trying to do?

Edit 2: I just found the following line from the Primenet forum, quoting Prime95:
"I'll be watching over the next few months how many people sign up for P-1 factoring. We have tons of people doing LL and TF, we need more people signing up for P-1."

Does cudalucas do P-1?

Sorry for probably ignorant questions. I'm kind of drowning in this stuff right now.

Last fiddled with by kladner on 2011-10-13 at 21:18
kladner is offline   Reply With Quote
Old 2011-10-14, 00:26   #47
Christenson
 
Christenson's Avatar
 
Dec 2010
Monticello

5×359 Posts
Default

Fine batch file...I usually do the setting of drive letters and changing of directories by hand, but that's just me.

"edit" didn't work for me at the Win7 command line, and edit on right-clicking is just invisible (by long habit only! -- it's there! even on XP, but I'm too used to using open with...and a programmer's editor called CodeWright) so that's what the right clicking in file manager/Windows explorer is all about....

Type of work to get for CudaLucas is a preference...as long as it's an LL test, it's up to you. By preference, I do small LL-Ds.

Returning results is simple. When CUDALucas is done with that exponent, you'll find a small file called mersarch.txt. Copy the contents from that into box on the "manual results" page, make sure there's a newline at the end (known bug!), and hit submit. Somehow prevent yourself from re-submitting that result, you are done!

I don't know how to use the assignment key with CUDAlucas. I wouldn't bother setting CPU affinity for CUDALucas, because it uses such a small amount of CPU. (mfaktc, completely different, you manage that there!)

No, CUDALucas doesn't do P-1...it does LL tests...there's no CUDA P-1 program, not yet....
Christenson is offline   Reply With Quote
Old 2011-10-14, 00:49   #48
kladner
 
kladner's Avatar
 
"Kieren"
Jul 2011
In My Own Galaxy!

2·3·1,693 Posts
Default

Thanks, Christenson. You've cleared up some confusion here.

Things seem to be rolling along pretty well for the moment. mfaktc sure does crank out the results, even at 55% GPU.
kladner is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Infinite series Raman Math 6 2011-04-24 01:21
series of numbers jasong Puzzles 3 2006-09-09 04:34
An interesting series Citrix Math 0 2005-11-02 05:33
Another Series Gary Edstrom Puzzles 7 2003-07-03 08:32
Series Rosenfeld Puzzles 2 2003-07-01 17:41

All times are UTC. The time now is 15:09.


Fri Jul 7 15:09:07 UTC 2023 up 323 days, 12:37, 0 users, load averages: 1.18, 1.16, 1.15

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.

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