Hi Wei-keng,<div><br></div><div> Thanks for your reply. I added that printf to print the error message, and I get this error message:</div><div><br></div><div> <font class="Apple-style-span" color="#FF0000">Error message : Size of off_t too small for requested format</font></div>
<div><br></div><div> What should I do to resolve it ?</div><div><br></div><div>Thanks & Regards,</div><div>Kunal</div><div><br><div class="gmail_quote">On Wed, Oct 20, 2010 at 10:58 AM, Wei-keng Liao <span dir="ltr"><<a href="mailto:wkliao@ece.northwestern.edu">wkliao@ece.northwestern.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi, Kunal<br>
<br>
You can use ncmpi_strerror to print the error message. For example,<br>
printf("Error message : %s\n", ncmpi_strerror(status));<br>
<br>
This error means the open mode NC_64BIT_OFFSET is not allowed on a 32bit machine.<br>
Try remove it and see if it works.<br>
<font color="#888888"><br>
Wei-keng<br>
</font><div><div></div><div class="h5"><br>
On Oct 20, 2010, at 5:38 AM, Kunal Rao wrote:<br>
<br>
> Hi<br>
><br>
> I had planned to do this in June but lost track of it in between. I came back to doing this few days back.<br>
><br>
> Now, I have been able to successfully build the parallel netCDF on Windows using mingw compiler with cygwin and link against<br>
> MSMPI . ("configure", "make" and "make install" steps were completed successfully).<br>
><br>
> I tried linking this library and the header file with my application which supports parallel netcdf.<br>
> The compilation of the application went fine, but while running the application, I am getting problem with ncmpi_create api.<br>
><br>
> there is a call to this function as follows:<br>
><br>
> --------<br>
> status = ncmpi_create(MPI_COMM_WORLD, local_filename, NC_CLOBBER | NC_64BIT_OFFSET, FILE_INFO_TEMPLATE, file_identifier);<br>
><br>
> --------<br>
> This returns value as -25 and gives error. ( If proper, it should have returned 0 I guess..)<br>
><br>
> Can you please let me know what this return value means and what could be going wrong ?<br>
> Also, how do I verify if the library built is proper ?<br>
><br>
> Thanks & Regards,<br>
> Kunal<br>
><br>
><br>
><br>
> On Fri, Jun 4, 2010 at 3:14 PM, Rob Latham <<a href="mailto:robl@mcs.anl.gov">robl@mcs.anl.gov</a>> wrote:<br>
> On Fri, Jun 04, 2010 at 03:10:53PM -0400, kunal rao wrote:<br>
> > Hi,<br>
> ><br>
> > I would like to build Pnet-CDF for Windows and link against MSMPI. Can you<br>
> > please tell me the steps on how to do that?<br>
><br>
> You are in for something of an adventure. I don't have any windows<br>
> experience, but maybe someone on the list does.<br>
><br>
> I think if you used cygwin you might get pretty far, but I don't know<br>
> how cygwin libraries interact with something like MSMPI.<br>
><br>
> I'll be more than happy to add a README.windows to the distribution if<br>
> you figure it out :><br>
><br>
> ==rob<br>
><br>
> --<br>
> Rob Latham<br>
> Mathematics and Computer Science Division<br>
> Argonne National Lab, IL USA<br>
><br>
<br>
</div></div></blockquote></div><br></div>