Jim
If the USE statement (use netcdf, only: nf90_def_var_fill) is giving
you an error it probably means that the source file netcdf4_overloads.f90 was
not included in the final netcdf module. For the nf90_ routines, only the final
netcdf module gets compiled. All the other files are added to netcdf.f90 via
INCLUDE statements and don't get compiled separately. This points to a configure
or Cmake issue. It should work if the build process actually included the file.
You might try using the development branch. The source code there is
essentially the same as 4.4.1. Most of the changes are to the Cmake build files
etc.
RW
On 02/06/2015 09:44 AM, Jim Edwards wrote:
Hi Richard,
I'm not sure that you answered the question. If I do
use netcdf, only: nf90_def_var_fill
I do have a netcdf4 build - should it work or not? It doesn't in the 4.3.3-rc3
version.
On Fri, Feb 6, 2015 at 7:49 AM, Richard Weed <rweed@xxxxxxxxxxxxxxxx
<mailto:rweed@xxxxxxxxxxxxxxxx>> wrote:
Jim
nf90_def_var_fill is an interface name that overloads several type
specific routines. It is defined in fortran/netcdf4_overloads.f90.
It will should be visible in any netcdf-fortran build that selects
netcdf-4 support. You won't see it if you don't build with netcdf-4
support. In previous versions of the Fortran interfaces nf90_def_var_fill
was a standalone routine but it actually didn't support type specific
fills. This was reported as a bug by a user.
RW
On 02/04/2015 05:29 PM, Jim Edwards wrote:
netCDF-Fortran 4.4.1 seems to have a bug in that nf90_def_var_fill isn't
defined
in the module.
--
Jim Edwards
CESM Software Engineer
National Center for Atmospheric Research
Boulder, CO
_________________________________________________
netcdfgroup mailing list
netcdfgroup@xxxxxxxxxxxxxxxx <mailto:netcdfgroup@xxxxxxxxxxxxxxxx>
For list information or to unsubscribe, visit:
http://www.unidata.ucar.edu/__mailing_lists/
<http://www.unidata.ucar.edu/mailing_lists/>
--
---
-----
Richard Weed, Ph.D.
Associate Research Professor
Center for Advanced Vehicular Systems (CAVS)
Mississippi State University
email: rweed@xxxxxxxxxxxxxxxx <mailto:rweed@xxxxxxxxxxxxxxxx>
Phone: (662) 325-5450 <tel:%28662%29%20325-5450>
_________________________________________________
netcdfgroup mailing list
netcdfgroup@xxxxxxxxxxxxxxxx <mailto:netcdfgroup@xxxxxxxxxxxxxxxx>
For list information or to unsubscribe, visit:
http://www.unidata.ucar.edu/__mailing_lists/
<http://www.unidata.ucar.edu/mailing_lists/>
--
Jim Edwards
CESM Software Engineer
National Center for Atmospheric Research
Boulder, CO
--
---
-----
Richard Weed, Ph.D.
Associate Research Professor
Center for Advanced Vehicular Systems (CAVS)
Mississippi State University
email: rweed@xxxxxxxxxxxxxxxx
Phone: (662) 325-5450