diff --git a/src/monodromy.jl b/src/monodromy.jl index 205251d4..5b7bdfd6 100644 --- a/src/monodromy.jl +++ b/src/monodromy.jl @@ -561,6 +561,8 @@ See also [`linear_subspace_homotopy`](@ref) for the `intrinsic` option. * `target_solutions_count`: The computation is stopped if this number of solutions is reached. * `threading = true`: Enable multithreading of the path tracking. + Careful: Some CPUs hang when using multiple threads. To avoid this run Julia with 1 + interactive thread for the REPL and `n` threads for other tasks (e.g., `julia -t 8,1` for `n=8`). * `timeout`: The maximal number of *seconds* the computation is allowed to run. * `trace_test = true`: If `true` a trace test is performed to check whether all solutions are found. This is only applicable if monodromy is performed with a linear subspace. diff --git a/src/solve.jl b/src/solve.jl index 74794cb5..739bc8c6 100644 --- a/src/solve.jl +++ b/src/solve.jl @@ -385,7 +385,9 @@ The `solve` routines takes the following options: for successfull paths. This is for example useful if you only want to compute one solution of a polynomial system. For this `stop_early_cb = _ -> true` would be sufficient. * `threading = true`: Enable multi-threading for the computation. The number of - available threads is controlled by the environment variable `JULIA_NUM_THREADS`. + available threads is controlled by the environment variable `JULIA_NUM_THREADS`. + Careful: Some CPUs hang when using multiple threads. To avoid this run Julia with 1 + interactive thread for the REPL and `n` threads for other tasks (e.g., `julia -t 8,1` for `n=8`). * `tracker_options`: The options and parameters for the path tracker. See [`TrackerOptions`](@ref).