[netcdfgroup] Fortran90 interface

Hello

I'm having a problem compiling with the Fortran90 interface to NetCDF.
I've tried 3.6.2, 4.0.1-beta3 and 4.0.1.

The error is:
ncdfout.F90(219): error #6284: There is no matching specific function
for this generic function reference.   [NF90_DEF_VAR]
   iret = nf90_def_var(ncid,'lon',NF90_FLOAT,1,dims,lon_id)

but here:
http://www.unidata.ucar.edu/software/netcdf/docs/netcdf-f90/NF90_005fDEF_005fVAR.html#NF90_005fDEF_005fVAR

shows the usage.

I'm pretty sure the library is compiled OK as I can call nf90_create(),
nf90_def_dim().

I've tried both with netcdf and netcdff

Karsten


-- 
----------------------------------------------------------------------
Karsten Bolding                    Bolding & Burchard ApS
Strandgyden 25                     Phone: +45 64422058
DK-5466 Asperup                    Fax:   +45 64422068
Denmark                            Email: karsten@xxxxxxxxxxxxxxxxxxxx

http://www.findvej.dk/Strandgyden25,5466,11,3

Q: What is irony?
A: Almost the same as goldy and bronzy - just made of iron ...
(from Blackadder)
----------------------------------------------------------------------



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