Compiler gfortran version 8.1 with release mode is not working
It raises an error at runtime at mo_mpr_data_array_upscale.f90
in lines 244 ff.
new_mask = pack(spread(reshape(current_mask, new_shapes(1 : 1, iDim + 1)), &
iDim, self%target_dims(iDim)%dim_p%count), .true.)
The chaining of functions seems to be problematic at the release level compiler code optimization routines. This code should then be modified and refactored.