[Getdp] petsc-ICCG Solver-Gmsh/Getdp

Ruth V. Sabariego r.sabariego at ulg.ac.be
Sat Dec 15 07:54:25 CET 2012


You have to change the options of default solver, either adding the fowolling lines to a file mypetsc.par: 

-ksp type cg
-pc_type icc

and then 
getdp myfile.pro -solve myresolution -solver mypetsc.par

or direct from the command line
getdp myfile.pro -solve myresolution -ksp_type cg -pc_type icc

You can have a look to petsc manual for getting all the possibilities:
http://www.mcs.anl.gov/petsc/petsc-current/docs/manual.pdf

Best regards,
Ruth

—
Dr. Ir. Ruth V. Sabariego
University of Liege, Electrical Engineering and Computer Science
http://ace.montefiore.ulg.ac.be/







On 14 Dec 2012, at 17:59, emilio at grucad.ufsc.br wrote:

> Does anyone have any examples of how to use petsc (ICCG Solver) with Gmsh / Getdp?
> 
> Best regards,
> 
> Emílio
> 
> ----------------------------------------------------------------
> Serviço de email do GRUCAD
> Grupo de Concepção e Análise de Dispositivos Eletromagnéticos
> Universidade Federal de Santa Catarina. Florianópolis - Brasil
> 
> 
> _______________________________________________
> getdp mailing list
> getdp at geuz.org
> http://www.geuz.org/mailman/listinfo/getdp

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/getdp/attachments/20121215/e67209ec/attachment.html>