Skip to content

FAQ: How to parallelize linear solvers?

András Retzler edited this page Oct 7, 2022 · 2 revisions

When using Ipopt, consider changing the default linear solver “mumps” to a different solver such as “ma27”.

https://github.com/casadi/casadi/issues/2769

Some HSL solvers like MA97 support parallelization using OpenMP. Follow the instructions at Obtaining HSL for compiling with HSL support.

Note: Run export OMP_NUM_THREADS = n_threads in terminal to specify how many threads should be used by OpenMP.

Clone this wiki locally