Your report sounds somewhat similar to problems I encountered with OpenBLAS on Ubuntu Linux (which is a maintained version of GotoBLAS; I couldn't get the latter to compile properly).
OpenBLAS uses OpenMP for parallelization. Once linked into R, other OpenMP-based code would only use a single core any more. I have never used foreach, but I can imagine that something similar might be going on. The workaround I found was to compile OpenBLAS with the setting NO_AFFINITY=1. In addition, if you're running parallel code, I'd very much recommend to limit the number of threads within each parallel process by setting the OMP_NUM_THREADS environment variable (or in some other way). Hope this helps, Stefan On 24 Nov 2013, at 10:03, Safiye Celik <safi...@gmail.com> wrote: > So, is it possible to use many cores at the same time with GotoBLAS2, do > you have any ideas? ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.