climateprediction.net home page
Shutting down Vista and BOINC with CPDN running.

Shutting down Vista and BOINC with CPDN running.

Message boards : Number crunching : Shutting down Vista and BOINC with CPDN running.
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile [B@H] Ray
Avatar

Send message
Joined: 19 Aug 05
Posts: 104
Credit: 1,866,495
RAC: 0
Message 31608 - Posted: 5 Dec 2007, 18:00:28 UTC
Last modified: 5 Dec 2007, 18:07:27 UTC

My wife has a new laptop with Windows Vista that I have BOINC running on.

This computer has lost 2 CPDN models when she shut down the computer. Because this is her computer she dues not shut down any thing that I have running in the background first. The oldest model was only run for 4 days so I did not have a weekley back up yet. The account for that computer looks bad as there are 4 phantom models (never sent) listed.

Are there and settings that I can change to stop it from lousing models when she shuts it down? I have never seen any. Due to this not being my computer (have permission to run BOINC) I an not always there to do things correct. Not her project so no taking care of it by her.

One good thing with that system is that Vista requires you to give BOINC permission to start when the computer is restarted. I did not like that at first, but it is good as when she takes the computer out someplace BOINC dues not run and/or ruin models. Than it can be started at home again for a few days. It is also set not to run when on battery power. When she gets it home and plugged in I restart BOINC.

I never had a problem with BOINC and CPDN when shutting down an XP system.
Here is a link to one of the crashed models. LINK

Wish that SAP still had work, completed 19 models there, they took being shut down good.

Ray


Keep on crunching Pizza@Home
ID: 31608 · Report as offensive     Reply Quote
Profile MikeMarsUK
Volunteer moderator
Avatar

Send message
Joined: 13 Jan 06
Posts: 1498
Credit: 15,613,038
RAC: 0
Message 31609 - Posted: 5 Dec 2007, 18:13:35 UTC



There is indeed a registry setting to make Vista slow down it\'s shutdown, I don\'t recall the details though. I\'m sure someone will provide a link shortly :-)


I'm a volunteer and my views are my own.
News and Announcements and FAQ
ID: 31609 · Report as offensive     Reply Quote
Profile [B@H] Ray
Avatar

Send message
Joined: 19 Aug 05
Posts: 104
Credit: 1,866,495
RAC: 0
Message 31611 - Posted: 5 Dec 2007, 18:36:09 UTC

Thank you Mike, I will watch.

So far I don\'t like Vista, but have not had to much time to learn the differances to tell the truth. That is only due to all of my systems haveing XP on them. I like the idea that many security problems have been fixed on it. I may put XP on her notebook as no personal data will be keep there.
Keep on crunching Pizza@Home
ID: 31611 · Report as offensive     Reply Quote
Profile MikeMarsUK
Volunteer moderator
Avatar

Send message
Joined: 13 Jan 06
Posts: 1498
Credit: 15,613,038
RAC: 0
Message 31614 - Posted: 5 Dec 2007, 21:00:05 UTC


Hi,

