How can I run a simple parallel array assignment operation in Julia?
问题 I have to solve a differential equations system many times, iterating over a parameter. For this, I run a loop over a list of the parameter, and store the solution (evaluated at an array of time values) for each parameter. So I have a 2D array in which I store solutions (each row is for a value of the parameter). Now, since any iteration has nothing to do with another one, I thought of doing this in parallel. Here is my code: using DifferentialEquations using SharedArrays using DelimitedFiles