Force report?
log in |
Message boards : Number crunching : Force report?
Author | Message |
---|---|
Is it possible to get the running WUProp task to report what it has recorded before the 6 hour run time is completed? Will an abort cause it report? | |
ID: 8563 · Rating: 0 · rate: / Reply Quote | |
Would be a nice feature. | |
ID: 8564 · Rating: 0 · rate: / Reply Quote | |
Tasks have a week deadline and they don't cancel. | |
ID: 8565 · Rating: 0 · rate: / Reply Quote | |
Is it possible to get the running WUProp task to report what it has recorded before the 6 hour run time is completed? Will an abort cause it report? I guess that would be similar to the trickles of CPDN, which upload intermediate results from time to time. Technically surely possible, but hardly to program as far as I know, CPDN is the only project which has that. And for just 6 hours probably not worth the effort... ____________ Life is Science, and Science rules. To the universe and beyond Member of BOINC@Heidelberg My BOINC-Stats | |
ID: 8567 · Rating: 0 · rate: / Reply Quote | |
Is it possible to get the running WUProp task to report what it has recorded before the 6 hour run time is completed? Will an abort cause it report? Primegrid uses trickles. :) And they're fairly easy to code. ____________ Want to find one of the largest known primes? Try PrimeGrid. Or help cure disease at WCG. | |
ID: 8568 · Rating: 0 · rate: / Reply Quote | |
Is it possible to get the running WUProp task to report what it has recorded before the 6 hour run time is completed? Will an abort cause it report? As a follow up to this, if I was going to do it... step 1) Read the boinc documentation for trickles. It's very simple. Your app calls an API, and a row gets inserted into the server's database. step 2) You write a cron on the server to handle the information sent by the trickle. For this, what I would do is just keep that trickle in the database until the associated task completes, either by success or failure. If the task succeeds, just erase the trickle. If the task fails, process the data in the trickle as if the task succeeded. No credit, but you still get the hours and WUProp gets some more information for its task properties repository. When should the task trickle? I would not have it trickle automatically. That would probably be far too much data to store on the server. But if you know you're going to kill the task and want to upload its data, you could manually trigger the trickle. The simplest way to do this would be to "touch" (i.e., create) an empty file (perhaps called "trickle.now") in the slot directory where the WUProp task is running. Periodically (e.g., once a minute) the app could check for the existence of trickle.now, and, if found, send a trickle, and then delete the trickle.now file. That's how I would do it. The easy part is changing the app. That's probably only a few lines of code. The hard (or harder) part is the cron on the server to process the trickles and the data contained within. ____________ Want to find one of the largest known primes? Try PrimeGrid. Or help cure disease at WCG. | |
ID: 8569 · Rating: 0 · rate: / Reply Quote | |
Primegrid uses trickles. :) Never knew... my bad. :-( On what subprojects are they used, I guess only on the long ones? ____________ Life is Science, and Science rules. To the universe and beyond Member of BOINC@Heidelberg My BOINC-Stats | |
ID: 8570 · Rating: 0 · rate: / Reply Quote | |
Primegrid uses trickles. :) Most of them. Trickles are how we implement the variable deadlines. Everything new uses them, including everything LLR or Genefer. AP27 and WW also. PPS sieve hasn't been updated in a very long time and was never modified to use the system. The apps only trickle once a day, so you'll only see it happen on long-running tasks. We process about thirty thousand trickles each day. ____________ Want to find one of the largest known primes? Try PrimeGrid. Or help cure disease at WCG. | |
ID: 8571 · Rating: 0 · rate: / Reply Quote | |
Message boards :
Number crunching :
Force report?