Re: [R-pkg-devel] [Tagged] Re: multithreading in packages

2021-10-09 Thread Vladimir Dergachev
-package-devel [mailto:r-package-devel-boun...@r-project.org] On Behalf Of Dirk Eddelbuettel Sent: Saturday, 09 October, 2021 18:33 To: Ben Bolker Cc: r-package-devel@r-project.org Subject: Re: [R-pkg-devel] [Tagged] Re: multithreading in packages On 9 October 2021 at 12:08, Ben Bolker wrote

Re: [R-pkg-devel] [Tagged] Re: multithreading in packages

2021-10-09 Thread Vladimir Dergachev
On Sat, 9 Oct 2021, Dirk Eddelbuettel wrote: On 9 October 2021 at 12:08, Ben Bolker wrote: |FWIW there is some machinery in the glmmTMB package for querying, | setting, etc. the number of OpenMP threads. | | https://github.com/glmmTMB/glmmTMB/search?q=omp

Re: [R-pkg-devel] [Tagged] Re: multithreading in packages

2021-10-09 Thread Vladimir Dergachev
On Sat, 9 Oct 2021, Ben Bolker wrote: FWIW there is some machinery in the glmmTMB package for querying, setting, etc. the number of OpenMP threads. https://github.com/glmmTMB/glmmTMB/search?q=omp Great, thank you ! Vladimir Dergachev On 10/9/21 11:45 AM, Vladimir Dergachev wrote:

Re: [R-pkg-devel] [Tagged] Re: multithreading in packages

2021-10-09 Thread Viechtbauer, Wolfgang (SP)
rom: R-package-devel [mailto:r-package-devel-boun...@r-project.org] On Behalf >Of >Dirk Eddelbuettel >Sent: Saturday, 09 October, 2021 18:33 >To: Ben Bolker >Cc: r-package-devel@r-project.org >Subject: Re: [R-pkg-devel] [Tagged] Re: multithreading in packages > > >On 9 Octobe

Re: [R-pkg-devel] [Tagged] Re: multithreading in packages

2021-10-09 Thread Dirk Eddelbuettel
On 9 October 2021 at 12:08, Ben Bolker wrote: |FWIW there is some machinery in the glmmTMB package for querying, | setting, etc. the number of OpenMP threads. | | https://github.com/glmmTMB/glmmTMB/search?q=omp https://cloud.r-project.org/package=RhpcBLASctl Dirk --

Re: [R-pkg-devel] [Tagged] Re: multithreading in packages

2021-10-09 Thread Ben Bolker
FWIW there is some machinery in the glmmTMB package for querying, setting, etc. the number of OpenMP threads. https://github.com/glmmTMB/glmmTMB/search?q=omp On 10/9/21 11:45 AM, Vladimir Dergachev wrote: On Sat, 9 Oct 2021, Jeff Newmiller wrote: Keep in mind that by embedding this

Re: [R-pkg-devel] [Tagged] Re: multithreading in packages

2021-10-09 Thread Vladimir Dergachev
On Sat, 9 Oct 2021, Jeff Newmiller wrote: Keep in mind that by embedding this decision into your package you may be consuming a resource (cores) that may be more efficiently allocated by an application-level partitioning. of available resources. I for one am not a fan of this kind of

Re: [R-pkg-devel] [Tagged] Re: multithreading in packages

2021-10-09 Thread Jeff Newmiller
Keep in mind that by embedding this decision into your package you may be consuming a resource (cores) that may be more efficiently allocated by an application-level partitioning. of available resources. I for one am not a fan of this kind of thinking, and it makes system requirements for your