Questions on parallel computing in Mathematica.

learn more… | top users | synonyms

7
votes
0answers
168 views

Partial Differential Equation in Parallel

is there any native way to implement multi-core parallel solving of PDE in Wolfram Mathematica? WM 10 now supports Finite Elements Method, but it is actually useless without parallelization. Usually ...
7
votes
0answers
245 views

Using Compile to speed up Function with PermutationProduct

I have the following fairly simple routine dot involving PermutationProduct that I wish to speed up using ...
6
votes
0answers
39 views

Setting up tunnel to access compute nodes behind private LAN via front-end

Context I find the front end on macos way more convenient and I would like to keep my notebooks on my macbook. On the other hand, I have access faster multi-core linux machines behind a LAN. Hence I ...
5
votes
0answers
97 views

What do the elements of the Parallel Kernel Status screen mean?

I just managed to get my multiple kernels up and humming on a new multi-core machine, which I am quite happy about. I am slightly at a loss, though, about the meaning of the different parts of the ...
5
votes
0answers
213 views

Parallelizing is much slower than single kernel evaluation?

Starting with a vector of matrices, tVec, I would like to parallelize the multiplication of each element with the same matrix ...
4
votes
0answers
67 views

Eigensystem on HPC

I am submitting Mathematica jobs to an HPC. I have a large matrix that is a function of (x,y) and I am diagonalizing it for around 500 points in the plane. My initial idea was to request a node with ...
4
votes
0answers
150 views

How to force the compilation language to be C++ (not C) in CreateExecutable or CreateLibrary

I'm trying to speed up a section of a Mathematica 9.0.1 notebook by performing some calculations in C++ with the Cilk Plus and Threading Building Blocks tools available for the Intel C++ 14.0 compiler ...
4
votes
0answers
170 views

Discriminant of Characteristic Polynomial

I'm doing a calculation which finds the characteristic polynomial of a matrix with rather complex entries and then determines the discriminant of that polynomial. For smaller matrices up to around 7x7 ...
4
votes
0answers
148 views

Raster with ColorFunction is blank when Dynamic Updating is disabled

UPDATE Today I was having these WaveletScalogram problems again. I think this is ultimately some kind of interaction issue with Dynamic. I have narrowed it down to ...
3
votes
0answers
79 views

Mathematica + RasPi + Parallela = Kaboom?

Is it possible to use the Parallela computing platform to enhance Mathematica computing on a Raspberry Pi? It's not at all clear to me how to interface the two boards (here it says it's done via ...
3
votes
0answers
137 views

OpenCL vs. CUDA with Mathematica

I am thinking about using GPU programming with Mathematica using a MacBook Pro with a NVIDIA GPU. At this page, the Mathematica documentation says "Programming OpenCL in the Wolfram Language is simple ...
3
votes
0answers
72 views

LibraryLink parallel performance

I'm trying to use a LibraryLink function in parallel. It is an embarrassingly parallel problem, so that no dependency between those parallel tasks. However I can only get the parallel efficiency about ...
3
votes
0answers
141 views

Launching Remote Kernels takes a lot of time

I recently played around with establishing a remote kernel setup without using mathematica grid. To do this I use the LaunchKernels[] command and ...
3
votes
0answers
757 views

Threads vs Cores: How many kernels need to launch in parallel Mathematica?

I have a dual-core intel machine. I would like to test how many parallel local kernels should be launch to get the optimized performance. Knowing that the HyperThreading technology of Intel could run ...
3
votes
0answers
165 views

Mathlink and multithreading

In order to make my computations faster I have developed a C/C++ application calling Mathematica kernel and performing many operations using Mathematica functions for equation solving. Now I want to ...
2
votes
0answers
28 views

ParallelTable kernels die - maybe Matlink timeout?

I am new to parallel computing in Mathematica. I am using LaunchKernels[16] ParallelTable[] to parallelize calculations. The ParallelTable consists of approx ...
2
votes
0answers
27 views

do successive parallel computations require distribute definitions at each intermediate step?

Suppose I am doing a parallel computation, say, using parallel table. I distribute necessary definitions to all kernels. After computation is done, I would like to use the first result in another ...
2
votes
0answers
49 views

k-means clustering in parallel

How can the k-means algorithm for some given distance function be implemented using ParallelMap or other parallel processing program constructs in Mathematica?
2
votes
0answers
181 views

ParallelSum in Mathematica 9 vs 10

Here's part of a package I'm working on: ...
2
votes
0answers
108 views

Death of parallel sub-kernels

EDIT : Finally, the new Mathematica 10.0 seems to fix it. I have a little parallelization problem. I wrote a code to generate a quasicrystal by dynamical generation. Here the code: ...
2
votes
0answers
83 views

ParallelTable and expensive functions

I would like to build up a 2D-Table using ParallelTable as follows ...
2
votes
0answers
264 views

Remote kernel shuts down after several seconds

