- 积分
- 1610
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2016-2-12
- 最后登录
- 1970-1-1

|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
本帖最后由 bilibili 于 2017-11-12 20:20 编辑
错误提示:
module_calc_wdir.o module_calc_wspd.o module_calc_clfr.o \
-L/usr/local/NETCDF/lib -lnetcdf -lnetcdff -I/usr/local/NETCDF/include -lnetcdf
input_module.o: In function `__input_module_MOD_read_next_field':
input_module.f:(.text+0x122c): undefined reference to `ncvgt_'
input_module.f:(.text+0x145d): undefined reference to `ncvgt_'
input_module.f:(.text+0x1832): undefined reference to `ncvgt_'
input_module.f:(.text+0x19f9): undefined reference to `ncvgt_'
module_interp.o: In function `__module_interp_MOD_get_keep_array':
module_interp.f:(.text+0x9b3): undefined reference to `ncvgt_'
module_interp.o:module_interp.f:(.text+0xc45): more undefined references to `ncvgt_' follow
collect2: error: ld returned 1 exit status
Makefile:18: recipe for target 'ARWpost.exe' failed
make: [ARWpost.exe] Error 1 (ignored)
已经成功安装了WRF和WPS应该不是netcdf的问题
FFLAGS = -ffree-form -cpp -O -fno-second-underscore -fconvert=big-endian -frecord-marker=4
F77FLAGS = -ffixed-form -cpp -O -fno-second-underscore -fconvert=big-endian
if ( $sw_netcdf_path )
{ $_ =~ s:CONFIGURE_NETCDF_FLAG:-DNETCDF: ;
$_ =~ s:CONFIGURE_NETCDF_LIB_PATH:-L$sw_netcdf_path/lib -lnetcdff -lnetcdf(-lhdf5_hl -lhdf5 -lz): ;
ARWpost.exe: $(OBJS)
$(FC) $(FFLAGS) $(LDFLAGS) -o $@ $(OBJS) \
-L$(NETCDF)/lib -lnetcdf -lnetcdff -I$(NETCDF)/include -lnetcdf
也都修改过了,实在不知道该怎么办了,求大神指教
PS 32位系统 nercdf4.3.3.1 netcdf fortran4.4.2
------------------------------------------------------------------------------------------------------------
改装2.2成功了
|
|