Maybe it is running out of memory? Can you try it reducing the number of inputs?

On 6/29/2022 2:42 PM, Benjamin Deck wrote:

        External Email - Use Caution        

Hi there,

I am attempting to concat a number of volume files that are filled cortical ribbons from a series of label files.

My workflow is to take the following steps:
Convert overlay file to label file
 mri_vol2label --i ${inDir}/Indi_Matched_ROIs/${net}/${sub}/${hemi}.${netMaskName}_native.mgh \
    --id 1 \
    --l ${inDir}/Indi_Matched_ROIs/${net}/${sub}/${hemi}.${netMaskName}_native.label \
    --surf ${sub} ${hemi} white \
    --dilate 2
  mri_label2label --srclabel ${inDir}/Indi_Matched_ROIs/${net}/${sub}/${hemi}.${netMaskName}_native.label \
    --s ${sub} \
    --hemi ${hemi} \
    --trglabel /${subDir}/${sub}/label/li2019/${hemi}.${netMaskName}_native.label \
    --regmethod surface
Convert label to volume
  mri_label2vol --label /${subDir}/${sub}/label/li2019/${hemi}.${netMaskName}_native.label \
  --identity \
  --fill-ribbon \
  --subject ${sub} \
  --hemi ${hemi} \
  --o /${subDir}/${sub}/mri/li2019_vols/${hemi}.${netMaskName}_native.mgz

Finally concatenate the vols together

mri_concat --f rois.txt  --o yeo2011_nat.mgz --sum
ninputs = 104
Checking inputs
nframestot = 104
Allocing output
Done allocing
Killed

Not sure why this is being killed.

OS: WSL2 Ubuntu
FS version:   freesurfer-linux-ubuntu18_x86_64-7.2.0-20210721-aa8f76b

Thanks for your help!

--
Benjamin L. Deck
Doctoral Student
Applied Cognitive and Brain Sciences
Department of Psychological and Brain Sciences
Drexel University

Virus-free. MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be www.avast.com

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer