> On Dec 11, 2014, at 9:33 PM, Fande Kong <[email protected]> wrote: > > Hi all, > > How to call a Lapack routine to solve a dense linear system? Any simple > example?
Create the Mat with MatCreateSeqDense() then create the usual KSP and use
for the solver options -pc_type lu -ksp_type preonly
See src/ksp/ksp/examples/tutorials/ex30.c
Barry
>
> Thanks,
>
