# Features of solver

**URL:** <https://prepomax.discourse.group/t/features-of-solver/287>\
**Category:** General Questions\
**Created:** [July 8, 2022, 2:01pm UTC](https://prepomax.discourse.group/t/features-of-solver/287 "2022-07-08T14:01:27Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![PaoPao1970](https://avatars.discourse-cdn.com/v4/letter/p/d9b06d/32.png) [@PaoPao1970](https://prepomax.discourse.group/u/PaoPao1970)\
**Post date:** [July 8, 2022, 2:01pm UTC](https://prepomax.discourse.group/t/features-of-solver/287/1 "2022-07-08T14:01:28Z")

</div>

## PrePoMax has 6 types of solvers. I read the Manual, but the characteristics of the 6 types of solvers are not described. What solver is suitable for static analysis and contact analysis, and non-linear analysis?

Default  
PaStiX  
Pardiso  
Spooles  
Iterative scaling  
Iterative Cholesky.

---

<div class="post-metadata">

**Author:** ![synt](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/synt/32/4658_2.png) [@synt](https://prepomax.discourse.group/u/synt)\
**Post date:** [July 8, 2022, 3:14pm UTC](https://prepomax.discourse.group/t/features-of-solver/287/2 "2022-07-08T15:14:11Z")

</div>

hi,

description below are extracted from document reference (p.538),

- SPOOLES is very fast, but has no out-of-core capability: the size of systems you can solve is limited by your RAM memory.
- PARDISO is the Intel proprietary solver and is about a factor of two faster than SPOOLES
- PaStiX from INRIA. It is really fast and can use the GPU, an acceleration of a factor between 3 and 8 compared to PARDISO.
- ITERATIVE CHOLESKY, better convergence and maybe to shorter execution times. however, it requires additional storage.
- ITERATIVE SCALING, last resort for a short of memory.

so, it depend on resource and how large is your model ? and right, in my experienced of large multipart contact analysis with plasticity. PaStiX is faster to convergence than MKL Pardiso.

---

<div class="post-metadata">

**Author:** ![lucas\_bueno](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/lucas_bueno/32/1168_2.png) [@lucas\_bueno](https://prepomax.discourse.group/u/lucas_bueno)\
**Post date:** [July 8, 2022, 5:59pm UTC](https://prepomax.discourse.group/t/features-of-solver/287/3 "2022-07-08T17:59:53Z")

</div>

I want to ask if all of these solvers are available in PPM because the last time I tried changing the default one (not sure if I attempted Spooles or Pardiso instead of Pastix) I received an error message saying that this solver was not found.

---

<div class="post-metadata">

**Author:** ![synt](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/synt/32/4658_2.png) [@synt](https://prepomax.discourse.group/u/synt)\
**Post date:** [July 8, 2022, 7:54pm UTC](https://prepomax.discourse.group/t/features-of-solver/287/4 "2022-07-08T19:54:46Z")

</div>

PaStiX and Spooles solver are already to run from official distribution. also for Pardiso, however it requires additional dynamic linking library (dll) from Intel MKL to be copied in the same directory.

libiomp5md  
mkl\_avx2.1  
mkl\_avx512.1  
mkl\_core.1  
mkl\_intel\_thread.1  
mkl\_rt.1  
mkl\_mc3.1

 ![2022-07-09 02_47_05-Monitor](https://global.discourse-cdn.com/free1/uploads/prepomax/original/1X/3874b3cd44b4f25a6c59dd5ea52f67737aa25e5f.png)  
.

---

<div class="post-metadata">

**Author:** ![PaoPao1970](https://avatars.discourse-cdn.com/v4/letter/p/d9b06d/32.png) [@PaoPao1970](https://prepomax.discourse.group/u/PaoPao1970)\
**Post date:** [July 8, 2022, 8:29pm UTC](https://prepomax.discourse.group/t/features-of-solver/287/5 "2022-07-08T20:29:11Z")

</div>

Dear Synt san,  
Thank you for your message!

> so, it depend on resource and how large is your model ? and right, in my experienced of large multipart contact analysis with plasticity. PaStiX is faster to convergence than MKL Pardiso.

Could you let me know what MKL means ?

---

<div class="post-metadata">

**Author:** ![PaoPao1970](https://avatars.discourse-cdn.com/v4/letter/p/d9b06d/32.png) [@PaoPao1970](https://prepomax.discourse.group/u/PaoPao1970)\
**Post date:** [July 8, 2022, 8:44pm UTC](https://prepomax.discourse.group/t/features-of-solver/287/6 "2022-07-08T20:44:45Z")

</div>

Dear lucas\_bueno san,

Thank you for your message.

> available in PPM

Could you let me know what PPM means ?

---

<div class="post-metadata">

**Author:** ![synt](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/synt/32/4658_2.png) [@synt](https://prepomax.discourse.group/u/synt)\
**Post date:** [July 8, 2022, 8:54pm UTC](https://prepomax.discourse.group/t/features-of-solver/287/7 "2022-07-08T20:54:55Z")

</div>

Math Kernel Library ([MKL](https://en.wikipedia.org/wiki/Math_Kernel_Library)) from Intel, regularly updates and available free to [download](https://www.intel.com/content/www/us/en/developer/tools/oneapi/onemkl-download.html?operatingsystem=window&distributions=webdownload&options=offline) as guest.

---

<div class="post-metadata">

**Author:** ![PaoPao1970](https://avatars.discourse-cdn.com/v4/letter/p/d9b06d/32.png) [@PaoPao1970](https://prepomax.discourse.group/u/PaoPao1970)\
**Post date:** [July 8, 2022, 8:58pm UTC](https://prepomax.discourse.group/t/features-of-solver/287/8 "2022-07-08T20:58:34Z")

</div>

Dear synt san,

Thank you very much for your reply!!

Need PaStiX,Spooles,Pardiso use additional dynamic linking library (dll) as follows ?

Could you let me know how to get dll from intel MKL ?  
Could you let me know where directory these dll be paste ?

libiomp5md  
mkl\_avx2.1  
mkl\_avx512.1  
mkl\_core.1  
mkl\_intel\_thread.1  
mkl\_rt.1  
mkl\_mc3.1

---

<div class="post-metadata">

**Author:** ![synt](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/synt/32/4658_2.png) [@synt](https://prepomax.discourse.group/u/synt)\
**Post date:** [July 8, 2022, 9:09pm UTC](https://prepomax.discourse.group/t/features-of-solver/287/9 "2022-07-08T21:09:52Z")

</div>

> [@PaoPao1970](#):
>
> Need PaStiX,Spooles,Pardiso use additional dynamic linking library (dll) as follows ?

no, it is only for Pardiso solver.

> [@PaoPao1970](#):
>
> Could you let me know how to get dll from intel MKL ?

please follow the download link i posted before.

> [@PaoPao1970](#):
>
> Could you let me know where directory these dll be paste ?

sub directories of installation folder  
…\windows\redist\intel64\_win\mkl  
…\windows\redist\intel64\_win\compiler  
…\windows\mkl\lib\intel64\_win

---

<div class="post-metadata">

**Author:** ![PaoPao1970](https://avatars.discourse-cdn.com/v4/letter/p/d9b06d/32.png) [@PaoPao1970](https://prepomax.discourse.group/u/PaoPao1970)\
**Post date:** [July 9, 2022, 2:15am UTC](https://prepomax.discourse.group/t/features-of-solver/287/10 "2022-07-09T02:15:36Z")

</div>

Dear synt san,  
Thank you for your message !

I have already installed on my PC  
Could you let me know which is dynamic linking library ?

![Intel](https://global.discourse-cdn.com/free1/uploads/prepomax/original/1X/00361a03e83906ed375d496c9d1ec63a9d3f472f.jpeg)

---

<div class="post-metadata">

**Author:** ![lucas\_bueno](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/lucas_bueno/32/1168_2.png) [@lucas\_bueno](https://prepomax.discourse.group/u/lucas_bueno)\
**Post date:** [July 9, 2022, 2:24am UTC](https://prepomax.discourse.group/t/features-of-solver/287/11 "2022-07-09T02:24:38Z")

</div>

> [@synt](#):
>
> PaStiX and Spooles solver are already to run from official distribution. also for Pardiso, however it requires additional dynamic linking library (dll) from Intel MKL to be copied in the same directory.

Didn’t know it, thanks for the advice. I will install them.

> [@PaoPao1970](#):
>
> Could you let me know what PPM means ?

It is PrePoMax abbreviature.

---

<div class="post-metadata">

**Author:** ![synt](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/synt/32/4658_2.png) [@synt](https://prepomax.discourse.group/u/synt)\
**Post date:** [July 9, 2022, 8:47pm UTC](https://prepomax.discourse.group/t/features-of-solver/287/12 "2022-07-09T20:47:31Z")

</div>

my notes above are for Intel MKL 2020/2021 versions. sorry i did not yet updates to the latest version (2022), but it seems the folder you shown only an extracted files not installation folder, is this right?

another easy method and straight forward are using ‘search’ feature of windows explorer in active or selected directories.

\*\*edited  
reading at another forums, for the latest version (2022) a substitute need change from 1 number to 2.

libiomp5md  
mkl\_core.2  
mkl\_def.2  
mkl\_intel\_thread.2  
mkl\_rt.2 or mkl\_rt.1(by renames)  
mkl\_mc3.2  
mkl\_avx2.2 or mkl\_avx512.2 (chose one)

notes, environment variables setting plays an important role (e.g processor type Intel(gen) or AMD, large of RAM memory, drive type/speed and space)

 ![2022-07-10 04_39_38-Edit Settings](https://global.discourse-cdn.com/free1/uploads/prepomax/original/1X/29914f859aa0e99ec6a012683038a210c101abf0.png)

---

<div class="post-metadata">

**Author:** ![jbr](https://avatars.discourse-cdn.com/v4/letter/j/ecccb3/32.png) [@jbr](https://prepomax.discourse.group/u/jbr)\
**Post date:** [July 9, 2022, 10:26pm UTC](https://prepomax.discourse.group/t/features-of-solver/287/13 "2022-07-09T22:26:24Z")

</div>

@synt I tried the newer MKL library (2022.0.1). However, I get a segmentation fault error (see below). Have you tried the newer version at all?

```auto
[Thread 4600.0x1f18 exited with code 0]
 Factoring the system of equations using the symmetric pardiso solver number of threads = 16
gdb: unknown target exception 0xc06d007e at 0x7ffd6ecc4fd9

Thread 1 received signal ?, Unknown signal.
0x00007ffd6ecc4fd9 in RaiseException () from C:\WINDOWS\System32\KernelBase.dll

```

---

<div class="post-metadata">

**Author:** ![synt](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/synt/32/4658_2.png) [@synt](https://prepomax.discourse.group/u/synt)\
**Post date:** [July 10, 2022, 12:24am UTC](https://prepomax.discourse.group/t/features-of-solver/287/14 "2022-07-10T00:24:06Z")

</div>

> [@synt](#):
>
> sorry i did not yet updates to the latest version (2022)

i will try later, not frequently used Pardiso solver. being use PaStiX solver since early supported versions.

but looking of your error messages, it seems the library is incomplete to be copied (some missing).

---

<div class="post-metadata">

**Author:** ![Matej](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@Matej](https://prepomax.discourse.group/u/Matej)\
**Post date:** [July 10, 2022, 8:05am UTC](https://prepomax.discourse.group/t/features-of-solver/287/15 "2022-07-10T08:05:33Z")

</div>

Some information about the Pardiso integration can also be found on the @i_rokach page about PrePoMax: [PrePoMax](http://www.tu.kielce.pl/~rokach/instr/ppm_main.htm).

---

<div class="post-metadata">

**Author:** ![i\_rokach](https://avatars.discourse-cdn.com/v4/letter/i/cdc98d/32.png) [@i\_rokach](https://prepomax.discourse.group/u/i_rokach)\
**Post date:** [July 10, 2022, 8:24am UTC](https://prepomax.discourse.group/t/features-of-solver/287/16 "2022-07-10T08:24:48Z")

</div>

IMHO the best _practica_l information about CCX solvers is available at this [Mecway forum](http://mecway.com/forum/discussion/1012/improving-performance-of-ccx-solver) page. Here you can find detailed and relatively easy to follow instructions how to compile the Out-Of-Core Pardiso version.

---

<div class="post-metadata">

**Author:** ![synt](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/synt/32/4658_2.png) [@synt](https://prepomax.discourse.group/u/synt)\
**Post date:** [July 10, 2022, 12:33pm UTC](https://prepomax.discourse.group/t/features-of-solver/287/17 "2022-07-10T12:33:31Z")

</div>

@i_rokach i read the pages and graph by translate (Google), also took some comparison on my machine with Iterative Cholesky solver but running time not shown faster than PaStiX as describe.

another curious, did you manage to compared Out-Of-Core and Dynamically Linking versions of Pardiso solver?

---

<div class="post-metadata">

**Author:** ![i\_rokach](https://avatars.discourse-cdn.com/v4/letter/i/cdc98d/32.png) [@i\_rokach](https://prepomax.discourse.group/u/i_rokach)\
**Post date:** [July 10, 2022, 1:26pm UTC](https://prepomax.discourse.group/t/features-of-solver/287/18 "2022-07-10T13:26:56Z")

</div>

It is typical for performance of iterative methods to be highly problem-dependent. In my case, a very simple static problem was solved. Due to this reason Cholesky solver was abnormally good. This is an educational web page and some examples are purely educational. When more real-life FE models are used, performance of CCX iterative solvers is usually poor. BTW, PaStiX solver is the mixed direct-iterative one. This is one of the reason it is so good for small and medium size problems.  
I have never tried to compare OOC and in-core versions of Pardiso.

---

<div class="post-metadata">

**Author:** ![synt](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/synt/32/4658_2.png) [@synt](https://prepomax.discourse.group/u/synt)\
**Post date:** [July 10, 2022, 4:14pm UTC](https://prepomax.discourse.group/t/features-of-solver/287/19 "2022-07-10T16:14:58Z")

</div>

> [@i\_rokach](#):
>
> This is one of the reason it is so good for small and medium size problems

thanks for sharing experiences. i did not try personally at very big models, however another user with PaStiX subset “\_i8” versions reported successfully for large problems.

---

<div class="post-metadata">

**Author:** ![PaoPao1970](https://avatars.discourse-cdn.com/v4/letter/p/d9b06d/32.png) [@PaoPao1970](https://prepomax.discourse.group/u/PaoPao1970)\
**Post date:** [July 10, 2022, 11:43pm UTC](https://prepomax.discourse.group/t/features-of-solver/287/20 "2022-07-10T23:43:11Z")

</div>

Dear lucas\_bueno san,  
Thank you very much for your kindly reply!!!

[Next page](https://prepomax.discourse.group/t/features-of-solver/287.md?page=2)
