- 积分
- 87
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2014-1-12
- 最后登录
- 1970-1-1
|

楼主 |
发表于 2014-3-3 21:14:13
|
显示全部楼层
言深深 发表于 2014-2-28 17:06
信息量太少,看不出···
你好,谢谢你的回复首先!我的问题具体是这样的,我用一个fortran程序去转换一个文件的格式,然后我的f90文件名是PAVE-hourly-input-pm.f90 我就用命令去执行它 pgf90 PAVE-hourly-input-pm.f90 结果报错如下:
/tmp/pgf90t9Vb5K23EsBI.o: In function `wrfout':
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:158: undefined reference to `nf_open_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:158: undefined reference to `nf_inq_varid_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:158: undefined reference to `nf_get_vars_real_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:170: undefined reference to `nf_inq_varid_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:170: undefined reference to `nf_get_vars_real_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:175: undefined reference to `nf_inq_varid_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:175: undefined reference to `nf_get_vars_real_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:180: undefined reference to `nf_inq_varid_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:180: undefined reference to `nf_get_vars_real_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:185: undefined reference to `nf_inq_varid_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:185: undefined reference to `nf_get_vars_real_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:190: undefined reference to `nf_inq_varid_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:190: undefined reference to `nf_get_vars_real_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:195: undefined reference to `nf_inq_varid_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:195: undefined reference to `nf_get_vars_real_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:200: undefined reference to `nf_inq_varid_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:200: undefined reference to `nf_get_vars_real_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:205: undefined reference to `nf_inq_varid_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:205: undefined reference to `nf_get_vars_real_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:210: undefined reference to `nf_inq_varid_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:210: undefined reference to `nf_get_vars_real_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:215: undefined reference to `nf_inq_varid_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:215: undefined reference to `nf_get_vars_real_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:220: undefined reference to `nf_inq_varid_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:220: undefined reference to `nf_get_vars_real_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:225: undefined reference to `nf_inq_varid_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:225: undefined reference to `nf_get_vars_real_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:230: undefined reference to `nf_inq_varid_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:230: undefined reference to `nf_get_vars_real_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:235: undefined reference to `nf_inq_varid_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:235: undefined reference to `nf_get_vars_real_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:240: undefined reference to `nf_inq_varid_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:240: undefined reference to `nf_get_vars_real_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:245: undefined reference to `nf_inq_varid_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:245: undefined reference to `nf_get_vars_real_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:250: undefined reference to `nf_inq_varid_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:250: undefined reference to `nf_get_vars_real_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:255: undefined reference to `nf_inq_varid_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:255: undefined reference to `nf_get_vars_real_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:260: undefined reference to `nf_inq_varid_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:260: undefined reference to `nf_get_vars_real_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:265: undefined reference to `nf_inq_varid_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:265: undefined reference to `nf_get_vars_real_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:270: undefined reference to `nf_inq_varid_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:270: undefined reference to `nf_get_vars_real_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:275: undefined reference to `nf_inq_varid_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:275: undefined reference to `nf_get_vars_real_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:280: undefined reference to `nf_inq_varid_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:280: undefined reference to `nf_get_vars_real_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:285: undefined reference to `nf_inq_varid_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:285: undefined reference to `nf_get_vars_real_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:290: undefined reference to `nf_inq_varid_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:290: undefined reference to `nf_get_vars_real_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:295: undefined reference to `nf_inq_varid_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:295: undefined reference to `nf_get_vars_real_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:300: undefined reference to `nf_inq_varid_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:300: undefined reference to `nf_get_vars_real_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:305: undefined reference to `nf_inq_varid_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:305: undefined reference to `nf_get_vars_real_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:310: undefined reference to `nf_inq_varid_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:310: undefined reference to `nf_get_vars_real_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:417: undefined reference to `init3_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:417: undefined reference to `open3_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:417: undefined reference to `m3exit_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:494: undefined reference to `write3_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:494: undefined reference to `m3exit_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:497: undefined reference to `write3_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:497: undefined reference to `m3exit_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:501: undefined reference to `write3_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:501: undefined reference to `m3exit_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:505: undefined reference to `write3_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:505: undefined reference to `m3exit_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:509: undefined reference to `write3_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:509: undefined reference to `m3exit_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:513: undefined reference to `nextime_'
/root/software/WRF/PAVE/shijie/WRFOUT-to-PAVE/./PAVE-hourly-input-pm.f90:513: undefined reference to `m3exit_'
请问您知道是什么原因吗?被这个问题困扰好久了,也没解决,刚接触觉得好难啊! |
|