Close open device, if any.
subroutine kipp_close() !! Close open device, if any. if (st%devid > 0) then call giza_select_device(st%devid) call giza_close_device() end if st%devid = -1 end subroutine kipp_close