Re: [Rd] multi threaded execution of package

2013-03-04 Thread Simon Urbanek
On Mar 4, 2013, at 5:57 AM, Vitaliy FEOKTISTOV wrote: > 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). > Just the fact that it's compiled with such

[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