Hello, I made this post back in April -
And I still haven’t gotten any responses. I am hoping someone can help me understand what it means that there was an error in
“wf.sdc_wf.pepolar_unwarp_wf.prepare_epi_opposite_wf.merge”
I realize it is due specifically to fieldmap distortion correction but I have no way to know how to debug this. What should I look for and how could I isolate the error?
If this is not possible to help with, could someone recommend a way to integrate a fieldmap correction step outside of fmri prep? Should I run it before or after?
Edit - here is a log file from the crash - it does say the license file should be updated but I have done that and get the same thing, so I am certainly perplexed and am wondering what else in this log file could tell me what is the problem?
Node: fmriprep_wf.single_subject_015_wf.func_preproc_ses_1_task_loc_run_1_wf.sdc_wf.pepolar_unwarp_wf.prepare_epi_opposite_wf.merge
Working directory: /home/aleshins/2019_SL1/fmri_prep/working/fmriprep_wf/single_subject_015_wf/func_preproc_ses_1_task_loc_run_1_wf/sdc_wf/pepolar_unwarp_wf/prepare_epi_opposite_wf/merge
Node inputs:
args = <undefined>
auto_detect_sensitivity = True
average_metric = <undefined>
environ = {'SUBJECTS_DIR': '/opt/freesurfer/subjects', 'OMP_NUM_THREADS': '1'}
fixed_timepoint = True
in_files = ['/home/aleshins/2019_SL1/fmri_prep/working/fmriprep_wf/single_subject_015_wf/func_preproc_ses_1_task_loc_run_1_wf/sdc_wf/pepolar_unwarp_wf/prepare_epi_opposite_wf/split/mapflow/_split0/vol0000.nii.gz', '/home/aleshins/2019_SL1/fmri_prep/working/fmriprep_wf/single_subject_015_wf/func_preproc_ses_1_task_loc_run_1_wf/sdc_wf/pepolar_unwarp_wf/prepare_epi_opposite_wf/split/mapflow/_split0/vol0001.nii.gz', '/home/aleshins/2019_SL1/fmri_prep/working/fmriprep_wf/single_subject_015_wf/func_preproc_ses_1_task_loc_run_1_wf/sdc_wf/pepolar_unwarp_wf/prepare_epi_opposite_wf/split/mapflow/_split0/vol0002.nii.gz', '/home/aleshins/2019_SL1/fmri_prep/working/fmriprep_wf/single_subject_015_wf/func_preproc_ses_1_task_loc_run_1_wf/sdc_wf/pepolar_unwarp_wf/prepare_epi_opposite_wf/split/mapflow/_split0/vol0003.nii.gz']
in_intensity_scales = <undefined>
initial_timepoint = 1
initial_transforms = <undefined>
intensity_scaling = True
no_iteration = True
num_threads = 1
out_file = template.nii.gz
outlier_sensitivity = <undefined>
scaled_intensity_outputs = <undefined>
subjects_dir = /opt/freesurfer/subjects
subsample_threshold = 200
transform_outputs = <undefined>
Traceback (most recent call last):
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/plugins/multiproc.py", line 69, in run_node
result['result'] = node.run(updatehash=updatehash)
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 472, in run
result = self._run_interface(execute=True)
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 563, in _run_interface
return self._run_command(execute)
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 643, in _run_command
result = self._interface.run(cwd=outdir)
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/interfaces/freesurfer/base.py", line 265, in run
return super(FSCommandOpenMP, self).run(**inputs)
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/interfaces/freesurfer/base.py", line 144, in run
return super(FSCommand, self).run(**inputs)
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/interfaces/base/core.py", line 375, in run
runtime = self._run_interface(runtime)
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/interfaces/base/core.py", line 758, in _run_interface
self.raise_exception(runtime)
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/interfaces/base/core.py", line 695, in raise_exception
).format(**runtime.dictcopy()))
RuntimeError: Command:
mri_robust_template --satit --fixtp --mov /home/aleshins/2019_SL1/fmri_prep/working/fmriprep_wf/single_subject_015_wf/func_preproc_ses_1_task_loc_run_1_wf/sdc_wf/pepolar_unwarp_wf/prepare_epi_opposite_wf/split/mapflow/_split0/vol0000.nii.gz /home/aleshins/2019_SL1/fmri_prep/working/fmriprep_wf/single_subject_015_wf/func_preproc_ses_1_task_loc_run_1_wf/sdc_wf/pepolar_unwarp_wf/prepare_epi_opposite_wf/split/mapflow/_split0/vol0001.nii.gz /home/aleshins/2019_SL1/fmri_prep/working/fmriprep_wf/single_subject_015_wf/func_preproc_ses_1_task_loc_run_1_wf/sdc_wf/pepolar_unwarp_wf/prepare_epi_opposite_wf/split/mapflow/_split0/vol0002.nii.gz /home/aleshins/2019_SL1/fmri_prep/working/fmriprep_wf/single_subject_015_wf/func_preproc_ses_1_task_loc_run_1_wf/sdc_wf/pepolar_unwarp_wf/prepare_epi_opposite_wf/split/mapflow/_split0/vol0003.nii.gz --inittp 1 --iscale --noit --template template.nii.gz --subsample 200
Standard output:
$Id: mri_robust_template.cpp,v 1.54 2016/05/05 21:17:08 mreuter Exp $
--satit: Will estimate SAT iteratively!
--fixtp: Will map everything to init TP!
--mov: Using /home/aleshins/2019_SL1/fmri_prep/working/fmriprep_wf/single_subject_015_wf/func_preproc_ses_1_task_loc_run_1_wf/sdc_wf/pepolar_unwarp_wf/prepare_epi_opposite_wf/split/mapflow/_split0/vol0000.nii.gz as movable/source volume.
--mov: Using /home/aleshins/2019_SL1/fmri_prep/working/fmriprep_wf/single_subject_015_wf/func_preproc_ses_1_task_loc_run_1_wf/sdc_wf/pepolar_unwarp_wf/prepare_epi_opposite_wf/split/mapflow/_split0/vol0001.nii.gz as movable/source volume.
--mov: Using /home/aleshins/2019_SL1/fmri_prep/working/fmriprep_wf/single_subject_015_wf/func_preproc_ses_1_task_loc_run_1_wf/sdc_wf/pepolar_unwarp_wf/prepare_epi_opposite_wf/split/mapflow/_split0/vol0002.nii.gz as movable/source volume.
--mov: Using /home/aleshins/2019_SL1/fmri_prep/working/fmriprep_wf/single_subject_015_wf/func_preproc_ses_1_task_loc_run_1_wf/sdc_wf/pepolar_unwarp_wf/prepare_epi_opposite_wf/split/mapflow/_split0/vol0003.nii.gz as movable/source volume.
Total: 4 input volumes
--inittp: Using TP 1 as target for initialization
--iscale: Enableing intensity scaling!
--noit: Will output only first template (no iterations)!
--template: Using template.nii.gz as template output volume.
--subsample: Will subsample if size is larger than 200 on all axes!
Setting iscale ...
reading source '/home/aleshins/2019_SL1/fmri_prep/working/fmriprep_wf/single_subject_015_wf/func_preproc_ses_1_task_loc_run_1_wf/sdc_wf/pepolar_unwarp_wf/prepare_epi_opposite_wf/split/mapflow/_split0/vol0000.nii.gz'...
--------------------------------------------------------------------------
GNU libc version: 2.23
ERROR: Systems running GNU glibc version greater than 2.15
require a newly formatted license file (it's free). Please
download a new one from the following page:
http://surfer.nmr.mgh.harvard.edu/registration.html
--------------------------------------------------------------------------
Standard error:
Return code: 255