Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

Using the "old" fortran jackets with netcdf-3.1a

Happy Monday, gang.

At the end of this message find a patch to netcdf-3.1a/src/libsrc/v2i.c
which allows the use of the version 2.4.x "fortran jackets"
with the netcdf-3 C code core. You would only need to apply this
patch if you have existing netcdf FORTRAN code which you want
to link against netcdf-3.1. This patch has been incorporated
into the distribution in
ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-3.1a.tar.Z

Here is one way to use netcdf-3.1 library with the netcdf-2.4 
distribution:

        run configure using the same parameters in both this release
                and netcdf-2.4.x

        Build (make) and test (make test) both releases.

        In the netcdf-2.4 src directory, 'make clean'.
        Move libsrc out of the way, and make a link to the
        libsrc directory of netcdf-3.1a.

        In the netcdf-2.4 src directory, 'make test' again and
        'make install'.

This installs a 3.1 netcdf library that includes the v2.4 'jackets.o'
module. It also builds 'ncdump' and 'ncgen' using the 3.1 library.

You could also try simply "extracting" jackets.o from your netcdf-2.4
library and adding it to the netcdf-3 libnetcdf.a.

I don't have a timetable for full netcdf-3.1 release.
Figure minimum of a month, possibly quite a bit longer.

-glenn

 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690