module kernel1_impl contains subroutine kernel_impl implicit none ! ... end subroutine kernel_impl end module kernel1_impl