Projektnews Poem@Home: Bug fixed, new POEM++ incoming.

P3D-Bot

Bot von P3D
Mitglied seit
09.04.2006
Beiträge
47.982
Renomée
181
Standort
Das Boot 3.0
English: There's a new POEM++ version incoming, as we got the bug. Although it was only a minimal bug (the program ran fine all the time until the end), it was not that easy to spot. Due to a cosmetical change in the code, the program returned 0 after a successful run in the main function. BOINC jobs however have to call boinc_finish(0); at the end. BOINC interprets a successful returncode as a checkpoint it seems and (as we didn't generate a checkpoint at the end) started from 0 again. We are sorry that this happened and changed our testing strategy for it to not happen again. The reason why this didn't occur on the testserver was simple: We have an additional -debug flag there, when we start the job. This starts BOINC in diagnostic mode. In this case the code branched and exited correctly. Now we have completely replicated the POEM@HOME production setup so that there are no differences anymore. Deutsch: Eine neue POEM++ version wird spaeter released. Obwohl es sich nur um einen minimalen Bug handelte (das Program lief die ganze Zeit bis zum Ende normal durch), war er relativ schwer zu finden. Aufgrund einer rein kosmetischen Aenderung im Code lieferte die main Funktion am Ende 0 zurueck anstatt boinc_finish aufzurufen. Die BOINC libraries interpretierten das als Checkpoint und starteten den Run wieder. Das jedoch wird als Checkpoint interpretiert und er startete wieder von 0. Es tut uns Leid, dass das passiert ist und wir haben daher auch unsere Teststrategie geaendert, damit es nicht wieder passiert. Der Grund warum das auf dem Testserver nicht passiert, ist, dass wir im Testserver noch eine zusaetzliche Debugflag setzen, welche BOINC im diagnostic mode startet - hier branchen wir anders, so dass boinc_finish noch gecalled wird. Wir haben nun das POEM@HOME setup 1:1 repliziert, so dass die Testruns hoffentlich von nun an haargenau das gleiche zurueckgeben, wie auf euren Rechnern.

Weiterlesen auf der Projekthomepage
 
Zurück
Oben Unten