!!: actually fix it

main
Francesco Minnocci 10 months ago
parent cb7e0bfe61
commit 2ba051eae8
No known key found for this signature in database
GPG Key ID: 76DA3AF9BAED1A32

@ -2,7 +2,8 @@
using LinearAlgebra using LinearAlgebra
using TypedPolynomials using TypedPolynomials
using Distributed, SlurmClusterManager using Distributed, SlurmClusterManager
addprocs(SlurmManager()) slurm_manager = SlurmManager()
addprocs(slurm_manager)
# Local deps # Local deps
include("random-poly.jl") include("random-poly.jl")
@ -99,7 +100,8 @@ vars = variables(R)
println("Solutions: ", sol) println("Solutions: ", sol)
println("Norms (lower = better): ", [norm([f(vars => s) for f in R]) for s in sol]) println("Norms (lower = better): ", [norm([f(vars => s) for f in R]) for s in sol])
finalize(SlurmManager()) # See https://github.com/kleinhenz/SlurmClusterManager.jl/issues/11
finalize(slurm_manager)
# Plotting the system and the real solutions # Plotting the system and the real solutions
# ENV["GKSwstype"] = "nul" # ENV["GKSwstype"] = "nul"

Loading…
Cancel
Save