<html>
<head>
</head>
<body class='hmmessage'><div dir='ltr'>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<div dir="ltr">Hi, <br>I am trying to set up a fieldsplit preconditioner for my Cahn Hilliard solver and I get the following error, <div><br></div><div><br></div><div><div><br></div><div>[0]PETSC ERROR: --------------------- Error Message ------------------------------------</div><div>[0]PETSC ERROR: Petsc has generated inconsistent data!</div><div>[0]PETSC ERROR: Unhandled case, must have at least two fields, not 0!</div><div>[0]PETSC ERROR: ------------------------------------------------------------------------</div></div><div><br></div><div>These are the options that I am using, </div><div><div>-ch_solve is just a prefix. </div><div><br></div><div><br></div><div><br></div><div>-<span style="font-size: 12pt;">ch_solve_pc_type fieldsplit</span></div><div>-ch_solve_pc_fieldsplit_type schur</div><div>-ch_solve_fieldsplit_block_size 2</div><div>-ch_solve_fieldsplit_0_field 1</div><div>-ch_solve_fieldsplit_1_field 0</div><div>-ch_solve_fieldsplit_0_ksp_type cg </div><div>-ch_solve_fieldsplit_0_pc_type hypre</div><div>-ch_solve_fieldsplit_0_pc_type_hypre boomeramg </div><div>-ch_solve_fieldsplit_1_ksp_type cg</div><div>-ch_solve_fieldsplit_1_pc_type hypre </div><div>-ch_solve_fieldsplit_1_pc_type_hypre boomeramg</div></div><div><br></div><div>Any ideas?</div><div><br></div><div>Thanks,</div><div>Subramanya </div><div><br></div></div>
</div></body>
</html>