[petsc-users] KSPSolve takes more in each iteration

Orxan Shibliyev orxan.shibli at gmail.com
Mon Jul 20 19:35:21 CDT 2015


I am solving a non-linear problem. Basically I do the following:

... Allocate A, x, b, ksp ...

for_loop
    ... call myFunction ...

where,

myFunction:
    ...
    startTime
    KSPSolve
    stopTime
    ....

I record time for KSPSolve. It takes more each time until it becomes
impossible to wait. I put the code on a cluster with (14 x 1) processors.
Any idea?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150720/dfe453dc/attachment.html>


More information about the petsc-users mailing list