You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are circumstances on a cluster where an interrupted CIVET task leaves the files of the pipeline in an illegal state. This shows after a restart in the main processing logs with a message at the end that looks like:
A conflict has been found with the specification of the
inputs and the prereqs in this stage:
======= 1402039_ses2: 29: verify_convergence ========
Inputs: [files files files]
Outputs: [files files]
Args: [blah blah]
Prereqs: mid_surface_left mid_surface_right
Status: not processed
All prereqs are finished but input /scratch/cbrain01/BourreauGrahamPlatform/GridShare/145/40/88/admin_prioux-Civet-T1454088/civet_out/1402039_ses2/logs/1402039_ses2.gray_surface_left.log does not exist.
The critical indication is the last line. For each stage in the pipeline, both a .finished and a .log files must exist in the logs/ subdirectory. In the case of a badly interrupted CIVET, only one exists and the pipeline cannot recover.
The fix is to go to the logs subdirectory an make sure the files are paired. For each .finished file there must be a log. Listing by timestamps usually shows this clearly as two files with size 0 side by side:
> ls -ltr | tail
-rw-r--r-- 1 cbrain01 rpp-aevans-ab 28383 Oct 18 02:44 1402039_ses2.laplace_field.log
-rw-r--r-- 1 cbrain01 rpp-aevans-ab 0 Oct 18 02:44 1402039_ses2.laplace_field.finished
-rw-r--r-- 1 cbrain01 rpp-aevans-ab 0 Oct 18 04:03 1402039_ses2.gray_surface_left.finished
-rw-r--r-- 1 cbrain01 rpp-aevans-ab 543487 Oct 18 05:22 1402039_ses2.gray_surface_right.log
-rw-r--r-- 1 cbrain01 rpp-aevans-ab 0 Oct 18 05:22 1402039_ses2.gray_surface_right.finished
-rw-r--r-- 1 cbrain01 rpp-aevans-ab 1010 Oct 18 05:22 1402039_ses2.mid_surface_left.log
-rw-r--r-- 1 cbrain01 rpp-aevans-ab 0 Oct 18 05:22 1402039_ses2.mid_surface_left.finished
-rw-r--r-- 1 cbrain01 rpp-aevans-ab 1015 Oct 18 05:22 1402039_ses2.mid_surface_right.log
-rw-r--r-- 1 cbrain01 rpp-aevans-ab 0 Oct 18 05:22 1402039_ses2.mid_surface_right.finished
-rw-r--r-- 1 cbrain01 rpp-aevans-ab 1597 Oct 21 09:25 1402039_ses2.options
so the cleanup step in this instance requires removing the file '1402039_ses2.gray_surface_left.finished`
This could be made automatic in the CBRAIN CIVET integration in the recovery code.
The text was updated successfully, but these errors were encountered:
There are circumstances on a cluster where an interrupted CIVET task leaves the files of the pipeline in an illegal state. This shows after a restart in the main processing logs with a message at the end that looks like:
The critical indication is the last line. For each stage in the pipeline, both a
.finished
and a.log
files must exist in thelogs/
subdirectory. In the case of a badly interrupted CIVET, only one exists and the pipeline cannot recover.The fix is to go to the
logs
subdirectory an make sure the files are paired. For each.finished
file there must be a log. Listing by timestamps usually shows this clearly as two files with size0
side by side:so the cleanup step in this instance requires removing the file '1402039_ses2.gray_surface_left.finished`
This could be made automatic in the CBRAIN CIVET integration in the recovery code.
The text was updated successfully, but these errors were encountered: