Hi!
I was in fact experimenting with this. The solution seemed to lie in
simple memmap as it is implemented in Windows:
import numpy as N
def arrSharedMemory(shape, dtype, tag=PriithonSharedMemory):
Windows only !
share memory between different processes if same `tag` is used.
Sebastian Haase wrote:
Hi!
I was in fact experimenting with this. The solution seemed to lie in
simple memmap as it is implemented in Windows:
import numpy as N
def arrSharedMemory(shape, dtype, tag=PriithonSharedMemory):
Windows only !
share memory between different
On 10/9/07, David Cournapeau [EMAIL PROTECTED] wrote:
Sebastian Haase wrote:
Hi!
I was in fact experimenting with this. The solution seemed to lie in
simple memmap as it is implemented in Windows:
import numpy as N
def arrSharedMemory(shape, dtype, tag=PriithonSharedMemory):
At 05:22 AM 10/9/2007, David Cournapeau wrote:
Could not this be because you compiled the posh sources with a
compiler/runtime which is different than the other extensions and python
interpreter ?
It definitely was - since my 2.4 wanted the free 7.1 compiler, I (and
anyone else who didn't
On 10/9/07, Ray Schumacher [EMAIL PROTECTED] wrote:
At 05:22 AM 10/9/2007, David Cournapeau wrote:
Could not this be because you compiled the posh sources with a
compiler/runtime which is different than the other extensions and python
interpreter ?
It definitely was - since my 2.4 wanted the
Hello,
As a converting MATLAB user I am bringing over some of my code. A core
function I need is to sample the probability distribution of a given set of
data. Sometimes these sets are large so I would like to make it as efficient
as possible. (the data are integers representing members of a
How can I get the line number of where a numpy warning message is
envoked in my code?
Cheers
Tommy
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
On 10/9/07, Sebastian Haase replied:
Did you find that locks
or semaphores were needed?
Maybe that's why it crashed ;-) !? But for simple use it seems
fine.
I just did some code (below) that does read/write to the array AFAP,
and there is no crash, or any other issue (Win2000, py2.4,