From 768d139768be00bb61b08a80f9c2b63635007276 Mon Sep 17 00:00:00 2001 From: Vitesh Shah Date: Mon, 14 Dec 2020 09:34:35 +0100 Subject: [PATCH] reset the signal terms to false after task is done --- src/grid/DAMASK_grid.f90 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/grid/DAMASK_grid.f90 b/src/grid/DAMASK_grid.f90 index f461fbf90..4b9ee561a 100644 --- a/src/grid/DAMASK_grid.f90 +++ b/src/grid/DAMASK_grid.f90 @@ -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