- Thank you received: 0
Solve time
3 years 1 week ago - 3 years 1 week ago #4110
by NV
Solve time was created by NV
Hello Everyone,
I have some problems with the solving speed on my windows computer. The solving procedure is a couple of times slower compared to solving the same solid mechanical problem on my Apple macbook. I cannot imagine this is only due to the hardware setting.
On the windows pc im using:
On the Macbook I probably did not have to use pardiso but I can't check it anymore.
Do you have ideas why it is so much slower or tips how to solve the problem faster (e.g. use of another sparse solver)?
I have some problems with the solving speed on my windows computer. The solving procedure is a couple of times slower compared to solving the same solid mechanical problem on my Apple macbook. I cannot imagine this is only due to the hardware setting.
On the windows pc im using:
Code:
ngsolve.solvers.Newton(bfa, solution, inverse="pardiso", dirichletvalues=solution.vec)
Do you have ideas why it is so much slower or tips how to solve the problem faster (e.g. use of another sparse solver)?
Last edit: 3 years 1 week ago by NV.
3 years 1 week ago #4112
by joachim
Replied by joachim on topic Solve time
Hi NV,
check the number running threads. If you use TaskManager from ngsolve, and pardiso/mkl uses multithreading it may happen that you heavily overload you machine. Here an MKL_NUM_THREADS=1 or similar helps.
if your system matrix is symmetric and positive definite, try the ngsolve-internal solver:
Joachim
check the number running threads. If you use TaskManager from ngsolve, and pardiso/mkl uses multithreading it may happen that you heavily overload you machine. Here an MKL_NUM_THREADS=1 or similar helps.
if your system matrix is symmetric and positive definite, try the ngsolve-internal solver:
Code:
inverse="sparsecholesky"
Joachim
The following user(s) said Thank You: Nils
3 years 4 days ago #4118
by Nils
Replied by Nils on topic Solve time
Hi Joachim,
as always you helped a lot, thank you very much. It was just the TaskManager() which has not been used and on Windows only a single thread was running.
Wish you all merry Christmas and a good start into 2022.
Best regards,
Nils
as always you helped a lot, thank you very much. It was just the TaskManager() which has not been used and on Windows only a single thread was running.
Wish you all merry Christmas and a good start into 2022.
Best regards,
Nils
Time to create page: 0.106 seconds