Weird error with nfmpi_def_dim
Nikhil Laghave
nikhill at iastate.edu
Wed Oct 15 00:15:55 CDT 2008
Hello All,
Can anyone find some mistake in this function call ?
retval = nfmpi_def_dim(ncid,'x',NX,x_dimid)
This is the syntax i got from several documents but I keep getting this
error because of this line:
Error:
0: Invalid dimension size
The variables are declared as:
integer NX, NY
parameter (NX = 16)
integer ncid
integer x_dimid, y_dimid
The file gets created collectively and then I get this error when I try to
define the dimensions for the variable.
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.
Thanks in anticipation.
--
Regards,
Nikhil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/parallel-netcdf/attachments/20081015/4ed75346/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: simple.f
Type: text/x-fortran
Size: 3146 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/parallel-netcdf/attachments/20081015/4ed75346/attachment.bin>
More information about the parallel-netcdf
mailing list