<div dir="ltr">ex45 uses DMDA, so it cannot be used to test for PCBDDC. Instead, after configuring -with-pcbddc=1, you can use src/ksp/ksp/examples/tutorials/ex59.c (Laplacian discretized with spectral elements)<div><br></div>
<div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/6/13 Jed Brown <span dir="ltr"><<a href="mailto:jedbrown@mcs.anl.gov" target="_blank">jedbrown@mcs.anl.gov</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
"Zhenglun (Alan) Wei" <<a href="mailto:zhenglun.wei@gmail.com">zhenglun.wei@gmail.com</a>> writes:<br>
<br>
> Dear All,<br>
> I hope you're having a nice day.<br>
> I'm trying to use BDDC as a preconditioner. The executable command is:<br>
> /mpiexec -np 8 ./ex45 -pc_type bddc -ksp_type cg -ksp_rtol 1.0e-7<br>
> -log_summary//<br>
<br>
This example does not assemble in MATIS format, so it cannot be used<br>
with BDDC.<br>
<br>
> ///However, it say:<br>
> /[//0]PETSC ERROR: --------------------- Error Message<br>
> ------------------------------------//<br>
> //[0]PETSC ERROR: Unknown type. Check for miss-spelling or missing<br>
> external package needed for type://<br>
> //see<br>
> <a href="http://www.mcs.anl.gov/petsc/documentation/installation.html#external!//" target="_blank">http://www.mcs.anl.gov/petsc/documentation/installation.html#external!//</a><br>
> //[0]PETSC ERROR: Unable to find requested PC type bddc!//<br>
<br>
Configure --with-pcbddc.<br>
<br>
This will be enabled by default soon.<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><pre cols="72"><font><span style="font-family:garamond,serif"><span style="font-family:garamond,serif"></span>Ph. D. Stefano Zampini<br>CINECA
SuperComputing Applications and Innovations Department - SCAI
Via dei Tizii, 6 00185 Roma - ITALY
------------------------------------------------------------------------------------------------------------------------
Email: <a href="mailto:s.zampini@cineca.it" target="_blank"><span>s.zampini@cineca.it</span></a>
SkypeID: stefano.zampini
GoogleTalk: <a href="mailto:stefano.zampini@gmail.com" target="_blank">stefano.zampini@gmail.com</a>
Tel: <a value="+390644486720">+39 06.44486.707<br></a></span></font><a value="+390644486720"><font><span style="font-family:garamond,serif">------------------------------------------------------------------------------------------------------------------------
</span></font><br></a></pre></div>
</div>