Skip to content

Commit e19e7f4

Browse files
authored
Add comment that CPUs can hang when using multiple threads
1 parent 1f344bd commit e19e7f4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/solve.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,9 @@ The `solve` routines takes the following options:
385385
for successfull paths. This is for example useful if you only want to compute one solution
386386
of a polynomial system. For this `stop_early_cb = _ -> true` would be sufficient.
387387
* `threading = true`: Enable multi-threading for the computation. The number of
388-
available threads is controlled by the environment variable `JULIA_NUM_THREADS`.
388+
available threads is controlled by the environment variable `JULIA_NUM_THREADS`.
389+
Careful: Some CPUs hang when using multiple threads. To avoid this run Julia with 1
390+
interactive thread for the REPL and `n` threads for other tasks (e.g., `julia -t 8,1` for `n=8`).
389391
* `tracker_options`: The options and parameters for the path tracker.
390392
See [`TrackerOptions`](@ref).
391393

0 commit comments

Comments
 (0)