<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi, <br>
<br>
I changed the vs2008 and linux source code to
VecView(x,PETSC_VIEWER_STDOUT_WORLD,ierr) but the results for both
outputs are 0 and 0.0416667 (except for one value which is
0.0833333) respectively.<br>
<pre class="moz-signature" cols="72">Yours sincerely,
TAY wee-beng</pre>
<br>
On 22/4/2012 9:35 PM, Jed Brown wrote:
<blockquote
cite="mid:CAM9tzSnQ6oJaPtgguKAVjRbE18ioE6OcAnNTqeHx=aYpu58azQ@mail.gmail.com"
type="cite">
<div class="gmail_quote">On Sun, Apr 22, 2012 at 14:30, TAY
wee-beng <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:zonexo@gmail.com">zonexo@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 bgcolor="#FFFFFF" text="#000000">Sorry for the mistake. I
tried again, changing to "call VecView(x,0,ierr)"<br>
<br>
but still got the same error:</div>
</blockquote>
</div>
<br>
<div>0 has the wrong type. Use
VecView(x,PETSC_VIEWER_STDOUT_WORLD,ierr)</div>
</blockquote>
</body>
</html>