An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-sig-hpc/attachments/20121102/1e515d19/attachment.pl>
Querying the numbers of CPUs on a Windows box
2 messages · Jonathan Greenberg, Simon Urbanek
On Nov 2, 2012, at 10:36 AM, Jonathan Greenberg wrote:
r-sig-hpc'ers: Is there any way to query the number of CPUs on a single-node Windows box?
parallel::detectCores() Cheers, Simon
I'm trying to write some code using snowfall and it defaults to 1 CPU even with sfInit(parallel=TRUE). Of course I can manually set the number of cpus to use but I'd like to have a way to dynamically query the system and determine the available number of cpus/cores. Thanks! --j -- Jonathan A. Greenberg, PhD Assistant Professor Department of Geography and Geographic Information Science University of Illinois at Urbana-Champaign 607 South Mathews Avenue, MC 150 Urbana, IL 61801 Phone: 217-300-1924 AIM: jgrn307, MSN: jgrn307 at hotmail.com, Gchat: jgrn307, Skype: jgrn3007 [[alternative HTML version deleted]]
_______________________________________________ R-sig-hpc mailing list R-sig-hpc at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-hpc