Illegal memory access when running gen_be_stage0.exe
HappyKian opened this issue · 0 comments
HappyKian commented
When I rans the gen_be_stage3.exe, it threw me an error. And I backtracked to the subroutine read_input_state in external/tools/io_input.f90. In the line 181:
call io_input_field_time(input_obj, state % date)
the second argument should be type(field3dReal/field2dReal/field1dReal)
. However, the input argument here is character (len=10) :: date
. This may cause illegal memory access in some compilers (my compiler is ifort 17.0.5).