Parallel computing using Parallel Ensemble Simulations (DiffEq) does not seem to work

Yes everything is on Julia 1.1. I will make an attempt to update to a later version.

I’ve tried these example from the julia page on parallel computing, and it works without errors.

Threads.@threads for i = 1:10
     a[i] = Threads.threadid()
end
   
using Distributed

@everywhere include_string(Main, $(read("count_heads.jl", String)), "count_heads.jl")
a = @spawn count_heads(100000000)
b = @spawn count_heads(100000000)
fetch(a)+fetch(b)

nheads = @distributed (+) for i = 1:200000000
    Int(rand(Bool))
end

a = zeros(100000)
@distributed for i = 1:100000
    a[i] = i
end

using SharedArrays

a = SharedArray{Float64}(10)
@distributed for i = 1:10
    a[i] = i
end

a = randn(1000)
f(x) = 2x
@distributed (+) for i = 1:100000
    f(a[rand(1:end)])
end

using LinearAlgebra

M = Matrix{Float64}[rand(1000,1000) for i = 1:10];
pmap(svdvals, M);

@time map(svdvals,M);      #Takes about 2.5 seconds
@time pmap(svdvals, M);    #Takes about 2.5 seconds

addprocs(4)
@time pmap(svdvals, M);    #Takes about 3.5 seconds