- To: Karsten Bolding <karsten@xxxxxxxxxxxxxxxxxxxx>
- Subject: Re: [netcdfgroup] Fortran90 interface
- From: Roy Mendelssohn <Roy.Mendelssohn@xxxxxxxx>
- Date: Tue, 31 Mar 2009 08:04:48 -0700
Have you included the appropriate netcdf modules, and made certain
that they are in your path? NF90_FLOAT is a variable defined there.
Also, depending on what system/compiler you are using, there may be
case sensitivity in the definition.
-Roy M. On Mar 31, 2009, at 5:47 AM, Karsten Bolding wrote:
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) ---------------------------------------------------------------------- _______________________________________________ netcdfgroup mailing list netcdfgroup@xxxxxxxxxxxxxxxx For list information or to unsubscribe, visit: http://www.unidata.ucar.edu/mailing_lists/
**********************"The contents of this message do not reflect any position of the U.S. Government or NOAA."
********************** Roy Mendelssohn Supervisory Operations Research Analyst NOAA/NMFS Environmental Research Division Southwest Fisheries Science Center 1352 Lighthouse Avenue Pacific Grove, CA 93950-2097 e-mail: Roy.Mendelssohn@xxxxxxxx (Note new e-mail address) voice: (831)-648-9029 fax: (831)-648-8440 www: http://www.pfeg.noaa.gov/ "Old age and treachery will overcome youth and skill." "From those who have been given much, much will be expected"
- Follow-Ups:
- Re: [netcdfgroup] Fortran90 interface
- From: Karsten Bolding
- Re: [netcdfgroup] Fortran90 interface
- References:
- [netcdfgroup] Fortran90 interface
- From: Karsten Bolding
- [netcdfgroup] Fortran90 interface