I found a relevant entry on the Boinc FAQ (it\'s a useful resource, worthwhile browsing).

http://boincfaq.mundayweb.com/index.php?view=175
I'm a volunteer and my views are my own.
News and Announcements and FAQ
ID: 31614 · Report as offensive     Reply Quote
Profile mo.v
Volunteer moderator
Avatar

Send message
Joined: 29 Sep 04
Posts: 2363
Credit: 14,611,758
RAC: 0
Message 31619 - Posted: 5 Dec 2007, 22:26:01 UTC
Last modified: 5 Dec 2007, 22:27:27 UTC

Mike, even if Vista is instructed to shut down more slowly, is it guaranteed that the model will always survive the computer being shut down while boinc and the model are still running? I would have thought not and that sooner or later even a slower shutdown will catch the model at bad moment in its processing. (Would lead to an error code 1 crash rather than Ray\'s -107.)

Ray, slowing the Vista shutdown is a very good idea, but can\'t you also teach your wife to right-click on the boinc icon and select Exit before she shuts the laptop down?
Cpdn news
ID: 31619 · Report as offensive     Reply Quote
Profile MikeMarsUK
Volunteer moderator
Avatar

Send message
Joined: 13 Jan 06
Posts: 1498
Credit: 15,613,038
RAC: 0
Message 31621 - Posted: 5 Dec 2007, 23:02:11 UTC


It\'ll solve many (not necessarily all). The Vista shutdown is far more aggressive than the XP shutdown.
I'm a volunteer and my views are my own.
News and Announcements and FAQ
ID: 31621 · Report as offensive     Reply Quote
Profile old_user197041
Avatar

Send message
Joined: 27 Aug 06
Posts: 26
Credit: 162,685
RAC: 0
Message 31627 - Posted: 6 Dec 2007, 9:24:15 UTC
Last modified: 6 Dec 2007, 9:25:21 UTC

Ray. Make sure you\'ve got BOINC somewhere besides the default c:\\program files directory. I use c:\\boinc.

The shutdown thing is hit and miss. I just brought a new computer online running Vista (don\'t ask me how badly I want to put something else on there) and in my blind clicking (whole interface is in Korean and no way to change it) after running the updates the computer rebooted. I didn\'t lose any work. Now I\'ve had the same thing happen in the past (dumb dialog box stole focus as I was typing) and the computer rebooted. I lost nearly 80 hours of work in that reboot.

Hmmmmmmmmm... maybe it has something to do with the amount of work put in. LOL. The more work you\'ve put in, the more likely the result is to get trashed.


[edit]Gah... edited to make the slashes go the correct way. My muscles are now trained to put the other ones like I use in the Linux shell.[/edit]
Kathryn :o)
The BOINC FAQ Service
The Unofficial BOINC Wiki
The Trac System
More BOINC information than you can shake a stick of RAM at.
ID: 31627 · Report as offensive     Reply Quote
Profile [B@H] Ray
Avatar

Send message
Joined: 19 Aug 05
Posts: 104
Credit: 1,866,495
RAC: 0
Message 31630 - Posted: 6 Dec 2007, 20:21:41 UTC
Last modified: 6 Dec 2007, 20:25:27 UTC

I made the changes to delay the shutdown of Vista, think it will stop some and cause others. Seems as if it depends on whare CPDN is when the shutdown occurs. To bad that CPDN will not just shut down and later restart from the last checkpoint all the time.

Another thing that I hate is having to give Vista permission to start BOINC each time. Found a cure for that but no access to the computer for now (in use by another person), will try that later.

If there is no important personal data on a system I think that going back to XP may be easier.

Found that networking it to computers running XP can be a pain but can be done even though it dues not like it. Now to get it to use a network printer on an XP network server.

Kath
Having that in Korean would be a nightmair for most of us, at least you know some of the language.

I hope that those 80 hours were on CPDN whare you at least get credit for the trickles turned in.

mo.v

I shut it down on my systems before a system shutdown, but she is still learning the few programs that she uses. I always get asked how do I do this and that, adding another thing in will just get her lost.
Keep on crunching Pizza@Home
ID: 31630 · Report as offensive     Reply Quote
Les Bayliss
Volunteer moderator

Send message
Joined: 5 Sep 04
Posts: 7629
Credit: 24,240,330
RAC: 0
Message 31631 - Posted: 6 Dec 2007, 21:32:59 UTC


To bad that CPDN will not just shut down and later restart from the last checkpoint all the time.


The climate program WILL do that.
It\'s when BOINC gets confused about what has happened, thinks the model has crashed, and removes it from it\'s \"To Do\" list.
Then it has no knowledge that the model ever existed, so it CAN\'T start it again.


Backups: Here
ID: 31631 · Report as offensive     Reply Quote
old_user81336

Send message
Joined: 10 Jun 05
Posts: 10
Credit: 4,863
RAC: 0
Message 31632 - Posted: 7 Dec 2007, 5:26:10 UTC - in response to Message 31630.  

I made the changes to delay the shutdown of Vista, think it will stop some and cause others. Seems as if it depends on whare CPDN is when the shutdown occurs. To bad that CPDN will not just shut down and later restart from the last checkpoint all the time.


You could make a batch file to shutdown BOINC first and initiate Vista shutdown after that.

Why re-invent the wheel, here\'s a link to a message describing the process.

http://einstein.phys.uwm.edu/forum_thread.php?id=6114&nowrap=true#76797

Add a bit of class to the shortcut by assigning it a custom icon. Right click the shortcut, click [Properties] and select the [Shortcut] tab. Click [Change Icon] and select from the icons that are displayed.

Tell her to use the shortcut to shutdown the computer
ID: 31632 · Report as offensive     Reply Quote
KAMasud

Send message
Joined: 6 Oct 06
Posts: 204
Credit: 7,608,986
RAC: 0
Message 31637 - Posted: 8 Dec 2007, 8:43:57 UTC - in response to Message 31632.  


:) LoL\'z Mike you were correct the link has appeared with a better solution ;)
Regards
Masud.

I made the changes to delay the shutdown of Vista, think it will stop some and cause others. Seems as if it depends on whare CPDN is when the shutdown occurs. To bad that CPDN will not just shut down and later restart from the last checkpoint all the time.


You could make a batch file to shutdown BOINC first and initiate Vista shutdown after that.

Why re-invent the wheel, here\'s a link to a message describing the process.

http://einstein.phys.uwm.edu/forum_thread.php?id=6114&nowrap=true#76797

Add a bit of class to the shortcut by assigning it a custom icon. Right click the shortcut, click [Properties] and select the [Shortcut] tab. Click [Change Icon] and select from the icons that are displayed.

Tell her to use the shortcut to shutdown the computer


ID: 31637 · Report as offensive     Reply Quote
Profile MikeMarsUK
Volunteer moderator
Avatar

Send message
Joined: 13 Jan 06
Posts: 1498
Credit: 15,613,038
RAC: 0
Message 31639 - Posted: 8 Dec 2007, 10:51:34 UTC - in response to Message 31637.  


:) LoL\'z Mike you were correct the link has appeared with a better solution ;)
Regards
Masud.
...


