mersenneforum.org  

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

Reply
 
Thread Tools
Old 2013-09-30, 19:08   #210
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
Jun 2011
Thailand

226658 Posts
Default

Quote:
Originally Posted by kracker View Post
So, simplified you just want clLucas to dump checkpoint residues to file, is that it?
That would cover it too... My first thought was to have the checkpoint files (in case we use -s switch) "properly named", as cudaLucas is doing. But having a separate file with iteration number and 16 hex chars residues will do it too (I will need to change my batch, which was simply comparing the names of the files in the two folders, hehe, see the former post, but I can live with it...)

(edit: P.S. without -t and with -aggressive, the exponent I mentioned before takes only 31 hours. I have the feeling that using -t cancels -aggressive, and I think this is normal. However, I will keep using -t, in spite of the additional hours, better safe then sorry. I am going to bed, 2:20 AM here...)

Last fiddled with by LaurV on 2013-09-30 at 19:19
LaurV is offline   Reply With Quote
Old 2013-09-30, 19:59   #211
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

2·47·101 Posts
Default

So, let me try to understand, - you have never heard of redirecting the output _and_ tail -f 'ing it?
Or about the tee command?
Batalov is offline   Reply With Quote
Old 2013-09-30, 21:25   #212
Mark Rose
 
Mark Rose's Avatar
 
"/X\(‘-‘)/X\"
Jan 2013

2×5×293 Posts
Default

Quote:
Originally Posted by Batalov View Post
So, let me try to understand, - you have never heard of redirecting the output _and_ tail -f 'ing it?
Or about the tee command?
I run things in a screen command through crontab at reboot:

Code:
@reboot screen -S mprime -d -m -L /home/me/sb/mprime -d
@reboot screen -S mfaktc -d -m -L /home/me/mfaktc/mfaktc.exe
Then to watch, it's as simple as `screen -r mprime` or `screen -r mfaktc` (and ctrl-a, crtl-d to detach and leave running). Or I can look at the logs that the -L switch creates, e.g. `less /home/me/sb/screenlog.0`.

The -d -m switches to screen tell it to detach from cron.
Mark Rose is offline   Reply With Quote
Old 2013-09-30, 22:33   #213
kracker
 
kracker's Avatar
 
"Mr. Meeseeks"
Jan 2012
California, USA

41708 Posts
Default

For Windows, I could use something like
cllucas_x64 > blahblah.txt

then
Code:
@echo off
:main
cls
type blahblah.txt
timeout /T 120 > NUL #Note: Pressing key will automatically stop timeout
goto main
EDIT: @LaurV: I have cranked my memory clock on my 7770 all the way up and it seems fine, 3 DC's matched.

Last fiddled with by kracker on 2013-09-30 at 22:38
kracker is offline   Reply With Quote
Old 2013-10-01, 04:42   #214
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
Jun 2011
Thailand

72·197 Posts
Default

@Batalov: You *nix guys are sooooo geniuses...
blearh!

