similar to: Why not pthreads on Windows in 'parallel' package?

Displaying 20 results from an estimated 8000 matches similar to: "Why not pthreads on Windows in 'parallel' package?"

2015 Aug 15
1
Why not pthreads on Windows in 'parallel' package?
Aaaah ... and argh - I should have better not to post R question at midnight, especially when I know it forks the process and it's not using threads. Brain meltdown. (So, we'll proceed trying to use pthreads in matrixStats also for Windows). Sorry for the noise and thanks Kasper. Henrik On Aug 15, 2015 02:52, "Kasper Daniel Hansen" <kasperdanielhansen at gmail.com> wrote:
2015 Aug 15
0
Why not pthreads on Windows in 'parallel' package?
mclapply uses fork which is different from pthreads. As I understand it, pthreads requires you to rewrite code, fork is a system call which takes care of completely replicating the current state of the process. Kasper On Fri, Aug 14, 2015 at 5:00 PM, Henrik Bengtsson <henrik.bengtsson at ucsf.edu > wrote: > On Windows there are a few 'pthreads' implementation, e.g. >
2019 Aug 20
2
Re: Compiling Libvirt on Windows for Hyper V support
Hi, I have attached my compressed config file. Thanks, Reza > On Aug 20, 2019, at 12:03 PM, Daniel P. Berrangé <berrange@redhat.com> wrote: > > Re-adding the mailing list CC - please don't drop it. > > On Tue, Aug 20, 2019 at 11:54:34AM -0400, reza shahriari wrote: >> Hi, >> >> I am using msys2. When I run `./configure` without any parameters
2019 Aug 20
2
Re: Compiling Libvirt on Windows for Hyper V support
Hi, I tried that out, I got a new error about pthreads in my config.log. Could you take another look. Thanks again, Reza > On Aug 20, 2019, at 12:36 PM, Daniel P. Berrangé <berrange@redhat.com> wrote: > > On Tue, Aug 20, 2019 at 12:29:15PM -0400, reza shahriari wrote: >> Hi, >> >> I have attached my compressed config file. >> >> Thanks,
2019 Aug 19
5
Compiling Libvirt on Windows for Hyper V support
Hi, I am trying to compile Libvirt from the source code on windows using msys2 but keep hitting issues while running `./configure`. …. > checking whether C compiler handles -Wno-suggest-attribute=pure… yes > checking whether C compiler handles -Wno-suggest-attribute=const... yes > checking for how to force completely read-only GOT table… > checking for how to avoid indirect lib
2014 Sep 24
2
[LLVMdev] RFC: LLVM should require a working C++11 <thread>, <mutex>, and <atomic>
Indeed, mingw and pthreads have C++11 atomics, so building clang (with atomics) should be possible even in cross compilation. I have no idea what is the win from *not* using winpthreads, it is one small DLL file with BSD license. For context (does not matter to mingw as host for buiilding clang but matters for clang running with mingw environment), clang TLS implementation is not same as mingw so
2019 Aug 20
0
Re: Compiling Libvirt on Windows for Hyper V support
On Tue, Aug 20, 2019 at 12:29:15PM -0400, reza shahriari wrote: > Hi, > > I have attached my compressed config file. > > Thanks, > > Reza > > > > > On Aug 20, 2019, at 12:03 PM, Daniel P. Berrangé <berrange@redhat.com> wrote: > > > > Re-adding the mailing list CC - please don't drop it. > > > > On Tue, Aug 20, 2019 at
2015 Mar 09
5
Notes on building a gcc toolchain for Rtools (but not multilib)
Hi, [This is a follow-up to the "New version of Rtools for Windows" thread in January, but I just subscribed and don't know how to reply to an old thread -- my apologies.] I was able to use the nuwen distro to build a gcc 4.9.2 toolchain and use it to build the latest R-patched with it. Below are some notes about what I did; I hope they will be useful for keeping Rtools
2019 Aug 20
0
Re: Compiling Libvirt on Windows for Hyper V support
Re-adding the mailing list CC - please don't drop it. On Tue, Aug 20, 2019 at 11:54:34AM -0400, reza shahriari wrote: > Hi, > > I am using msys2. When I run `./configure` without any parameters and I still see missing pthreads impl. > > I have installed mingw64 cross compiler toolchain. Here is the output of pacman I see when searching for pthreads (they are all installed).
2020 Apr 29
2
mclapply returns NULLs on MacOS when running GAM
Thanks Simon, I will take note of the sensible default for core usage. I?m trying to achieve small scale parallelism, where tasks take 1-5 seconds and make fuller use of consumer hardware. Its not a HPC-worthy computation but even laptops these days come with 4 cores and I don?t see a reason to not make use of it. The goal for the current piece of code I?m working on is to bootstrap many
2013 Apr 17
1
pthreads for mini-os ?
Is there any support for x86_64 pthreads for mini-OS ? Does the current newlib contains a functional implementation of pthreads ? -- Karim Allah Ahmed. LinkedIn <http://eg.linkedin.com/pub/karim-allah-ahmed/13/829/550/> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel
2020 Jan 11
2
SUGGESTION: Settings to disable forked processing in R, e.g. parallel::mclapply()
Henrik, the whole point and only purpose of mc* functions is to fork. That's what the multicore package was about, so if you don't want to fork, don't use mc* functions - they don't have any other purpose. I really fail to see the point - if you use mc* functions you're very explicitly asking for forking - so your argument is like saying that print() should have an option to
2012 Dec 31
3
weird bug with parallel, RSQlite and tcltk
Hello, I spent a lot of a time on a weird bug, and I just managed to narrow it down. In parallel code (here with parallel::mclappy, but I got it doMC/multicore too), if the library(tcltk) is loaded, R hangs when trying to open a DB connection. I got the same behaviour on two different computers, one dual-core, and one 2 xeon quad-core. Here's the code: library(parallel) library(RSQLite)
2016 Mar 12
2
Questions about GSoC project: Speed up the Test Suite
Hi, My name is Luo Zengbo, a student from Zhejiang University, China. As I mentioned in IRC before(my IRC nick name is poe_), I am interested in GSoC project: Speed up the Test Suite. After discussed with Olly, I think this project can be divided into three steps: Step 1: Rewrite every call of the function get_writable_database(). I will pass writable database's name with
2017 Jan 25
2
parallel::mc*: Is it possible for a child process to know it is a fork?
When using multicore-forking of the parallel package, is it possible for a child process to know that it is a fork? Something like: parallel::mclapply(1:10, FUN = function(i) { test_if_running_in_a_fork() }) I'm looking into ways to protect against further parallel processes (including threads), which not necessarily are created via the parallel:mc* API, are being spawned off recursively.
2020 Apr 28
2
mclapply returns NULLs on MacOS when running GAM
Thanks Henrik, That clears things up significantly. I did see the warning but failed to include it my initial email. It sounds like an RStudio issue, and it seems like that it?s quite intrinsic to how forks interact with RStudio. Given this code is eventually going to be a part of a package, should I expect it to fail mysteriously in RStudio for my users? Is the best solution here to migrate all
2004 Mar 05
1
WineX3.2 and pthreads
Every time I start WineX 3.2 on my Debian Woody I get: Your system requires the use of pthreads but the maximum system allowed stack size of 2052 kB may be too small for some games. If you experience problems, try rerunning with "-use-pthreads no" which may help. What does that means? Is there a way to definitively fix it, except the use of "-use-pthreads no" switch? --
2015 Mar 30
2
nested parallel workers
On 03/25/2015 07:48 PM, Simon Urbanek wrote: > On Mar 25, 2015, at 3:46 PM, Valerie Obenchain <vobencha at fredhutch.org> wrote: > >> Hi Simon, >> >> I'm having trouble with nested parallel workers, specifically, forking inside socket connections. >> > > You simply can't by definition - when you fork *all* the workers share the same connection
2011 Oct 10
5
multicore by(), like mclapply?
dear r experts---Is there a multicore equivalent of by(), just like mclapply() is the multicore equivalent of lapply()? if not, is there a fast way to convert a data.table into a list based on a column that lapply and mclapply can consume? advice appreciated...as always. regards, /iaw ---- Ivo Welch (ivo.welch at gmail.com)
2013 Jun 17
1
Asterisk / PHP-AGI / pthreads
Hi there, does anyone have experience with Asterisk-AGI-Scripts in PHP while using pthreads in PHP? Are there any limitations or problems known? Best regards -Thorsten-