[Rd] multi threaded execution of package

2013-03-04 Thread Vitaliy FEOKTISTOV
Hello, I'm creating a package for R. This package containes a fortran (wrapped C) *.so . This dynamic library is compiled to be multi-threaded (-parallel -openmp -threads .. options). When I call this library from R : dyn.load("mylib.so") the execution is one threaded ! Where could be a problem

[Rd] debugging C/Fortran code with Visual Studio and Intel compilers

2013-01-18 Thread Vitaliy FEOKTISTOV
Hello, My R code calles a C/Fortran dll and I want to debug C code using Visual Studio and Intel compilers /debugger Debugging with Rcpp and RInsight does not work correctly on Windows. Is there some other way to set breakpoints in C code and access to variables ? Thank you ! Kind regards, Vit

[Rd] linux multi-threaded compilation is running only on one processor

2012-12-28 Thread Vitaliy FEOKTISTOV
Hello, I compiled R-2.15.2 with linux intel compilers (see below). when I execute some R code on a // 4 proc x 4 cores // server (export MKL_NUM_THREADS = 16) very often I have the situations where only one processor (4 cores) is active instead of 4 (16 cores) ! do you know this fact depends on

[Rd] error memory allocation

2012-12-13 Thread Vitaliy FEOKTISTOV
Hello, I've compiled R-2.15.2 for windows x64 and try to do a simple test : --- A <- matrix(rnorm(3e8), 3e4, 3e4) B <- solve(A) Erreur dans solve.default(A) : impossible d'a

Re: [Rd] compiling R for Windows 64 bit

2012-11-30 Thread Vitaliy FEOKTISTOV
(rem: this message describes compiling errors more precisely) Dear All, I'm trying to compile R for Windows 64 bit. I'm following the instructions of R installation and administration guide v2.15.2 (3.1; A.3.1.4; C.2.2) and at the moment I compiled the default version (single threaded, gc

[Rd] compiling R for Windows 64 bit

2012-11-30 Thread Vitaliy FEOKTISTOV
Dear All, I'm trying to compile R for Windows 64 bit. I'm following the instructions of R installation and administration guide v2.15.2 (3.1; A.3.1.4; C.2.2) and at the moment I compiled the default version (single threaded, gcc, without external BLAS)  on my notebook (windows xp 32 bit) Now I'm

[Rd] compiling R for Windows with Intel compiliers and MKL

2012-11-28 Thread Vitaliy FEOKTISTOV
Hello, I want to compile R-2.15.2 for Windows with Intel compilers and MKL( BLAS, LAPACK). I installed 'Rtools 2.16.0.1923' and follow the instructions of "R installation and administration" guide (3.1; A.3.1.4; C.2.2). I configured "/src/gnuwin32/MkRules.local" and "config.site" according to nee