<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font face="Ubuntu">Thank you.<br>
I tried to run with<br>
<br>
-pc_type mg -pc_mg_levels 3<br>
<br>
but I got the following error:<br>
<br>
[0]PETSC ERROR: --------------------- Error Message
------------------------------------<br>
[0]PETSC ERROR: Object is in wrong state!<br>
[0]PETSC ERROR: Must call PCMGSetInterpolation() or
PCMGSetInterpolation()!<br>
[0]PETSC ERROR:
------------------------------------------------------------------------<br>
[0]PETSC ERROR: Petsc Release Version 3.3.0, Patch 3, Wed Aug 29
11:26:24 CDT 2012<br>
[0]PETSC ERROR: See docs/changes/index.html for recent updates.<br>
[0]PETSC ERROR: See docs/faq.html for hints about trouble
shooting.<br>
[0]PETSC ERROR: See docs/index.html for manual pages.<br>
[0]PETSC ERROR:
------------------------------------------------------------------------<br>
[0]PETSC ERROR: ./hit on a named nid06898 by Unknown Fri May 17
17:11:09 2013<br>
[0]PETSC ERROR: Libraries linked from<br>
[0]PETSC ERROR: Configure run at<br>
[0]PETSC ERROR: Configure options<br>
[0]PETSC ERROR:
------------------------------------------------------------------------<br>
[0]PETSC ERROR: PCMGGetInterpolation() line 182 in
src/ksp/pc/impls/mg/mgfunc.c<br>
[0]PETSC ERROR: PCSetUp_MG() line 638 in src/ksp/pc/impls/mg/mg.c<br>
[0]PETSC ERROR: PCSetUp() line 832 in
src/ksp/pc/interface/precon.c<br>
[0]PETSC ERROR: KSPSetUp() line 278 in
src/ksp/ksp/interface/itfunc.c<br>
<br>
<br>
</font>
<div class="moz-cite-prefix">On 05/17/2013 02:16 PM, Jed Brown
wrote:<br>
</div>
<blockquote cite="mid:87sj1lnw89.fsf@mcs.anl.gov" type="cite">
<pre wrap="">Michele Rosso <a class="moz-txt-link-rfc2396E" href="mailto:mrosso@uci.edu"><mrosso@uci.edu></a> writes:
</pre>
<blockquote type="cite">
<pre wrap="">Thank you.
I will ask to update to 3.4 but I am working on a supercomputer thus I
do not have control on the installed software.
</pre>
</blockquote>
<pre wrap="">
You can install in your $HOME.
</pre>
<blockquote type="cite">
<pre wrap="">So you suggest to use conjugate gradient + multigrid as preconditioner,
correct?
</pre>
</blockquote>
<pre wrap="">
Yes
</pre>
<blockquote type="cite">
<pre wrap="">If so, I retain
-ksp_type cg
instead of
-ksp_type richardson
correct?
</pre>
</blockquote>
<pre wrap="">
Yes
</pre>
</blockquote>
<br>
</body>
</html>