I have Mathematica 9 installed on two Windows Server 2008 R2 machines. Now i want to try using one of them as a frontend with local kernels and the other one for remote kernels. OpenSSH 6.5 for ...
2
votes
0answers
103 views

Whether NIntegrate evaluation is multithreaded or not?

About MultiThread evaluation I am talking about here, see this post I am NIntegrate the function grarm[e, 3, dimension, 1, 1, 0.005]. There is matrix operation in ...
2
votes
0answers
61 views

Setting Up Lightweight Grid On Multiple Clients Programmatically

I have a number of computers which all might need to use the same (client) configuration for the Wolfram Lightweight Grid at some point. I know that there are ways to programmatically set certain ...
2
votes
0answers
78 views

How can you link Parallel Mapping and Error tracking

Following this question and the comments made, together with the information in this question, the following code allows error tracking and debugging very nicely. ...
2
votes
0answers
127 views

correct usage of ParallelTable

I am trying to parallelize my script. Here is a MWE of how I have done it: ...
1
vote
0answers
56 views

What does this Java error mean? Why is it raised?

I want to launch some kernels on a cluster that uses SGE. The server's operating system is Linux Cent-OS. According to Mathematica documentation, I've added these commands inside my code: ...
1
vote
0answers
40 views

Symbolic Nullspace computation in parallel

I am trying to determine the nullspace of a large symbolic matrix. The single core evolution seems to take too long. I tried Parallelize[] on the commands ...
1
vote
0answers
46 views

Troubles with ParallelEvaluate

I need to evaluate the same expression on all subkernels just like ParallelEvaluate does. This code distributes perfectly (2 kernels): ...
1
vote
0answers
58 views

NMaximize stops evaluating my function when run in parallel

I am trying to maximize the results of a Monte Carlo simulation with respect to some input variables. ...
1
vote
0answers
43 views

Placing package in existing Utilities` context has odd paraellelization effect

I noticed this in V.10 but possibly it was in effect in V.9. I have a package which in simplified form looks like:- ...
1
vote
0answers
105 views

Diagonalization in parallel

I would like to diagonalize one unitary non-sparse matrix of size 12870 with complex number entries (not symbols, this is really a numerical problem). Is is possible to make eigensystem run in ...
1
vote
0answers
48 views

Parallelizing an associative binary operation

I have an associative binary operation '.', which I often use in this sort of way: result = expr1 . expr2 . expr3 . expr4 The ...
1
vote
0answers
224 views

To what extent can NonlinearModelFit be sped up?

Can NonlinearModelFit be parallelized or compiled to allow one to achieve a scalable speedup for a fitting procedure? Attempting to use this function to fit a ...
1
vote
0answers
146 views

Why doesn't ParallelMap improve the performance of FoldList?

This question arose during my analysis of the following problem: filling gaps. (The code used here is Simon Woods's work.) FoldList seems to not cooperate with ...
1
vote
0answers
183 views

Parallel linear algebra with arbitrary precision

Is it possible to do parallel linear algebra with arbitrary precision within Mathematica (in a simple manner, as is done for the machine precision)?
1
vote
0answers
233 views

Return Functions from parallel execution of module

I wrote a module which numerically solves an ODE using NDSolve. The result from this is e.g. either ...
0
votes
0answers
47 views

Bug in parallel computing

The following is a simplified example. We construct a library function f and another library function g, in which the library function f is called. ...
0
votes
0answers
24 views

Parallel Kernel Status

For parallel computing, the window Parallel Kernel Status shows some information on the subkernels. I can use two kernels, and which each of them I can do parallel computations. However, it seems that ...
0
votes
0answers
25 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 ...
0
votes
0answers
23 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
79 views

strange timing behavior

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

Notebook stops using extra kernels after some time

Have a mathematica .nb job where I've programmed to run on parallel. Everything goes fine for about an hour but after this most kernels just stop being used by the program. I can see this happing in ...
0
votes
0answers
188 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
50 views

Need to parallelize function f in a iteration

I don't have experience using Mathematica for parallel calculation. I need to do something simple to parallelize the calculation of f which is calculate each time n iterates: ...
0
votes
0answers
47 views

How to parallelize a the calculation of a vector function which is inside a recursive formula

I need some help with parallelizing the calculation of a vector function F which is inside a recursive formula. An example of the code is below for few iterations. ...
0
votes
0answers
68 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
41 views

KernelObject::rdead on local kernels

I'm trying to parallelize some tasks which involve fetching data from a URL and processing it. This is the code: ...
0
votes
0answers
748 views

Fastest way to create a NxNxNxN dimensional matrix

I have a function that outputs a complex number Func[x_,y_]:= blah blah; I have constructed a table of all possible values of this function. ...
0
votes
0answers
46 views

Aborting Multiple Trial Divisions if a Factor is found

I am using Mathematica to perform trial divisions on large Mersenne numbers using specific prime numbers (e.g., primes of the form 8n+1 or 8n-1) and would like the program to abort once a factor is ...