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;

-- 
*********************************************************
Learn more about spinhe...@home and become part of it!
              http://spin.fh-bielefeld.de
*********************************************************
============================================================================================
Dipl.-Ing. (FH) Christian Benjamin Ries
University of Applied Sciences Bielefeld Department of Engineering Sciences and 
Mathematics
CMSE - Computational Materials Science&  Engineering

Wilhelm-Bertelsmann-Str. 10
D-33602 Bielefeld
Office: 202 (WBS II)
Phone:  +49 521 106-71222
Fax:    +49 521 106-71241
http://ti.fh-bielefeld.de/~cries
============================================================================================


_______________________________________________
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