remove old HIT3D save after writing fdm save
This commit is contained in:
parent
9c48452b0f
commit
50bc5073c1
1 changed files with 2 additions and 2 deletions
4
main.f90
4
main.f90
|
|
@ -202,8 +202,6 @@ program x_code
|
|||
! write the restart file if it's the time
|
||||
if (mod(itime,IPRINT2).eq.0) then
|
||||
call restart_write_parallel
|
||||
!remove hit restart file
|
||||
call system ('rm -f '//run_name//'.64.'//ex_file_ext)
|
||||
if (fdm_sw.ne.0) then ! Reacting
|
||||
!call gather_4
|
||||
if (myid.eq.master) then
|
||||
|
|
@ -214,6 +212,8 @@ program x_code
|
|||
end if
|
||||
call MPI_BARRIER(MPI_COMM_TASK, mpi_err)
|
||||
endif
|
||||
!remove HIT3D restart file except the latest
|
||||
call system ('rm -f '//run_name//'.64.'//ex_file_ext)
|
||||
ex_file_ext = file_ext
|
||||
endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue