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] spurious print in nf90_put_var_2D_FourByteInt()

  • To: Matthew West <mwest@xxxxxxxxxxxx>
  • Subject: Re: [netcdfgroup] spurious print in nf90_put_var_2D_FourByteInt()
  • From: Ed Hartnett <ed@xxxxxxxxxxxxxxxx>
  • Date: Mon, 22 Aug 2011 05:23:29 -0600
Matthew West <mwest@xxxxxxxxxxxx> writes:

> Hi all,
>
> It seems that in version 4.1.3 of NetCDF a spurious print statement
> was inserted in the nf90_put_var_2D_FourByteInt() function in
> f90/netcdf_expanded.f90.
>
> This causes our code to segfault as it is writing a 2D integer array
> with less than 4 columns.
>
> I've included a patch below that removes the problem line. This extra
> print statement is still in netcdf-fortran-4.2-beta2.
>
> Best regards,
> Matt.
>
>

Thanks Matt!

I have fixed this in the source code, and the fix will be incorporated
into the 4.2 release of the netcdf-fortran libraries (the first
stand-alone release for the fortran libraries.)

Thanks!

Ed
-- 
Ed Hartnett  -- ed@xxxxxxxxxxxxxxxx



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