<div dir="ltr"><div>This error shows up when you have several functions that has their own PetscInitialize and PetscFinalize calls. When a single call is made to these function everything seems OK. I thing some data is not properly finalized in Petsc..<br><br></div>ALp<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 4, 2014 at 1:07 AM, Alp Kalpalp <span dir="ltr"><<a href="mailto:alpkalpalp@gmail.com" target="_blank">alpkalpalp@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>H,<br> <br>Here is the message I get when PCBDDCCreateFETIDPOperators() is called;<br><br></div>Thanks;<br><div><div><br>[0]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------<br>[0]PETSC ERROR: Unknown type. Check for miss-spelling or missing package: <a href="http://www.mcs.anl.gov/petsc/documentation/ins" target="_blank">http://www.mcs.anl.gov/petsc/documentation/ins</a><br>tallation.html#external<br>[0]PETSC ERROR: Unknown Mat type given: schurcomplement<br>[0]PETSC ERROR: See <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html" target="_blank">http://www.mcs.anl.gov/petsc/documentation/faq.html</a> for trouble shooting.<br>[0]PETSC ERROR: Petsc Development GIT revision: v3.5.2-1067-gf685883 GIT Date: 2014-12-02 13:26:28 -0600<br>[0]PETSC ERROR: Unknown Name on a BDDC_ICL_DEBUG named SEMIH-PC by semih Thu Dec 04 01:02:10 2014<br>[0]PETSC ERROR: Configure options --with-cc="win32fe icl" --with-cxx="win32fe icl" --with-fc="win32fe ifort" --with-blas<br>-lapack-dir=/cygdrive/c/MKL/lib/intel64 --with-hypre-include=/cygdrive/c/EXTRLIBS/include/HYPRE --with-hypre-lib=/cygdri<br>ve/c/EXTRLIBS/lib/HYPRE.lib --with-scalapack-include=/cygdrive/c/MKL/include --with-scalapack-lib="[/cygdrive/c/MKL/lib/<br>intel64/mkl_scalapack_lp64_dll.lib,/cygdrive/c/MKL/lib/intel64/mkl_blacs_msmpi_lp64.lib]" --with-metis-include=/cygdrive<br>/c/EXTRLIBS/include/parametis --with-metis-lib=/cygdrive/c/EXTRLIBS/lib/metis.lib --with-parmetis-include=/cygdrive/c/EX<br>TRLIBS/include/parametis --with-parmetis-lib="[/cygdrive/c/EXTRLIBS/lib/parmetis.lib,/cygdrive/c/EXTRLIBS/lib/metis.lib]<br>" --with-mpi-include=/cygdrive/c/MSMPI/Inc/ --with-mpi-lib="[/cygdrive/c/MSMPI/Lib/amd64/msmpi.lib,/cygdrive/c/MSMPI/Lib<br>/amd64/msmpifec.lib]" --with-shared-libraries --useThreads=0 --with-pcbddc --PETSC_ARCH=BDDC_ICL_DEBUG --useThreads=0<br>[0]PETSC ERROR: #1 MatSetType() line 63 in C:\cywgin64\home\semih\PETSCM~1\src\mat\INTERF~1\matreg.c<br>[0]PETSC ERROR: #2 MatCreateSchurComplement() line 212 in C:\cywgin64\home\semih\PETSCM~1\src\ksp\ksp\utils\schurm.c<br>[0]PETSC ERROR: #3 PCBDDCSetupFETIDPPCContext() line 557 in C:\cywgin64\home\semih\PETSCM~1\src\ksp\pc\impls\bddc\bddcfe<br>tidp.c<br>[0]PETSC ERROR: #4 PCBDDCCreateFETIDPOperators_BDDC() line 1691 in C:\cywgin64\home\semih\PETSCM~1\src\ksp\pc\impls\bddc<br>\bddc.c<br>[0]PETSC ERROR: #5 PCBDDCCreateFETIDPOperators() line 1737 in C:\cywgin64\home\semih\PETSCM~1\src\ksp\pc\impls\bddc\bddc<br></div></div></div>
</blockquote></div><br></div>