climateprediction.net home page
How to complete \"lost\" units

How to complete \"lost\" units

Questions and Answers : Windows : How to complete \"lost\" units
Message board moderation

To post messages, you must log in.

AuthorMessage
old_user147193

Send message
Joined: 5 Jan 06
Posts: 4
Credit: 2,014
RAC: 0
Message 21175 - Posted: 9 Mar 2006, 20:17:02 UTC

I\'ve now discovered why I have had resets - switching off PC rather than closing gracefully. This has left units that were running. Is there any way of completing them (or at least the one that was doing best). I have the folder with the restart.day.gz, yabsd.out.gz and sulphur*.xml files.

Sorry if this has been asked before but couldn\'t find it.
ID: 21175 · Report as offensive     Reply Quote
Profile Andrew Hingston
Volunteer moderator

Send message
Joined: 17 Aug 04
Posts: 753
Credit: 9,804,700
RAC: 0
Message 21177 - Posted: 9 Mar 2006, 20:42:15 UTC

Sadly, there is no way of completing a failed workunit without a backup. It is a good point about closing down gracefully - it might account for some of the problems that newcomers to the BBC experiment have been experiencing.
ID: 21177 · Report as offensive     Reply Quote
old_user172606

Send message
Joined: 9 Mar 06
Posts: 1
Credit: 337
RAC: 0
Message 21183 - Posted: 10 Mar 2006, 7:54:55 UTC - in response to Message 21177.  

Sadly this happened tome whilst 9% into a work unit doing the BBC project... and i atually request it to shutdown gracefully.... I\'m now running the climatepredection.net project, and as a service... so lets hope that shuts down gracefully when i shutdown the computer..
ID: 21183 · Report as offensive     Reply Quote
ds50

Send message
Joined: 24 Nov 05
Posts: 30
Credit: 893,671
RAC: 0
Message 21235 - Posted: 13 Mar 2006, 17:05:15 UTC

If you are concerned about shutdown the BOINC-service safely when shutting down Windows, then you could force Windows to close this service explicitly when shutting down Windows via a script.

The following instruction how to do this was found here.


    *open up notepad and enter the following

    net stop boinc


  • then save it to your desktop with the file name \"Stop BOINC.bat\" (the bat extension is essential)

  • close notepad

  • run

    gpedit.msc


    (from a command prompt, or by clicking start, run, entering it, then clicking ok)

  • navigate to \"Local Computer Policy\\Computer Configuration\\Windows Settings\\Scripts (Startup/Shutdown)\"

  • open up the \"shutdown\" one (in the panel on the right)

  • click \"show files\"

  • move the \"stop boinc.bat\" file from you desktop (the one you made earlier) to this folder (you may need to minimise the \"group policy\" window

  • close the window (that opened from clicking \"show files\") showing the folder where you\'ve just moved \"stop boinc.bat\" to (the window title should be \"shutdown\")

  • back in the \"shutdown properties\" box (opened from group policy) click \"add\"

  • click browse

  • the contents of the \"shutdown\" folder should be displayed, add the \"stop boinc.bat\" file that you moved into that folder by clicking the file, then clicking \"open\"

  • in the \"Add a script\" box click \"ok\"

  • in the \"Shutdown properties\" box click \"ok\"

  • exit \"group policy\"




now windows will stop boinc automatically everytime you shutdown/restart your computer, no need to worry about loosing anything now

NOTE: this only applies if you have BOINC installed as a service, if you have a single user or shared install then you\'ll have to come up with your own way of stopping boinc, although i *think* windows handles things if BOINC isn\'t running as a service (should exit when you log off)



I did this and it works really fine for me.

P.S.: This message board should have a preview function (for the BBCode tags)... :-/
ID: 21235 · Report as offensive     Reply Quote

Questions and Answers : Windows : How to complete \"lost\" units

©2024 climateprediction.net