Skip to content

DOC: Add how to guide on setting number of threads in Pardiso solver #1730

Open

Description

@santisoler

Idea or request for content:

Create a new page in the How to Guide on how we can set the number of threads in a Pardiso solver.

Something similar to the instructions from this thread (requires to be logged in to Mattermost):

Try to pass solver_opts={"n_threads": 120} instead. Through solver_opts we are passing extra arguments to the solver class we choose through the solver argument, in this case Pardiso. The Pardiso class takes n_threads as argument to define how many threads should be used. See this for more details: https://github.com/simpeg/pymatsolver/blob/5b71ac426d744450676950fe68dae3c9c6044ee0/pymatsolver/direct/pardiso.py#L9-L41

Activity

  1. jcapriot commented on Oct 28, 2025

    @jcapriot
    Member

    Just FYI that this is a process specific option, and is not per solver. As in, every PardisoSolver, in the same process will always use the same number of threads.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions