- 积分
- 750
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2012-3-19
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
各位大神,小弟最近在服务器上用fortran调用netcdf时出现问题,如下:
conversion.f90(3): error #7013: This module file was not generated by any release of this compiler. [NETCDF]
USE NETCDF
------------^
conversion.f90(36): error #6404: This name does not have a type, and must have an explicit type. [NF90_OPEN]
stats = nf90_open(fn,nf90_NoWrite,ncid)
------------------------^
小弟的netcdf安装和路径确认无误。ncdump后也有反应如下:
ncdump [-c|-h] [-v ...] [[-b|-f] [c|f]] [-l len] [-n name] [-p n[,n]] [-x] [-k] [-s] [-t] file
[-c] Coordinate variable data and header information
[-h] Header information only, no data
[-v var1[,...]] Data for variable(s) <var1>,... only
[-b [c|f]] Brief annotations for C or Fortran indices in data
[-f [c|f]] Full annotations for C or Fortran indices in data
[-l len] Line length maximum in data section (default 80)
[-n name] Name for netCDF (default derived from file name)
[-p n[,n]] Display floating-point values with less precision
[-k] Output kind of netCDF file
[-x] Output XML (NcML) instead of CDL
[-s] Output special (virtual) attributes
[-t] Output time data as ISO date-time strings
file Name of netCDF file
netcdf library version "4.0.1" of Mar 8 2015 18:07:57 $
且同样的程序在小弟自己的pc上面可以编译。请问各位大神有没有遇到过这样的情况。不知大家都是怎么解决的。多谢了!!!
|
|