The advantage of a public forum - be patient and someone will always provide a good idea :-)

Thanks Transient.

I'm a volunteer and my views are my own.
News and Announcements and FAQ
ID: 31639 · Report as offensive     Reply Quote
old_user81336

Send message
Joined: 10 Jun 05
Posts: 10
Credit: 4,863
RAC: 0
Message 31640 - Posted: 8 Dec 2007, 13:52:48 UTC
Last modified: 8 Dec 2007, 13:54:06 UTC

Hmmm, used an no longer used userid to post in here I see. Pity, I can\'t merge it with the one I\'m crunching with now.

Which is this one:

http://climateapps2.oucs.ox.ac.uk/cpdnboinc/show_user.php?userid=201579
ID: 31640 · Report as offensive     Reply Quote
Profile MikeMarsUK
Volunteer moderator
Avatar

Send message
Joined: 13 Jan 06
Posts: 1498
Credit: 15,613,038
RAC: 0
Message 31643 - Posted: 8 Dec 2007, 20:19:17 UTC


Usernames aren\'t unique sadly, so you\'ll see loads of people with the same username crop up. \'Administrator\' is one of the most common. It\'s also quite easy to create a second account by mistake, if you use multiple email addresses, which is what I\'d guess happened to you.

There\'s no way to merge accounts together. What I\'d suggest is randomising the username, email address, and then logging out and log in with your current user instead.



I'm a volunteer and my views are my own.
News and Announcements and FAQ
ID: 31643 · Report as offensive     Reply Quote
Mike.Gibson

Send message
Joined: 2 May 07
Posts: 20
Credit: 657,542
RAC: 0
Message 31654 - Posted: 11 Dec 2007, 0:19:48 UTC

Ray

The simplest solution is for your wife not to run CPDN because it only happens to CPDN. I found that SETI, Rosetta & WCG all close down in time, for example.

Get one, or more, of your other projects running on her machine and increase the priority of CPDN on your machine(s) to compensate.

I also found that User Account Control was a pain, but I have now disabled it. With other projects, there shouldn\'t be any need for BOINC not to run when she uses it away from home

Cheers

Mike
ID: 31654 · Report as offensive     Reply Quote
Profile MikeMarsUK
Volunteer moderator
Avatar

Send message
Joined: 13 Jan 06
Posts: 1498
Credit: 15,613,038
RAC: 0
Message 31655 - Posted: 11 Dec 2007, 0:25:56 UTC


Transient\'s idea is fairly simple to set up and also easy to do at shutdown. The shutdown delay is also quite effective.


I'm a volunteer and my views are my own.
News and Announcements and FAQ
ID: 31655 · Report as offensive     Reply Quote
Profile old_user197041
Avatar

Send message
Joined: 27 Aug 06
Posts: 26
Credit: 162,685
RAC: 0
Message 31662 - Posted: 11 Dec 2007, 9:35:25 UTC - in response to Message 31654.  

Ray

The simplest solution is for your wife not to run CPDN because it only happens to CPDN. I found that SETI, Rosetta & WCG all close down in time, for example



It doesn\'t ONLY happen to CPDN. I lost a QMC and a Predictor work unit in the Vista shutdown. I believe I\'ve also lost a Cosmology work unit at some point in time due to the Vista shut down.

It just hurts a lot more to lose thousands of hours of work, which is why good backups help. Heck, it hurt to lose those 80 combined hours from QMC and Predictor.
Kathryn :o)
The BOINC FAQ Service
The Unofficial BOINC Wiki
The Trac System
More BOINC information than you can shake a stick of RAM at.
ID: 31662 · Report as offensive     Reply Quote

Message boards : Number crunching : Shutting down Vista and BOINC with CPDN running.

©2024 cpdn.org