All Questions
Tagged with parallelization numerics
25 questions
1
vote
0
answers
95
views
Attempt to find a solution (out of potentially many) to a system of equations with FindInstance runs forever or crashes
I have a system of equations that in principle should have a solution (I would think not a unique one), which I want to solve. I am not interested in all solutions; I just want to locate one, assuming ...
2
votes
2
answers
138
views
2
votes
2
answers
192
views
Speed up NDSolveValue
I'm trying to solve this differential equation to obtain the density matrix elements $\rho$.
$$\frac{d\rho}{dt}=-i\Big(H_{0}(t)\rho(t)-\rho(t)H_{0}(t)\Big)$$,
for Hermitian Hamiltonian $$H_{0}(t)=\...
1
vote
1
answer
166
views
Why, if you write the expression in the form of two functions, does the code stop working?
I would like to find the minimum of the function EER[a, v] using parallel computing.
If I write the code like this, it works:
...
1
vote
2
answers
102
views
Parallelize elements of a vector or array
Suppose I want to calculate a vector or an array (say, for simplicity a 4-by-1 vector), but each element contains independent numerically evaluated functions $f_1,f_2,f_3,f_4$ and each takes long time....
4
votes
1
answer
144
views
ParallelTable/ParallelDo for Newton's Method doesn't work [closed]
We run such ParallelTable based on @Syed https://mathematica.stackexchange.com/a/261603/54516.
...
0
votes
1
answer
465
views
How to use parallel computation in mathematica for numerical Integration
I have a multi dimensional integral and I need to integrate it numerically and than plot it over an extra variable for zeta = 0.5.
...
0
votes
0
answers
61
views
Error using ParallelMap to evaluate NIntegrate of numerical derivative ND
I want to evaluate a numerical integration in which the integrand is constructed out of a function f and its derivative f'.
<...
7
votes
1
answer
285
views
Fast Evaluation of a series of dot product
Context
I have a function that depends on 3 real variables x,y and z and that is defined by a series of matrix products. The evaluation of f for a specific (x,y,z) is fast ~0.02 sec but I want to ...
2
votes
1
answer
152
views
Implementation of Dirichlet-Neumann method
I am new in Mathematica and I was trying to find documentation on the Dirichlet-Neumann and Neumann-Neumann methods (which are part of Domain Decomposition Method), but I couldn't find any. Can ...
2
votes
1
answer
109
views
Vectorized RootFind for interpolated function
I've spent the last few days trying to vectorize my code to speed up root-finding on a grid. Apologies in advance if my code is poorly formatted. I have a fair amount of setup for the problem. It ...
18
votes
1
answer
559
views
When does NDSolve parallelize ODE system solving?
I've long believed that NDSolve cannot make use of multiple cores to solve ODE system, but things seem to be different at least since v12. Consider the following ...
3
votes
1
answer
142
views
ParallelDo gives different solution to Eigensystem
I am trying to calculate the eigensystem of a large matrix (e.g. 256x256). I have found that when I do this within a ParallelDo (because I am actually calculating many of these eigensystems), the ...
0
votes
0
answers
296
views
Properly parallelising FindRoot for multiple starting values
I have a problem I want to find numerical solutions for with different starting variables. Let F be a vector supposed to vanish, which in its definition includes ...
3
votes
1
answer
544
views
Jacobian for parallelised FindRoot with multiple variables
Michael E2 explains how to use parallel processing to speed up multiple FindRoot calculation with the same function in https://mathematica.stackexchange.com/a/...