编译:
Setting->complier->Other complier options添加一行-ffree-line-length-none
Toochain executables->Linker for dynamic libs修改成mingw32-gfortran.exe
rev59.2版本与59.3版本的差异在流量的单位上,59.2版本的流量单位是ha-m(公顷/天),59.3版本是m3/s(立方米/秒),单位转化需要*/86400
ru_allo.f90
sim_inityr.f90
修改这两个文件可以编译通过(60.4.1版仍未修复),但是程序无法正常运行
basin_read_objs.f90
Attempting to allocate already allocated variable 'ob'以及
allocatable array is already allocated是由于未将Txtinout文件放入同目录下
hyd_connect.f90
L410添加一行
if (sp_ob%objs==0) exit(可以避免死循环,可加可不加)(常见于
reading from wx station file后既不报错也不输出结果)
Not enough space是由于
define_unit_elements.f90赋值ielem1,即下文的ru_tot
ru_read_elements.f90L161赋值ob%ru_tot,即下文的nspu
hyd_connect.f90L204 连续定义多个ob(i)%obj_subs(nspu),其中nspu=12500993
allocatable array is already allocated
更换了编译器-Inter Fortran,解决了以上问题 (除了ru_allo.f90、sim_inityr.f90)
847



被折叠的 条评论
为什么被折叠?



