mirror of
https://github.com/BachoSeven/homotopy-continuation.git
synced 2026-10-06 22:55:15 +00:00
!!: actually fix it
This commit is contained in:
@@ -2,7 +2,8 @@
|
||||
using LinearAlgebra
|
||||
using TypedPolynomials
|
||||
using Distributed, SlurmClusterManager
|
||||
addprocs(SlurmManager())
|
||||
slurm_manager = SlurmManager()
|
||||
addprocs(slurm_manager)
|
||||
|
||||
# Local deps
|
||||
include("random-poly.jl")
|
||||
@@ -99,7 +100,8 @@ vars = variables(R)
|
||||
println("Solutions: ", 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
|
||||
# ENV["GKSwstype"] = "nul"
|
||||
|
||||
Reference in New Issue
Block a user