climateprediction.net (CPDN) home page
Thread 'Software downloaded a new model before finishing the previous one'

Thread 'Software downloaded a new model before finishing the previous one'

Questions and Answers : Unix/Linux : Software downloaded a new model before finishing the previous one
Message board moderation

To post messages, you must log in.

AuthorMessage
old_user2927

Send message
Joined: 29 Aug 04
Posts: 3
Credit: 122,508
RAC: 0
Message 4647 - Posted: 25 Sep 2004, 18:37:15 UTC

Yesterday I had to reboot my Linux computer, and when I restarted Boinc, the software downloaded a new model and started working on it, even though the previous one (with more than 85000 TS calculated) was not finished.

Is this normal? Will the software alternate between both models (not until now)?

Pablo
ID: 4647 · Report as offensive     Reply Quote
Profilegeophi
Volunteer moderator

Send message
Joined: 7 Aug 04
Posts: 2187
Credit: 64,822,615
RAC: 5,275
Message 4651 - Posted: 25 Sep 2004, 18:51:47 UTC

I'm not sure why you had to reboot your Linux PC (hung? or other reason), but if CPDN/BOINC was not cleanly shut down, it can corrupt files and cause it to download a new model.

Are you running two CPUs or just one?
ID: 4651 · Report as offensive     Reply Quote
ProfileThyme Lawn
Volunteer moderator

Send message
Joined: 5 Aug 04
Posts: 1283
Credit: 15,824,334
RAC: 0
Message 4652 - Posted: 25 Sep 2004, 18:55:12 UTC

Hi Pablo,

It's a problem with the way BOINC handles empty or corrupt client_state.xml files when it starts up. BOINC 4.10 will include a fix I submitted to the development team :)

In the meantime it's best to close BOINC before doing a reboot.

Unfortunately your previous model is now history (but will get reallocated when the server spots it hasn't trickled for a few days). Best thing you can do with it is recover some disk space by deleting its directory, xml file and zip file from the climateprediction.net directory.

Ian

<a href="http://www.teampicard.net"><img src="http://www.teampicard.net/templates/fisubice/images/phpbb2_logo.jpg"></a><a href="http://climateapps2.oucs.ox.ac.uk/cpdnboinc/team_display.php?teamid=3">Join us here</a>
ID: 4652 · Report as offensive     Reply Quote
old_user2927

Send message
Joined: 29 Aug 04
Posts: 3
Credit: 122,508
RAC: 0
Message 4658 - Posted: 25 Sep 2004, 23:10:52 UTC - in response to Message 4652.  

Thanks Ian,

In fact, I closed BOINC before doing the reboot by killing the boinc_4.09_i686 process. Is that the reason of the files getting corrupted? Is there any "cleaner" way to close the program?

Pablo
ID: 4658 · Report as offensive     Reply Quote
old_user2927

Send message
Joined: 29 Aug 04
Posts: 3
Credit: 122,508
RAC: 0
Message 4659 - Posted: 25 Sep 2004, 23:14:09 UTC - in response to Message 4651.  

Hi, What is the correct way to close BOINC?

And yes, I am running boinc in a 2 CPU box, but CPDN seems to use only one (Seti@Home used both when it was the only project running).
ID: 4659 · Report as offensive     Reply Quote
Profilegeophi
Volunteer moderator

Send message
Joined: 7 Aug 04
Posts: 2187
Credit: 64,822,615
RAC: 5,275
Message 4663 - Posted: 26 Sep 2004, 1:24:58 UTC - in response to Message 4659.  
Last modified: 26 Sep 2004, 1:29:18 UTC

&gt; Hi, What is the correct way to close BOINC?
&gt;
&gt; And yes, I am running boinc in a 2 CPU box, but CPDN seems to use only one
&gt; (Seti@Home used both when it was the only project running).
&gt;
If you are running it from a terminal window, doing a Ctrl-C in that window will kill it cleanly. This is what I do.

If you are not running it that way, killing the process is about the only way to do it. That shouldn't result in file corruption. You can do a search for "klll" plus "linux" on these boards and see what others are doing in this regard.

As for the 2 processor thing, if your General Preferences are set to "use at most" 2 processors, then perhaps your settings for disk space aren't allow enough storage for 2 models?
ID: 4663 · Report as offensive     Reply Quote

Questions and Answers : Unix/Linux : Software downloaded a new model before finishing the previous one

©2024 cpdn.org