Genwrapper and suspended in Windows

Message boards : API : Genwrapper and suspended in Windows
Message board moderation

To post messages, you must log in.

AuthorMessage
Flytronik

Send message
Joined: 21 Sep 10
Posts: 4
Germany
Message 34806 - Posted: 21 Sep 2010, 14:10:18 UTC

Hello, i develop a client and i have a problem with windows all. With the genwrapper i start a script and my client work fine. But i start it on windows my client don't stop and suspended. On Linux it works fine. Can i say the Boinc client don't suspended make kill?

Flytronik
Germany
ID: 34806 · Report as offensive
Profile Gundolf Jahn

Send message
Joined: 20 Dec 07
Posts: 1069
Germany
Message 34819 - Posted: 21 Sep 2010, 18:33:00 UTC - in response to Message 34806.  

Hast Du das durch ein Übersetzerprogramm gejagt? Normalerweise verstehe ich was gemeint ist wenn ein Deutscher was auf Englisch schreibt, aber diesmal nicht. ;-)

Versuch's besser noch mal mit dem deutschen Original hier.

Gruß,
Gundolf
Computer sind nicht alles im Leben. (Kleiner Scherz)
ID: 34819 · Report as offensive
Flytronik

Send message
Joined: 21 Sep 10
Posts: 4
Germany
Message 34824 - Posted: 21 Sep 2010, 19:20:09 UTC - in response to Message 34819.  

Habe nicht damit gerechnet. Ich habe einen Client den Genwrapper der ein Script ausführt dabei wird ein externes Programm gestartet. Und zwar so.

IN='boinc resolve_filename in'
OUT='boinc resolve_filename out'
if [ ! -d "K*" ]; then
./7z x -y 'in'
fi
./luxconsole -t 1 K*/*.lxs
./7z a 'out.7z' K*/*.png


Es soll wie bei renderfarm.fi mit dem luxrender.net Bilder in 3D berechnet werden.
Kommt der Benutzer zurück so bekommt der Prozess ein warten Signal (Angehalten) und die Prozesse stehen still. Unter Linux ist das kein Problem nur Windows macht munter mit der Berechnung weiter und Boinc braucht 100% CPU Zeit. Um das Problem zu lösen muss ich den Prozess killen und nicht auf warten setzen. Wie kann ich das machen? Oder eine Schleife einbauen die den Prozess überwacht. Der Genwrapper liefert leider kein "Boinc get_status" so das ich eine for Schleife benutzen könnte.
ID: 34824 · Report as offensive
Profile Gundolf Jahn

Send message
Joined: 20 Dec 07
Posts: 1069
Germany
Message 34825 - Posted: 21 Sep 2010, 20:23:28 UTC - in response to Message 34824.  

English translation follows ;-)

Das hört sich für mich nach einem Problem für das API Subforum an, aber ich kann damit eh nicht weiterhelfen. Ich versuch's mal zu übersetzen, wobei mir nicht ganz klar ist was Du mit "kommt der Benutzer zurück" meinst. Tastatur- oder Mauseingabe, so dass der Rechner nicht mehr "idle" ist?

Okay, here goes:
Flytronik has written a client that does computations via genwrapper that in linux are interrupted when the user "comes back" (suspend signal?). But in windows that doesn't work. Is there a trick for that feature in windows? Or else how can the genwrapper kill the user process?

Are there any means that could be used in a "for" loop as an alternative?

(I hope I got it right; it's not quite my area of expertise.:-)

Gruß,
Gundolf
ID: 34825 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15480
Netherlands
Message 34828 - Posted: 21 Sep 2010, 22:01:38 UTC

Whereas the BOINC wrapper app code is updated by BOINC, the genwrapper is a 3rd party programming option. Neither its code nor any of its documentation is updated by BOINC developers.

I think you best ask at the email address given in the manual: desktopgrid at scourceforge dot net.
ID: 34828 · Report as offensive

Message boards : API : Genwrapper and suspended in Windows

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.