[petsc-users] SuperLU_Dist - set options from within code

Matthew Knepley knepley at gmail.com
Tue Sep 18 11:21:46 CDT 2018


On Tue, Sep 18, 2018 at 12:12 PM Shashwat Sharma <shash_91 at hotmail.com>
wrote:

> Hello,
>
> I'm using Petsc with SuperLU_Dist, and I need to run it with the
> option -mat_superlu_dist_replacetinypivot. I'd like to be able to set this
> option (or other SuperLu_Dist options) directly from within my code, rather
> than the command line during run-time. Is there a way to do this?
>

http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Sys/PetscOptionsSetValue.html

  Thanks,

    Matt


> Thanks!
>
>

-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener

https://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20180918/eb50e81f/attachment.html>


More information about the petsc-users mailing list