<div dir="ltr"><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div>Hi Barry,</div><div><br></div><div>I have a quick question on PC Galerking as I am trying to do the same thing reported in this post: <a href="https://urldefense.us/v3/__https://lists.mcs.anl.gov/pipermail/petsc-users/2017-June/032934.html__;!!G_uCfscf7eWS!bQ0VYCU_TuGCB-803OHYrdOURUwlOpEAp1j5pu1v1Kh6eUgPPdRF_wkiLfrW342u8LNZ4mpCiqz4OxsAOywju5ZUi9bIZUs$">https://lists.mcs.anl.gov/pipermail/petsc-users/2017-June/032934.html</a></div><div><br></div><div>This my command line:</div><div>mpirun -np 4 flubio_coupled<b> -UPeqn_pc_type composite -UPeqn_pc_composite_pcs galerkin,bjacobi -UPeqn_sub_0_galerkin_ksp_type preonly -UPeqn_sub_0_galerkin_pc_type none</b><br></div><div><br></div><div>And this is the error:</div><div>[0]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------<br>[0]PETSC ERROR: Object is in wrong state<br>[0]PETSC ERROR: Must set operator of PCGALERKIN KSP with PCGalerkinGetKSP()/KSPSetOperators()<br></div><div><br></div><div>Do I need to set something for PCGALERKING in my code to make it work from command line? <br></div><div><br></div><div>Thank you!</div><div><br></div></div></div></div></div>