(Why do I give a damn, in fact, about what this program does? I won't be going to use it in the future, anyhow...)
LaurV is offline   Reply With Quote
Old 2013-10-01, 14:27   #215
kracker
 
kracker's Avatar
 
"Mr. Meeseeks"
Jan 2012
California, USA

23×271 Posts
Default

Quote:
Originally Posted by LaurV View Post
(Why do I give a damn, in fact, about what this program does? I won't be going to use it in the future, anyhow...)
Ohh, too bad. I guess bitmining has higher excitement for you, good luck! -s
kracker is offline   Reply With Quote
Old 2013-10-01, 15:37   #216
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

2·47·101 Posts
Default

Quote:
Originally Posted by LaurV View Post
@Batalov: You *nix guys are sooooo geniuses...
blearh!

(Why do I give a damn, in fact, about what this program does? I won't be going to use it in the future, anyhow...)
If you insist, LaurV, I will help you scroll down the link that I provided, too:
http://en.wikipedia.org/wiki/Tee_%28...4DOS_and_4NT_2
Batalov is offline   Reply With Quote
Old 2013-10-02, 05:59   #217
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
Jun 2011
Thailand

72×197 Posts
Default

[thinking]
grrrr... now he wants me to install slow, ugly, antediluvian tools in my new, beautiful, fast, Win7/64 laptop...
[/thinking]
LaurV is offline   Reply With Quote
Old 2013-10-02, 06:02   #218
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
Jun 2011
Thailand

226658 Posts
Default

Quote:
Originally Posted by kracker View Post
Ohh, too bad. I guess bitmining has higher excitement for you, good luck! -s
At least it pays the bills...

(and poor me... I thought you want to improve that program... This is another reason I am terrible missing Dubslow, with its youth and enthusiasm...)
LaurV is offline   Reply With Quote
Old 2013-10-02, 06:22   #219
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

2×47×101 Posts
Default

What gave you an idea that I want you to do anything?
You asked (or rather you blamed *nix), I answered.
There is a tail for windows. There's tee for windows. There's more than one way to do it. And above all there are plenty ways to find answers other than ask a small group of at most 50 people (effectively, much less).

But because you are taking any help as "picking on you", I won't anymore. Suit yourself. Keep asking, listen to silence or to helpful answers from e.g. sm88.
Batalov is offline   Reply With Quote
Old 2013-10-02, 07:53   #220
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
Jun 2011
Thailand

72×197 Posts
Default

Would you believe me if I tell you that I had learned things from ALL people who posted here, including SM88?

Now, about tailing and teeing, thank you very much, but tell that to my grandma...

Look, I am sorry that I offended you in any way. You are one guy on this forum which I was sure I can't offend, no matter what I do. That is why I was using you as example when I talked about "supermods" doing things, here or there. This is a sign of respect, and you are one of the guys I respect most on this forum. I don't like guys who are easy to offend, and jump immediately and run to their mother for everything you tell them. People who are well educated, well prepared, and well suited for their social/politic/scientific/etc/position, are not easy to offend. Only impostors and people who are incapable are worried and easy to offend. I really believe that you are *not* in any of the categories mentioned in the previous sentence.

Coming back to my grandma, she likes to press the red big button on which is written "grandma" and see the residues running on the screen.

[this is not a joke: we produced here shower heaters for Stiebel Eltron in the past, you may know them, as they are one of the biggest in the world in this market, we did some electronics for those heaters, they had color LCD and touch screen where you can adjust the temperature, flow, bubbles for water massage, etc, to make sure you feel good during shower, and you don't come out half burned... you could see graphics and history of the temperature (in case someone died inside days ago and you want to know why) or water pressure (in case you are arguing with your water provider that the pressure was not enough, or they delivered vodka through the pipes instead of water, which started boiling at 80C, instead of 100...), well, beside of the LCD, they had a big red button, called "grandma button"; I did not invent the name, is the customer who invented it; the button was red, odd shaped, and called like this, written on it: grandma button; which totally made sense, otherwise my grandma (think to any unadvised person, old or not) will never go in the shower, as she will always be scared by the multitude of the settings you can make there, and she will never be able to have a proper shower; therefore I can "preset" the conditions for what my grandma considers that is a good shower (water pressure, temperature, time), and config the "grandma button" to run that type of shower; now everything my grandma has to do, is to go in the shower room, strip down (or not, this depends on her) and press the red button, no need someone to help her every time... because you know, I like very hot water, and my son likes very cold water... before the grandma button was invented, it was impossible for my grandma to take a good shower, one day she frozen in the shower and we need to use the hairdrier to heat her to be able to take her out of there, and the next day she was half burned, her heart almost stopped and we had to use a defibrillator to take her out of the room;... since we have the "grandma button", everybody is happy...]

I just wanted a "grandma button" for clLucas, in the form of the "the name of the checkpoint files should contain the residue", same way as cudaLucas is doing. (I underlined it to show that I was not requesting something new or fancy, the code is already written and the source is on the cudalucas project already). People are already used with this kind of approach, and it is not such bad approach to justify a change. I don't give a damn on the fact that you (or me) can go in the shower and have a proper shower without pressing the red button...

Last fiddled with by LaurV on 2013-10-02 at 08:12
LaurV is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
mfakto: an OpenCL program for Mersenne prefactoring Bdot GPU Computing 1676 2021-06-30 21:23
Can't get OpenCL to work on HD7950 Ubuntu 14.04.5 LTS VictordeHolland Linux 4 2018-04-11 13:44
OpenCL accellerated lattice siever pstach Factoring 1 2014-05-23 01:03
OpenCL for FPGAs TObject GPU Computing 2 2013-10-12 21:09
AMD's Graphics Core Next- a reason to accelerate towards OpenCL? Belteshazzar GPU Computing 19 2012-03-07 18:58

All times are UTC. The time now is 07:10.


Mon Aug 2 07:10:09 UTC 2021 up 10 days, 1:39, 0 users, load averages: 2.13, 2.03, 1.69

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