Amesos-Pardiso: How do I change the number of threads?
Created by: freaklovesmango
I am working with Pardiso and the examples provided by Amesos: https://github.com/trilinos/Trilinos/tree/master/packages/amesos/example
It works properly, but if I execute the compare-file, the time measured for Pardiso is worse than for Klu. Since it should work parallel, I expect better values. I think, the problem is that in Amesos_Pardiso.cpp in https://github.com/trilinos/Trilinos/tree/master/packages/amesos/src the number of processes is only 1. I think I cannot change via omp_set_num_threads()
, the variable num_procs
or alike.
Does anybody now how to change the number of process or how I really apply OpenMP to the program?
Thanks in advance :)