I would expect that after setting the maximum number of allowed CPUs, one
would be able to initialize only that amount. Is this expected behavior
(see code below)? I've noticed a similar behavior on a HP HPC, but wasn't
able to set the CPU cap to 50 (kept defaulting to 32).

Cheers,
Roman


> library(snowfall)
Loading required package: snow
> sfSetMaxCPUs(2)
> sfInit(parallel = TRUE, cpus = 4, type = "SOCK")
R Version:  R version 2.14.0 (2011-10-31)

snowfall 1.84 initialized (using snow 0.3-8): parallel execution on 4 CPUs.

> sessionInfo()
R version 2.14.0 (2011-10-31)
Platform: x86_64-pc-mingw32/x64 (64-bit)

locale:
[1] LC_COLLATE=Slovenian_Slovenia.1250  LC_CTYPE=Slovenian_Slovenia.1250
[3] LC_MONETARY=Slovenian_Slovenia.1250 LC_NUMERIC=C
[5] LC_TIME=Slovenian_Slovenia.1250

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] snowfall_1.84 snow_0.3-8

loaded via a namespace (and not attached):
[1] tools_2.14.0




-- 
In God we trust, all others bring data.

	[[alternative HTML version deleted]]

