错误:
Error: Rank mismatch between actual argument at (1) and actual argument at (2) (rank-1 and scalar)
make: *** [Makefile:62:wrf_utils.o] 错误 1
Failed to build fire_emis
解决办法:
修改Makefile文件17-21行:
ifeq ($(FC),lf95)
FFLAGS = --g
else
FFLAGS = -g
endif
修改为:
ifeq ($(FC),lf95)
FFLAGS = --g -std=legacy
else
FFLAGS = -g -std=legacy
endif
make_fire_emis文件68行
set ar_libs = "${ar_libs} -lnetcdff ${ar_libs}"
修改为:
set ar_libs = "-lnetcdff ${ar_libs}"