See http://boinc.berkeley.edu/trac/wiki/AppMultiThread
-- David

On 22-Jul-2010 4:07 AM, Christian Benjamin Ries wrote:
>    Hello all,
> I currently working on a new application in our project (spinhe...@home). I 
> want to use more than
> one CPU for one calculation. This calculation is done by a legacy application 
> which supports many
> core systems. My question is now: How can I retrieve the count of shared CPUs 
> and lock them to this
> application, so that no other calculation will start?
>
> I mean, when I setted up in the manager 50% of CPUs are available (total 
> count of 8 CPU), than the
> legacy application will use 4 cores and no other calculation will start.
>
> Any suggestions?
>
> The multi-thread example is not reserving CPUs, right?
>
> I think I can use the APP_INIT_DATA structure to retrieves the count of CPUs 
> when the application is
> started by the manager, right?
>      APP_INIT_DATA aid;
>      aid.global_prefs.max_ncpus_pct
>      aid.global_prefs.max_ncpus;
>
_______________________________________________
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