Displaying 20 results from an estimated 10000 matches similar to: "multi threaded execution of package"
2012 Dec 28
1
linux multi-threaded compilation is running only on one processor
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 what ?
thank you !
P.S.
many functions of R are single-threaded,
is there a simple way to make them
2016 May 12
3
Single-threaded aspect
On 12 May 2016 at 13:11, Mark van der Loo wrote:
| Charles,
|
| 1. Perhaps this question is better directed at the R-help or
| R-pacakge-devel mailinglist.
|
| 2. It basically means that R itself can only evaluate one R expression at
| the time.
|
| The parallel package circumvents this by starting multiple R-sessions and
| dividing workload.
|
| Compiled code called by R (such as C++ code
2016 May 12
5
Single-threaded aspect
R Developers,
Could someone help explain what it means that R is single threaded? I am
trying to understand what is actually going on inside R when users want to
parallelize code. For example, using mclapply or foreach (with some
backend) somehow allows users to benefit from multiple CPUs.
Similarly there is the RcppParallel package for RMatrix/RVector objects.
But none of these address the
2009 Jan 10
2
Problem with compiling shared C/C++ library for loading into R (Linux)
I am using the .Call interface to call c++ code from R. For that, I am
trying to create a dynamic library (mylib.so)
using "R CMD SHLIB" by linking my own c++ code and an external c++
library (blitz++).
The makefile works fine on my Mac, produces mylib.so and I am able to
call .Call() from R, but on a linux
server (I think Debian), I got the following error:
----------
/usr/bin/ld:
2009 Jan 10
2
Problem with compiling shared C/C++ library for loading into R (Linux)
I am using the .Call interface to call c++ code from R. For that, I am
trying to create a dynamic library (mylib.so)
using "R CMD SHLIB" by linking my own c++ code and an external c++
library (blitz++).
The makefile works fine on my Mac, produces mylib.so and I am able to
call .Call() from R, but on a linux
server (I think Debian), I got the following error:
----------
/usr/bin/ld:
2016 May 12
1
Single-threaded aspect
Charles,
1. Perhaps this question is better directed at the R-help or
R-pacakge-devel mailinglist.
2. It basically means that R itself can only evaluate one R expression at
the time.
The parallel package circumvents this by starting multiple R-sessions and
dividing workload.
Compiled code called by R (such as C++ code through RCpp or C-code through
base R's interface) can execute
2008 Feb 28
1
Multi-thread Theora Decoder
Hi all,
Does Theora Community have an interest in a multi-thread decoder implementation?
I'm starting to work with multi-thread and I thought that Theora
Decoder is a good choice for me, because I had been working with it in
a FPGA implementation and I have experience with the library.
I'm thinking in working with LoopFilter at first. Do you think I could
start with it or there is a
2010 Jan 26
1
library.dynam
hi, i'm having some trouble getting a package to load a shared library
object in .onLoad(...)
i have a shared object file, say "mylib.so".
if i start an R session, and via the CLI specify the actual library
via:
> dyn.load("mylib.so")
everything works quite well (i.e. i can then follow with some .Call
(...) methods)
now, i'd like to include this shared library in
2000 Jan 17
1
dyn.load problem
Hi,
I'm trying to write modified versions of R save/load functions which read
from/write to a char array instead of a file pointer. I want to compile
my functions into a library and dyn.load them. Of course the new functions
mySave/Load will use some of the internal R functions used by save/load,
for example "MarkSave" (to be found in .../src/main/saveload.c). I
declared them as
2012 Jun 01
1
Error: package 'myLib' is not installed for 'arch=i386'
Hello,
I 'd like to use some functions in myLib. So I do:
library(myLib)
Then I get this message:
Error: package 'myLib' is not installed for 'arch=i386'
> sessionInfo()
R version 2.13.2 (2011-09-30)
Platform: i386-pc-mingw32/i386 (32-bit)
locale:
[1] LC_COLLATE=French_France.1252 LC_CTYPE=French_France.1252
LC_MONETARY=French_France.1252 LC_NUMERIC=C
2013 Jan 18
1
debugging C/Fortran code with Visual Studio and Intel compilers
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,
Vitaliy
[[alternative HTML version deleted]]
2011 Sep 12
4
[LLVMdev] multi-threading in llvm
On 09/12/2011 04:28 PM, Sebastian Pop wrote:
> Hi Alexandra,
>
> On Thu, Sep 8, 2011 at 13:53, Jimborean Alexandra<xinfinity_a at yahoo.com> wrote:
>> I had a look at the CodeGeneration from Polly. Is it possible to use it
>> without creating the Scops, by transforming it into a LoopPass?
>
> Yes. If you don't want to use the autopar of Polly and just rely on
2011 Sep 12
2
[LLVMdev] multi-threading in llvm
On 09/12/2011 05:28 PM, Jimborean Alexandra wrote:
> Thanks for your ideas.
>
> Polly looked interesting as it seems it has already introduced the basic
> support for OpenMP that I need. But indeed, it seems difficult to apply
> the same code on a regular LLVM loop, instead of a SCoP.
>
> What I am working on is speculative parallelism, so I cannot provide the
> SCoPs
2011 Sep 12
0
[LLVMdev] multi-threading in llvm
Hi Alexandra,
I don't know much, maybe this topic should be bridged with polly-dev
(adding it to CC) to bring it more attention.
Indeed, polly uses ScopPass, that creates serious limitations in
compatibility with other passes. To my understanding, scops are used
because ISL loop analysis tool uses scops. In fact, just for handling
OpenMP directives scops are not required, unless one need to
2011 Sep 08
4
[LLVMdev] multi-threading in llvm
Hi,
I want to execute the iterations of a loop in parallel, by inserting calls either to pthreads or to the gomp library at the LLVM IR level. As a first step, I inserted an omp pragma in a C file and compiled it with llvm-gcc to check the generated LLVM code. If I understand correctly, to parallelize the loop in LLVM IR, I have to separate the loop in a new function, put all required parameters
2011 Sep 14
1
Building R package with precompiled shared library
Dear R users,
we are trying to build a R package that includes a precompiled shared
library, let's say mylib.so. We created the skeleton of the package
and we moved the mylib.so file into the libs folder that we created at
the same level of the folders man and R. Moreover we created the file
NAMESPACE and we added the line useDynLib(mylib, .registration=TRUE).
The building step seems to work
2011 Sep 12
0
[LLVMdev] multi-threading in llvm
Thanks for your ideas.
Polly looked interesting as it seems it has already introduced the basic support for OpenMP that I need. But indeed, it seems difficult to apply the same code on a regular LLVM loop, instead of a SCoP.
What I am working on is speculative parallelism, so I cannot provide the SCoPs required by Polly. I analyze the loops and try to parallelize them speculatively at the LLVM
2008 Oct 17
1
[LLVMdev] [Need your help]
Hi,
This is Crystal. I have some questions about llvm-gcc. Could you please give me some advice? Thanks in advance.
Problem description:
Env:
llvm-gcc (GCC) 4.2.1
gcc (GCC) 4.1.2
OS:fedora7
I tried to compile a C programme test.c with llvm-gcc by task:
[root at localhost mylib]# llvm-gcc -emit-llvm test.c -Llibmylib.a -c -o test.bc
[root at localhost mylib]# lli test.bc
after running the command
2001 Dec 05
3
trouble with R CMD INSTALL for building my own library
Hi,
I have built a library that consists of a piece of C code and some R
functions.
To build it into a library that I can load using library() command, I
have followed "Writing R Extensions"
and made sub-directories such as mylib/R and mylib/src. But when I run R
CMD INSTALL mylib, nothing seems to
be happening with src directory, i.e., no C compiling. I have probably
missed
some key
2001 Dec 05
3
trouble with R CMD INSTALL for building my own library
Hi,
I have built a library that consists of a piece of C code and some R
functions.
To build it into a library that I can load using library() command, I
have followed "Writing R Extensions"
and made sub-directories such as mylib/R and mylib/src. But when I run R
CMD INSTALL mylib, nothing seems to
be happening with src directory, i.e., no C compiling. I have probably
missed
some key