<div dir="ltr">Okay I got it, the 3rd parameter needs to be integer*8.<div><br></div><div>Nikhil<br><br><div class="gmail_quote">On Wed, Oct 15, 2008 at 12:15 AM, Nikhil Laghave <span dir="ltr"><<a href="mailto:nikhill@iastate.edu">nikhill@iastate.edu</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">Hello All,<br><br>Can anyone find some mistake in this function call ?<br><br>retval = nfmpi_def_dim(ncid,'x',NX,x_dimid)<br>
<br>This is the syntax i got from several documents but I keep getting this error because of this line:<br>
<br>Error: <br>0: Invalid dimension size<br><br>The variables are declared as:<br> integer NX, NY<br> parameter (NX = 16)<br><br> integer ncid<br> integer x_dimid, y_dimid<br><br>The file gets created collectively and then I get this error when I try to define the dimensions for the variable.<br>
Can someone plz point out the error so that I can get a start with pnetcdf ? I have also attached the file with this emai.<br><br>Thanks in anticipation.<br><br clear="all"><br>-- <br>Regards,<br>Nikhil<br>
</div>
</blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>Nikhil<br>
</div></div>