Re: [netcdfgroup] How to enable has-f90 in NetCDF-F?

*On 05/29/2015 04:20 AM, Carl Ponder wrote:*

    I'm building NetCDF-F 4.4.2 with the Intel, GNU and PGI compilers,
    and am seeing this configuration setting

          --has-f90   -> no

    when I run

        nf-config --all

*On 05/29/2015 10:18 AM, Carl Ponder wrote:*

    Digging around some more, I see these lines in theconfigure script:

        5283 # Set the default fortran builds; default is to build f03
        5284 *nc_build_f90=no*
        5285 *nc_build_f03=yes*
                   ......
        5543 # Guarantee build state; f90 currently overrides f03
        5544 if test "x$nc_build_f90" = xyes ; then
        5545   nc_build_f03=no
        5546 else
        5547   nc_build_f03=yes
        5548 fi

    Does this mean that NetCDF can be compiled with the F2003
    interfaces or the F77 interfaces but not both?

As an experiment I tried building with--disable-f03, but still got the same configuration:

      --has-f90   -> no
      --has-f03   -> yes

Likewise the F2003 interfaces were still generated:

   include/netcdf4_f03.mod  include/netcdf_f03.mod



-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may 
contain
confidential information.  Any unauthorized review, use, disclosure or 
distribution
is prohibited.  If you are not the intended recipient, please contact the 
sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------
  • 2015 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: