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] 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", "")