Enabled sigterm handling

This commit is contained in:
Vitesh Shah 2020-12-14 09:14:03 +01:00
parent b6db675f1a
commit 6a58efeffe
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@ subroutine DAMASK_interface_init
if (interface_restartInc > 0) & if (interface_restartInc > 0) &
print'(a,i6.6)', ' Restart from increment: ', interface_restartInc print'(a,i6.6)', ' Restart from increment: ', interface_restartInc
!call signalterm_c(c_funloc(catchSIGTERM)) call signalterm_c(c_funloc(catchSIGTERM))
call signalusr1_c(c_funloc(catchSIGUSR1)) call signalusr1_c(c_funloc(catchSIGUSR1))
call signalusr2_c(c_funloc(catchSIGUSR2)) call signalusr2_c(c_funloc(catchSIGUSR2))
call interface_setSIGTERM(.false.) call interface_setSIGTERM(.false.)