reset the signal terms to false after task is done
This commit is contained in:
parent
40bd5db361
commit
768d139768
|
@ -446,10 +446,12 @@ program DAMASK_grid
|
||||||
print'(1/,a)', ' ... writing results to file ......................................'
|
print'(1/,a)', ' ... writing results to file ......................................'
|
||||||
flush(IO_STDOUT)
|
flush(IO_STDOUT)
|
||||||
call CPFEM_results(totalIncsCounter,time)
|
call CPFEM_results(totalIncsCounter,time)
|
||||||
|
call interface_setSIGUSR1(.false.)
|
||||||
endif
|
endif
|
||||||
if (mod(inc,loadCases(l)%f_restart) == 0 .or. interface_SIGUSR2) then
|
if (mod(inc,loadCases(l)%f_restart) == 0 .or. interface_SIGUSR2) then
|
||||||
call mech_restartWrite
|
call mech_restartWrite
|
||||||
call CPFEM_restartWrite
|
call CPFEM_restartWrite
|
||||||
|
call interface_setSIGUSR2(.false.)
|
||||||
endif
|
endif
|
||||||
if (interface_SIGTERM) exit loadCaseLooping
|
if (interface_SIGTERM) exit loadCaseLooping
|
||||||
endif skipping
|
endif skipping
|
||||||
|
|
Loading…
Reference in New Issue