Closed zhucaoxiang closed 2 years ago
We can do what you say. But I believe cpuo
is set to zero in the macro BEGIN(subroutine_name)
Here in get_beltrami_LU_matrix
the BEGIN
macro is not called.
@zhisong I was about to change. But anyway, I guess it works as well.
Just found a small bug. In some cases,
cpuo
is used before initialization. This will cause errors if the compiler has noinit-zero
turned on (like indspec
).For example, the following one is copied from
dfp200_m.F90
.Alternatively, we can add the line
cpuo=zero
before using it. But I am not quite sure if this is the only place.