3dWarp Occasional Error from @auto_tlrc

Program Compile Date: Aug 28 2018

I am running @auto_tlrc. Here is the command:
@auto_tlrc -no_ss -init_xform AUTO_CENTER -OK_maxite -base $Templates/MNI152_T1_2009c_$sid+tlrc. -input $sid.anat_brain+orig.

*The MNI152_T1_2009c_$sid+tlrc is simply a complete copy of the original template (used 3dcopy for that). That was simply to make it more accessible since I am running many different $sid at the same time over multiple servers.

Generally @auto_tlrc is successful, but there are times when it appears to run into an error within the 3dWarp section and therefore fails to create an output. The first error I see is:
** ERROR: Can’t open dataset __ats_tmp__resamp_NN+tlrc.HEAD
Then later:
** FATAL ERROR: Can’t open -base dataset __ats_tmp__ref_MNI152_T1_2009c_CT_003_M7_40pad+tlrc
Finally:
Bad exit status from 3dWarpDrive

Here is the complete output log of the @auto_tlrc (I also run a 3dcopy to convert a file from .nii to afni format and the beginning might be from the 3dcopy…):
[b]++ 3dcopy: AFNI version=AFNI_18.2.15 (Aug 28 2018) [64-bit]
++ 3drefit: AFNI version=AFNI_18.2.15 (Aug 28 2018) [64-bit]
++ Authored by: RW Cox
++ Processing AFNI dataset ./CT_003_M7.anat_brain_shft+orig

  • deoblique
    ++ 3drefit processed 1 datasets
    ++ 3drename: AFNI version=AFNI_18.2.15 (Aug 28 2018) [64-bit]
    ++ THD_rename_dataset_files: rename CT_003_M7.anat_brain_shft+orig.HEAD → __ats_tmp__CT_003_M7.anat_brain_shft+orig.HEAD
    ++ THD_rename_dataset_files: rename CT_003_M7.anat_brain_shft+orig.BRIK → __ats_tmp__CT_003_M7.anat_brain_shft+orig.BRIK
    ** THD_rename_dataset_files: old header CT_003_M7.anat_brain_shft+acpc.HEAD doesn’t exist!
    ** THD_rename_dataset_files: old header CT_003_M7.anat_brain_shft+tlrc.HEAD doesn’t exist!
    ++ 3dWarp: AFNI version=AFNI_18.2.15 (Aug 28 2018) [64-bit]
    ++ Authored by: RW Cox
    Center distance of 0.000000 mm
    Padding …
    ++ 3dZeropad: AFNI version=AFNI_18.2.15 (Aug 28 2018) [64-bit]
    ++ output dataset: ./__ats_tmp__ref_MNI152_T1_2009c_CT_003_M7_40pad+tlrc.BRIK
    Resampling …
    ++ 3dcalc: AFNI version=AFNI_18.2.15 (Aug 28 2018) [64-bit]
    ++ Authored by: A cast of thousands
    ++ Output dataset ././__ats_tmp__resamp_step+orig.BRIK
    ++ 3dcalc: AFNI version=AFNI_18.2.15 (Aug 28 2018) [64-bit]
    ++ Authored by: A cast of thousands
    ++ Output dataset ././__ats_tmp__resamp+tlrc.BRIK
    Clipping -0.000100 4345.000100 …
    ++ 3dcalc: AFNI version=AFNI_18.2.15 (Aug 28 2018) [64-bit]
    ++ Authored by: A cast of thousands
    ++ Output dataset ./__ats_tmp___rs_pre.CT_003_M7.anat_brain+tlrc.BRIK
    ++ 3drefit: AFNI version=AFNI_18.2.15 (Aug 28 2018) [64-bit]
    ++ Authored by: RW Cox
    ++ Processing AFNI dataset __ats_tmp___rs_pre.CT_003_M7.anat_brain+tlrc.HEAD
  • changing dataset view code
  • Changed dataset view type and filenames.
    ++ 3drefit processed 1 datasets
    ++ 3drefit: AFNI version=AFNI_18.2.15 (Aug 28 2018) [64-bit]
    ++ Authored by: RW Cox
    ** ERROR: Can’t open dataset __ats_tmp__resamp_NN+tlrc.HEAD
    ++ 3drefit processed 0 datasets
    ++ 3drefit: AFNI version=AFNI_18.2.15 (Aug 28 2018) [64-bit]
    ++ Authored by: RW Cox
    ++ Processing AFNI dataset __ats_tmp__resamp_edge_art+tlrc.HEAD
  • changing dataset view code
  • Changed dataset view type and filenames.
    ++ 3drefit processed 1 datasets
    Registration (linear final interpolation) …
    ++ 3dWarpDrive: AFNI version=AFNI_18.2.15 (Aug 28 2018) [64-bit]
    ++ Authored by: RW Cox
    ** FATAL ERROR: Can’t open -base dataset __ats_tmp__ref_MNI152_T1_2009c_CT_003_M7_40pad+tlrc
    ** Program compile date = Aug 28 2018
    Bad exit status from 3dWarpDrive[/b]

Thank you very much!

What files in that directory contain the string MNI152?

Note that it should not be necessary to copy that template
dataset around, unless it does not exist on the other servers
(though, how could you then run AFNI?).

  • rick