利用gfortran compiler编译(makefile)时出现错误,望各位大虾帮忙诊断下是什么问题
我在make一写好的模型时,出现如下错误,劳烦各位帮忙诊断下什么地方出错了。错误如下:
mpif90 -ffree-line-length-none -fdefault-real-8 -O3 -I/urs/local/netcdf/include -c BLPhysics_ml.f90
BLPhysics_ml.f90:752:
function SigmaKz_2_m2s_scalar (roa,ps) result(Kz_fac) ! hb
1
错误: In generic interface 'sigmakz_2_m2s' at (1) procedures must be either all SUBROUTINEs or all FUNCTIONs
make: *** 错误 1
谢谢各位。
页:
[1]