Questions tagged [parallelization]

Questions on parallel computing in Mathematica.

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

Speed up performance of nested function computations

I'm trying to create a model for intensive computations for a homomorphic encryption scheme. The core of my problems is a series of function calls ...
0
votes
0answers
241 views

Print output of parallel kernels to console

Is it possible to print all the output (inside a Print[] command) of a parallelized computation to the console? I can't find a control for this. I find that my computer can handle printing to the ...
0
votes
0answers
175 views

ParallelTable and Table give different results

I am trying to parallelize a table operation, but I find that the table is not the same with and without the parallel function. I have looked at this question, but I cannot transfer it to my own ...
0
votes
0answers
146 views

How can I cleanly distribute definitions of system functions?

I have a package that redefines a system symbol, and I am struggling to find a clean solution that will ensure that those redefinitions will still work inside a parallelized environment. The core ...
0
votes
0answers
48 views

How can I speed up the evaluation of my equations?

Calculation of eigenvalues and eigenvectors in dependence of the parameters ...
0
votes
0answers
25 views

FindMinimumCost Flow and its parallelization

I would like to parallelize a specific implementation of FindMinimumCostFlow but doubt this can be easily done. Nevertheless, I have tried but failed to find attempts to do so. If you know of an ...
0
votes
0answers
77 views

how to realized parallelization computing on 12 CPUs on linux OS

Mathematica 10.3.0 linux Question description: The data I use is a sample of m stocks, each stock has transaction data of n days. The unit of my sample is a 48*1 matrix, which is data for one stock ...
0
votes
0answers
172 views

What is the correct way to control thread parallelism?

I was trying to benchmark a program I have writing against Mathematica (or better said the internal Kernels used, like MKL). Since my program is not threaded I wanted to compare with Mathematica 10 ...
0
votes
1answer
94 views

Improving performance Importing Table

I am currently working on mathematica script on a Raspberry Pi, which will periodically (10 secs) be launched by a bash script. However the runtime of my script really isn't the best. It's actually ...
0
votes
0answers
128 views

How to determine side-effects in parallel computation? Possibly associated to Kernel not closing reliably

I have written a bunch of code to simulate some measurements. To speed things up, I intended to obtain the measurement values via a ParallelTable. However, it turns ...
0
votes
0answers
102 views

Concerns about scheduled tasks

I'd like to know how CreateScheduledTask and StartScheduledTask work internally. When I run the following code: ...
0
votes
0answers
74 views

Time needed to solve NIntegrate is much longer than what I was expecting

I'm trying to do the following list: tablevdip = ParallelTable[{x, y, Vdip[x, y, 6]}, {x, -1, 1, .5}, {y, -1, 1, .5}];] with ...
0
votes
0answers
59 views

How to monitor parallel mapping a function over a list? [duplicate]

For instance, how to monitor the progress of ParallelMap[function, list]?
0
votes
0answers
97 views

Symbol definition in parallel kernels

Suppose I have a reasonably large number of floating point arrays, obtained from prior numerical simulations. These are stored as binary files named data_#####.dat ...
0
votes
0answers
112 views

strange timing behavior

The following code is from a book about Mathematica. ...
0
votes
0answers
26 views

How can I set global computation options ($MaxPiecewiseCases) for parallel kernels? [duplicate]

I'm trying to do a calculation in parallel that requires setting $MaxPiecewiseCases. How can I do this? This small test case doesn't work for me: ...
0
votes
0answers
593 views

Cluster integration: Problem connecting to Sun Grid Engine

I'm trying to launch some kernels in a cluster engine running Sun Grid Engine using Cluster integration. But I'm getting the error "Cannot find components required for SGE". ...
0
votes
0answers
167 views

How to parallelize this code

Here I obtained one code which should tests some zeros of the poly for various g, but sometimes I have to many cycles because of step and I need to parallelize the running on all cores. Classical ...
0
votes
0answers
59 views

Updating List with Do works but not with ParallelDo [duplicate]

I am trying to find 5 minimas for some function. I can obtain the results if I implement a simple Do function. I tried to speed it up by using ParallelDo and then my code returns spurious results. ...
0
votes
0answers
59 views

How to construct a list in a For Loop nested in a Parallel Loop [duplicate]

I've the following problem I cannot solve. I allocate an empty matrix, v, of size n x m. Then I want to do a Parallel loop (ex. ParallelDo), and do some operations (described by a function operation[...
0
votes
1answer
139 views

Problem with List Dimension Outer Map [duplicate]

I am currently handling a big list which has the following dimension: {6, 3, 4, 2, 2, 1, 8} where the last number 8 represent a ...
-1
votes
1answer
171 views

Using different master kernel in the same notebook

In my notebook, I have to call another file, let's say 'program.m' that defines functions, let's say F[] of whom result c I need ...
-1
votes
1answer
176 views

Parallelize in Mathematica [duplicate]

Here is two test to understand the parallelize in Mathematica: ...
-1
votes
2answers
115 views

Using counters within parallelize [closed]

I am running a lengthy do loop and I wish to use Parallelize so that multiple kernels are used. What I do in the loop is update a set of counters that report the ...
-3
votes
1answer
258 views

How to use all the kernels efficiently

We build a project with Java and Mathematica technologies. For this project we have written a bunch of functions in Mathematica and integrated some functions in one ...