- 积分
- 8837
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2012-9-19
- 最后登录
- 1970-1-1
|
发表于 2017-3-8 19:17:37
|
显示全部楼层
我按照上面说的 ifort -convert big_endian netcdf.f90 -I/public2/software/netcdf413-intel/include -L/public2/software/netcdf413-intel/lib -lnetcdf
出现了错误,这是为什么呢?
/tmp/ifortlfg1f0.o: In function `MAIN__':
netcdf.f90:(.text+0x258): undefined reference to `nf_open_'
netcdf.f90:(.text+0x28d): undefined reference to `nf_inq_'
netcdf.f90:(.text+0x2f0): undefined reference to `nf_inq_dim_'
netcdf.f90:(.text+0x379): undefined reference to `nf_inq_var_'
netcdf.f90:(.text+0x465): undefined reference to `nf_inq_attname_'
netcdf.f90:(.text+0x4ae): undefined reference to `nf_inq_atttype_'
netcdf.f90:(.text+0x4f7): undefined reference to `nf_inq_atttype_'
netcdf.f90:(.text+0x34b8): undefined reference to `nf_strerror_'
netcdf.f90:(.text+0x3502): undefined reference to `nf_strerror_'
netcdf.f90:(.text+0x354c): undefined reference to `nf_strerror_'
netcdf.f90:(.text+0x3596): undefined reference to `nf_strerror_'
netcdf.f90:(.text+0x35e0): undefined reference to `nf_strerror_'
/tmp/ifortlfg1f0.o:netcdf.f90:(.text+0x362a): more undefined references to `nf_strerror_' follow
|
|