mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   GPU Computing (https://www.mersenneforum.org/forumdisplay.php?f=92)
-   -   LL with OpenCL (https://www.mersenneforum.org/showthread.php?t=18297)

LaurV 2013-09-30 19:08

[QUOTE=kracker;354646]So, simplified you just want clLucas to dump checkpoint residues to file, is that it?[/QUOTE]
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...)

Batalov 2013-09-30 19:59

So, let me try to understand, - you have never heard of redirecting the output _and_ tail -f 'ing it?
Or about the [URL="http://en.wikipedia.org/wiki/Tee_(command)"]tee[/URL] command?

Mark Rose 2013-09-30 21:25

[QUOTE=Batalov;354652]So, let me try to understand, - you have never heard of redirecting the output _and_ tail -f 'ing it?
Or about the [URL="http://en.wikipedia.org/wiki/Tee_(command)"]tee[/URL] command?[/QUOTE]

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[/CODE]

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.

kracker 2013-09-30 22:33

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
[/code]

EDIT: @LaurV: I have cranked my memory clock on my 7770 all the way up and it seems fine, 3 DC's matched.

LaurV 2013-10-01 04:42

@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...)

kracker 2013-10-01 14:27

[QUOTE=LaurV;354726]
(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...)[/QUOTE]

Ohh, too bad. I guess bitmining has higher excitement for you, good luck! :grenade: [SIZE="1"]-s[/SIZE]

Batalov 2013-10-01 15:37

[QUOTE=LaurV;354726]@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...)[/QUOTE]
If you insist, LaurV, I will help you scroll down the link that I provided, too:
[url]http://en.wikipedia.org/wiki/Tee_%28command%29#4DOS_and_4NT_2[/url]

LaurV 2013-10-02 05:59

[thinking]
grrrr... now he wants me to install [URL="http://en.wikipedia.org/wiki/4DOS"]slow, ugly, antediluvian tools[/URL] in my new, beautiful, fast, Win7/64 laptop... :rant:
[/thinking]

LaurV 2013-10-02 06:02

[QUOTE=kracker;354772]Ohh, too bad. I guess bitmining has higher excitement for you, good luck! :grenade: [SIZE=1]-s[/SIZE][/QUOTE]
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...)

Batalov 2013-10-02 06:22

What gave you an idea that I want you to do anything?
You asked (or rather you blamed *nix), I answered.
There is a [URL="http://tailforwin32.sourceforge.net/"]tail for windows[/URL]. There's [URL="http://code.google.com/p/wintee/"]tee for windows[/URL]. [URL="http://en.wikipedia.org/wiki/There%27s_more_than_one_way_to_do_it"]There's more than one way to do it[/URL]. 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.

LaurV 2013-10-02 07:53

Would you believe me if I tell you that I had learned things from ALL people who posted here, [U]including[/U] 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 [U]had a big red button[/U], 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", [B][U]same way as cudaLucas is doing[/U][/B]. (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...


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

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.