reset the signal terms to false after task is done

This commit is contained in:
Vitesh Shah 2020-12-14 09:34:35 +01:00
parent 40bd5db361
commit 768d139768
1 changed files with 2 additions and 0 deletions

View File

@ -446,10 +446,12 @@ program DAMASK_grid
print'(1/,a)', ' ... writing results to file ......................................'
flush(IO_STDOUT)
call CPFEM_results(totalIncsCounter,time)
call interface_setSIGUSR1(.false.)
endif
if (mod(inc,loadCases(l)%f_restart) == 0 .or. interface_SIGUSR2) then
call mech_restartWrite
call CPFEM_restartWrite
call interface_setSIGUSR2(.false.)
endif
if (interface_SIGTERM) exit loadCaseLooping
endif skipping