NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: [netcdfgroup] what is status of netCDF3 vs netCDF4?

Can one build the Fortran bindings without building beforehand the
C bindings?
I don't think so.
At least not up to NetCDF 4.3.0 (C), 4.2 (Fortran)
, cxx4-4.2.1 (C++), the last ones I built.

As far as I know, everything linked to the Fortran bindings (-lnetcdff)
requires linking to the C library as well (-lnetcdf).
Likewise for C++.

Isn't this the chain of wrappers?
F90 -> Fortran -> C
C++ -> C

Thank you,
Gus Correa

On 11/06/2014 02:49 PM, Nick Papior Andersen wrote:
Well, F03, is still a wrapper, but not in the same way as the older
versions :)

2014-11-06 19:48 GMT+00:00 Nick Papior Andersen <nickpapior@xxxxxxxxx
<mailto:nickpapior@xxxxxxxxx>>:

    My basic understanding is this:
    1. The "old" version of the fortran library (<=4.2) was just a wrapper
    1a. The F90 interface was a wrapper for the fortran library.
    2. Later versions can utilize the fortran 03 library which is a (to
    my understanding) complete interface to the c library using F03
    standard interface operability, so here it is not a wrapper.
    2a. If not compiled against the F03 std it is very similar (if not
    totally?) to the older versions.

    2014-11-06 19:30 GMT+00:00 Chris Barker <chris.barker@xxxxxxxx
    <mailto:chris.barker@xxxxxxxx>>:

        On Thu, Nov 6, 2014 at 11:10 AM, Nick Papior Andersen
        <nickpapior@xxxxxxxxx <mailto:nickpapior@xxxxxxxxx>> wrote:

            Sure, it was more a pedantic outburst... :)
            I just think supplying both is crucial. :)


        Sure -- and I haven't looked at th code -- is the Fortran lib
        just a wrapper around the C lib anyway?

        -Chris

        --

        Christopher Barker, Ph.D.
        Oceanographer

        Emergency Response Division
        NOAA/NOS/OR&R (206) 526-6959 <tel:%28206%29%20526-6959>   voice
        7600 Sand Point Way NE (206) 526-6329
        <tel:%28206%29%20526-6329>   fax
        Seattle, WA  98115 (206) 526-6317 <tel:%28206%29%20526-6317>
        main reception

        Chris.Barker@xxxxxxxx <mailto:Chris.Barker@xxxxxxxx>




    --
    Kind regards Nick




--
Kind regards Nick


_______________________________________________
netcdfgroup mailing list
netcdfgroup@xxxxxxxxxxxxxxxx
For list information or to unsubscribe,  visit: 
http://www.unidata.ucar.edu/mailing_lists/




  • 2014 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: