Close the restart dump file corresponding to a particular variable system
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_restart_type) | :: | me | the restart infotmation |
subroutine tem_restart_closeRead_single(me)
! -------------------------------------------------------------------- !
!> the restart infotmation
type(tem_restart_type) :: me
! -------------------------------------------------------------------- !
! variables to catch possible MPI I/O errors
integer :: iError
! -------------------------------------------------------------------- !
! now close the binary file
call MPI_File_close(me%binaryUnit, iError)
call check_mpi_error( iError, 'File close in tem_restart_closeRead_single' )
end subroutine tem_restart_closeRead_single