Yes, the workunit is created with the new template, but not working. 

I also tried to modified wu parameters inside daemon "work_generator" to like 
this:

    wu.clear();
    wu.appid = app.id;
    strcpy(wu.name, name);
    wu.rsc_fpops_est = 1e12;
    wu.rsc_fpops_bound = 1e14;
    wu.credit = 20;


yet it reminds me "credit" is not an attribute of "workunit".  If this is true, 
how could a tag <credit> can work in the template though ?  Has it changed 
"credit" into some other name ?










--- On Tue, 9/15/09, Christian Beer <[email protected]> wrote:

> From: Christian Beer <[email protected]>
> Subject: Re: [boinc_dev] -credit_from_wu seems not working...
> To: "Kunsheng Chen" <[email protected]>
> Cc: [email protected]
> Date: Tuesday, September 15, 2009, 11:52 AM
> The wu template is used when creating
> the workunit. So in order to get 
> fixed credit for each workunit you have to create new work
> after 
> changing the template. Then the validator will give fixed
> credit to each 
> workunit created with the new wu template.
> 
> Regards
> Christian
> 
> 
> Kunsheng Chen schrieb:
> > Hi, everyone,
> >
> >
> > I try to fix credit for each workunit other than let
> it decided by FLOPs.
> >
> > I added tag <credit> in wu template (the value
> is set to 20) and start "sample_trivial_validator" with
> parameter "-credit_from_wu" in config.xml as below:
> >
> > -----------------
> > sample_trivial_validator -d 3 -app
> <appname>  -credit_from_wu 
> >
> > -----------------
> >
> >
> > The system works fine but the log keep reminds "error
> rate" when assigning credits: 
> > -----------------------------------
> >
> > 2009-09-14 19:47:01.2641 [normal  ] [WU#22529
> anansi_1252708009_12299] handle_wu(): No canonical result
> yet
> > 2009-09-14 19:47:01.2647
> [debug   ]   [WU#22529
> anansi_1252708009_12299] Found 1 successful results
> > 2009-09-14 19:47:01.2647
> [debug   ]   [WU#22529
> anansi_1252708009_12299] Enough for quorum, checking set.
> > 2009-09-14 19:47:01.2769
> [debug   ]   [HOST#260] error
> rate 0.000087->0.000083
> > 2009-09-14 19:47:01.2777 [normal 
> ]   [RESULT#24202 anansi_1252708009_12299_0]
> Valid; granted 0.002849 credit [HOST#260]
> > 2009-09-14 19:47:01.2792
> [debug   ]   [WU#22529
> anansi_1252708009_12299] Found a canonical result: id=24202
> >
> > ---------------------------------
> >
> >
> > Anyone has some idea ?
> >
> >
> > Thanks,
> >
> > -Kunsheng
> >
> >
> >
> >
> >
> >       
> > _______________________________________________
> > boinc_dev mailing list
> > [email protected]
> > http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
> > To unsubscribe, visit the above URL and
> > (near bottom of page) enter your email address.
> >
> >   
> 
> 


      
_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Reply via email to