Skip to content

antsRegistration segmentation fault #6

@josephmje

Description

@josephmje

Hi @gdevenyi ,

I'm getting an error when trying to run the first stage of MAGeT.

This is my singularity call:
singularity run -H ${tmp_dir} -B ${bids_dir}:/bids -B ${output_dir}:/out ${sing_container} /bids /out participant1 --participant_label ${SUB} --segmentation_type colin27-subcortical --n_cpus 4 --label-masking

And the output:

2018-11-26 16:16:06 UTC [     info] Creating input/atlas input/template input/subject
2018-11-26 16:16:06 UTC [     info] Cleaning up. Done

2018-11-26 16:16:06 UTC [     info] Specific template(s) specified //out/input/template/sub-CMH420005_ses-01_T1w.nii.gz
2018-11-26 16:16:07 UTC [  warning] Zero subjects found, please check input/subject/*_t1.[mnc, nii, nii.gz], this is okay if performing multiatlas
2018-11-26 16:16:07 UTC [     info] Found:
2018-11-26 16:16:07 UTC [     info]   1 atlases in input/atlas
2018-11-26 16:16:07 UTC [     info]   1 labels per atlas in input/atlas
2018-11-26 16:16:07 UTC [     info]   1 templates in input/template
2018-11-26 16:16:07 UTC [     info]   0 subjects in input/subject
2018-11-26 16:16:07 UTC [     info]   0 models in input/models
2018-11-26 16:16:07 UTC [     info] Progress:
2018-11-26 16:16:07 UTC [     info]   0 of 1 atlas-template registrations completed
2018-11-26 16:16:07 UTC [     info]   0 of -1 template-subject registrations completed
2018-11-26 16:16:07 UTC [     info]   0 of 0 resample labels completed
2018-11-26 16:16:07 UTC [     info]   0 of 0 voted labels completed
2018-11-26 16:16:07 UTC [     info] Computing Atlas to Template Registrations
file NULL does not exist .
/opt/antsRegistration-MAGeT/bin/mb_register.sh: line 74: 22460 Segmentation fault      antsRegistration --dimensionality 3 ${__mb_float} ${MB_VERBOSE:-} --minc --output [${outputdir}/$(basename ${movingfile})-$(basename ${fixedfile})] --use-histogram-matching 0 --initial-moving-transform ${outputdir}/$(basename ${movingfile})-$(basename ${fixedfile})0_GenericAffine.xfm --transform "SyN[0.25,3,0]" ${__mb_syn_metric} $(eval echo ${nonlinear_steps}) --masks [${fixedmask},${movingmask}]
qbatch: error: local run call returned error code 139
2018-11-26 16:16:21 UTC [     info] Cleaning up. Done

Traceback (most recent call last):
  File "/code/run.py", line 204, in <module>
    'QBATCH_CORES': str(1)})
  File "/code/run.py", line 39, in run
    raise Exception("Non zero return code: {0}".format(process.returncode))
Exception: Non zero return code: 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions