From 0aec2e5654b187bc2e5e429fb3820bbab7a1502c Mon Sep 17 00:00:00 2001 From: Francesco Minnocci Date: Fri, 3 Nov 2023 22:10:31 +0100 Subject: [PATCH] testing ClusterManagers for real --- solve.jl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/solve.jl b/solve.jl index 1cc82b6..8f3daa2 100644 --- a/solve.jl +++ b/solve.jl @@ -1,7 +1,7 @@ # External dependencies using TypedPolynomials using LinearAlgebra -using Distributed +using Distributed, ClusterManagers using SharedArrays # Local dependencies @@ -18,6 +18,8 @@ using .EulerNewton using .AdaptStep using .Plot +addprocs(SlurmManager(20), partition="production", t="00:30:00") + function compute_root(H, r, maxsteps=1000) t = 1.0 step_size = 0.01 @@ -89,4 +91,4 @@ ENV["GKSwstype"] = "nul" # plot_real(sQ, Q, 2, 2, "2") # plot_real(sF, F, 4, 4, "3") # plot_real(sT, T, 4, 4, "4") -plot_real(sR, R, 5, 5, "random") \ No newline at end of file +plot_real(sR, R, 5, 5, "random")