All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
26 views

Having trouble distributing a large association to sub-kernels

The following seems to work based on memory usage. ...
10
votes
1answer
104 views

Parallelize[MapIndexed[…,Association[…]]] returns broken result

Bug introduced in 10.0.2 or earlier and persisting through 12.0 Confirmed: CASE:4041910 Consider the following example: ...
5
votes
1answer
233 views

Parallelize the construction of sparse matrices

I'm trying to parallelize a few constructions of chain complexes (given as a list of sparse matrices). I have a function that for any column (or row) computes the list of nonzero entries in that ...
6
votes
2answers
173 views

Average length (in words) of paragraphs in document

I try to calculate the average length (in words) of paragraphs in a document. The data look like: ...
7
votes
1answer
108 views

Association lookup in sub-kernel seems slow

While developing a parallel version of some code, I noticed that looking up an item in an association seemed much slower than in the serial version of the code. To show the effect, I created the ...
5
votes
1answer
124 views

How can multiple kernels update a shared Association object?

In the examples below, the variable status is an Association object that is supposed to be shared by three concurrent kernels. ...
0
votes
1answer
274 views

ParallelTable slower than Table in the presence of an Association?

So after testing some things I am completely reformulating my problem. First an example ...
2
votes
1answer
270 views

ParallelMap doesn't work with an Association. Is this a bug?

No longer a problem in Mathematica 11.0.1 on macOS. I receive a ParallelCombine::nopar1 error when executing ...
1
vote
0answers
108 views

Parallel assigning to an Association

This is a simplified example of a problem I ran into. I want to count how often a subkernel executes a given computation. So, after having launched the subkernels, I construct an association with ...