parallel netcdf version info

Jim Edwards edwards.jim at gmail.com
Mon Jan 4 09:21:53 CST 2010


Hi Rob,

Happy New Year!   While you are looking into that I've found another issue
in configure I wonder if you could look into...

In configure.in at around  line 429 is some code that converts comments in
pnetcdf.inc from c-style to fortran-style, this code does not get reproduced
in config.status - so if you run config.status it ends up corrupting the
pnetcdf.inc file.

Also - to complete the F90 interface I need to modify the *.c files in the
src/libf directory.   These files have a header line that states:

This file is automatically generated by buildiface -infile=../lib/pnetcdf.h
> -deffile=defs
>  * DO NOT EDIT
>

but I cannot find the program buildiface in the repository?

- Jim


On Mon, Jan 4, 2010 at 7:50 AM, Rob Latham <robl at mcs.anl.gov> wrote:

> On Wed, Dec 30, 2009 at 03:24:44PM -0700, Jim Edwards wrote:
> > I gave it a try to write something into configure but then realized
> > that I would need to be able to link mpi in order to call the
> > ncmpi_inq_libvers function which is something that you cannot do
> > from configure on all platforms.     I added a call in my libraries
> > init function to that function so that I will get a runtime failure
> > with a descent error message if the version is too old.
>
> OK, here's what I'll do:  I want to avoid run-time things here because
> those tests won't work on BlueGene or other cross-compile
> environments. I will add some macros in pnetcdf.h that we can use at
> compile time:
>
> - PNETCDF_VERSION_MAJOR
> - PNETCDF_VERSION_MINOR
> - PNETCDF_VERSION_SUB
> - PNETCDF_VERSION_SVN
>
> I'll let you know when I've got that in place.
>
> ==rob
>
> --
> Rob Latham
> Mathematics and Computer Science Division
> Argonne National Lab, IL USA
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/parallel-netcdf/attachments/20100104/87d862c2/attachment.htm>


More information about the parallel-netcdf mailing list