- 积分
- 87
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2020-12-23
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
最近刚刚自学Noah-MP的使用,电脑已经安装完成了WRF。非常感谢家园里的教程。在编译hrldas时,遇到这样的报错 实在是看不明白,求助各位:
rm -f create_forcing.f90
/usr/bin/cpp -I/usr/include -I -C -P -traditional -D_GFORTRAN_ create_forcing.F > create_forcing.f90
gfortran -ffree-form -ffree-line-length-none -g -fconvert=big-endian -fbounds-check -fno-range-check -c -I/home/yangyi/software/Build_WRF/LIBRARIES/netcdf/include -I./lib -I./lib create_forcing.f90
create_forcing.f90:14.40:
character(len=:), allocatable :: str
1
Error: Deferred-length character component 'str' at (1) is not yet supported
create_forcing.f90:25.6:
use variables
1
Fatal Error: Can't open module file 'variables.mod' for reading at (1): No such file or directory
make[2]: *** [create_forcing.o] Error 1
我的user_build_options设置如下:
COMPILERF90 = gfortran
FREESOURCE = -ffree-form -ffree-line-length-none
F90FLAGS = -g -fconvert=big-endian -fbounds-check -fno-range-check
MODFLAG = -I
LDFLAGS = -L/usr/lib64
CPP = /usr/bin/cpp
CPPFLAGS = -I/usr/include -I -C -P -traditional -D_GFORTRAN_ # -D_HRLDAS_URBAN_
LIBS =
LIBJASPER = -ljpeg -L/home/yangyi/software/Build_WRF/LIBRARIES/grib2/lib -ljasper
INCJASPER = -I/home/yangyi/software/Build_WRF/LIBRARIES/grib2/include
NETCDFMOD = -I/home/yangyi/software/Build_WRF/LIBRARIES/netcdf/include
NETCDFLIB = -L/usr/local/netcdf/lib -lnetcdf -lnetcdff
BZIP2 = NO
BZIP2_LIB = -lbz2
BZIP2_INCLUDE = -I/usr/include
RM = rm -f
CC = /usr/bin/gcc
十分感谢!
|
|