From a77cfa587e9b61bc70a13f47333fad78f89776b5 Mon Sep 17 00:00:00 2001 From: Boris Kaus Date: Fri, 20 Mar 2026 09:33:17 +0100 Subject: [PATCH 1/2] deactivate signal handler in all cases (clashes with Julia's) --- src/init.jl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/init.jl b/src/init.jl index 39496e38..dd775a25 100644 --- a/src/init.jl +++ b/src/init.jl @@ -58,6 +58,10 @@ end function initialize(petsclib; log_view::Bool = false, options = String[]) if !initialized(petsclib) + + # deactivate the signal handler to avoid conflicts with Julia's own handlers when using multithreading + push!(options, " -no_signal_handler ") + if log_view || !isempty(options) cli_opts = _build_petsc_options(log_view, options) prev_opts = get(ENV, "PETSC_OPTIONS", "") From 0d0f55fcd2b6bc522befb9ea46824d6a4a3d570c Mon Sep 17 00:00:00 2001 From: Boris Kaus Date: Fri, 20 Mar 2026 09:38:54 +0100 Subject: [PATCH 2/2] bump version --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 6f7e4e22..a97a8de6 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "PETSc" uuid = "ace2c81b-2b5f-4b1e-a30d-d662738edfe0" -version = "0.4.6" +version = "0.4.7" authors = ["Boris Kaus ", "Viral B. Shah ", "Valentin Churavy ", "Erik Schnetter ", "Jeremy E. Kozdon ", "Simon Byrne "] [deps]