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.

[netcdfgroup] problem with netcdf

Dear All

I have installed netcdf successfully using "sudo"
Now i want to install another program that require netcdf "lib" and "include" 
path's those are lock
when i want to compile that prgram i get this error

Can anyone help me with this please?

Thanks in advance
Hossein

NCF2IOAPI.opoutfile.f(12): error #7002: Error in opening the compiled module 
file.  Check INCLUDE paths.   [NETCDF]
      USE NETCDF
----------^
NCF2IOAPI.opoutfile.f(58): error #6404: This name does not have a type, and 
must have an explicit type.   [NF90_INQ_DIMID]
         CALL CHECK(NF90_INQ_DIMID(NCFID,'lon',DIMID))
--------------------^
NCF2IOAPI.opoutfile.f(59): error #6404: This name does not have a type, and 
must have an explicit type.  
 [NF90_INQUIRE_DIMENSION]
         CALL CHECK(NF90_INQUIRE_DIMENSION(NCFID,DIMID,len=NCOL))
--------------------^
NCF2IOAPI.opoutfile.f(65): error #6404: This name does not have a type, and 
must have an explicit type.   [NF90_INQ_VARID]
         CALL CHECK(NF90_INQ_VARID(NCFID,'lon',VARID))
--------------------^
NCF2IOAPI.opoutfile.f(66): error #6404: This name does not have a type, and 
must have an explicit type.   [NF90_GET_VAR]
         CALL CHECK(NF90_GET_VAR(NCFID,VARID,XPAR,COUNT=(/2/),
--------------------^
NCF2IOAPI.opoutfile.f(85): error #6404: This name does not have a type, and 
must have an explicit type.   [NF90_GET_ATT]
         CALL
 CHECK(NF90_GET_ATT(NCFID,NF90_GLOBAL,'title',FDESC3D(1)))
--------------------^
NCF2IOAPI.opoutfile.f(113):
 error #6404: This name does not have a type, and must have an explicit 
type.   [NF90_INQUIRE_VARIABLE]
            CALL CHECK(NF90_INQUIRE_VARIABLE(NCFID,VARID,
-----------------------^
NCF2IOAPI.opoutfile.f(193): error #6404: This name does not have a type, and 
must have an explicit type.   [NF90_NOERR]
        if(status /= nf90_noerr) then
---------------------^
NCF2IOAPI.opoutfile.f(194): error #6404: This name does not have a type, and 
must have an explicit type.   [NF90_STRERROR]
          print *,'netCDF error:', trim(nf90_strerror(status))
----------------------------------------^
NCF2IOAPI.opoutfile.f(194): error #6362: The data types of the
 argument(s) are invalid.   [TRIM]
          print *,'netCDF error:', trim(nf90_strerror(status))
----------------------------------------^
compilation aborted for NCF2IOAPI.opoutfile.f (code 1)
make: *** [NCF2IOAPI.opoutfile.o] Error 1
  • 2013 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: