Just following up from the conversation stared on twitter.
I’m running fmriprep 1.2.6 on the Midnight Scan Club dataset. I’m using fmriprep-docker to launch fmriprep using the following command:
sudo -E env "PATH=$PATH" fmriprep-docker /Raid6/raw/midnight_scan_club /Raid6/raw/users/dan/Documents/Projects/midnight/data/ participant --fs-license-file ~/Documents/licenses/freesurfer/license.txt -w /Raid6/users/dan/Documents/Projects/midnight/fmriprep_working_dir/
The env "PATH=$PATH"
is there to allow me to run fmriprep-docker (installed in my user) as root. This produces the following command:
RUNNING: docker run --rm -it -e DOCKER_VERSION_8395080871=18.06.1-ce -v /Raid6/users/dan/Documents/licenses/freesurfer/license.txt:/opt/freesurfer/license.txt:ro -v /Raid6/raw/midnight_scan_club:/data:ro -v /Raid6/raw/users/dan/Documents/Projects/midnight/data:/out -v /Raid6/users/dan/Documents/Projects/midnight/fmriprep_working_dir:/scratch poldracklab/fmriprep:1.2.6-1 /data /out participant -w /scratch
It will usually run for ~2 days until the following error is reached for each participant:
reading source '/scratch/fmriprep_wf/single_subject_MSC10_wf/anat_preproc_wf/anat_template_wf/n4_correct/mapflow/_n4_correct0/sub-MSC10_ses-struct01_run-01_T1w_corrected.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
This ultimately produces the following message:
190207-11:46:41,681 nipype.workflow INFO:
[Node] Finished "fmriprep_wf.single_subject_MSC10_wf.func_preproc_ses_func11_task_motor_run_01_wf.bold_confounds_wf.dvars".
190207-11:46:42,219 nipype.workflow INFO:
[Node] Finished "fmriprep_wf.single_subject_MSC10_wf.func_preproc_ses_func11_task_motor_run_02_wf.bold_confounds_wf.dvars".
190207-11:48:20,257 nipype.workflow ERROR:
could not run node: fmriprep_wf.single_subject_MSC01_wf.anat_preproc_wf.anat_template_wf.t1_merge
190207-11:48:20,271 nipype.workflow ERROR:
could not run node: fmriprep_wf.single_subject_MSC02_wf.anat_preproc_wf.anat_template_wf.t1_merge
190207-11:48:20,284 nipype.workflow ERROR:
could not run node: fmriprep_wf.single_subject_MSC03_wf.anat_preproc_wf.anat_template_wf.t1_merge
190207-11:48:20,296 nipype.workflow ERROR:
could not run node: fmriprep_wf.single_subject_MSC04_wf.anat_preproc_wf.anat_template_wf.t1_merge
190207-11:48:20,309 nipype.workflow ERROR:
could not run node: fmriprep_wf.single_subject_MSC05_wf.anat_preproc_wf.anat_template_wf.t1_merge
190207-11:48:20,322 nipype.workflow ERROR:
could not run node: fmriprep_wf.single_subject_MSC06_wf.anat_preproc_wf.anat_template_wf.t1_merge
190207-11:48:20,335 nipype.workflow ERROR:
could not run node: fmriprep_wf.single_subject_MSC07_wf.anat_preproc_wf.anat_template_wf.t1_merge
190207-11:48:20,348 nipype.workflow ERROR:
could not run node: fmriprep_wf.single_subject_MSC08_wf.anat_preproc_wf.anat_template_wf.t1_merge
190207-11:48:20,361 nipype.workflow ERROR:
could not run node: fmriprep_wf.single_subject_MSC09_wf.anat_preproc_wf.anat_template_wf.t1_merge
190207-11:48:20,375 nipype.workflow ERROR:
could not run node: fmriprep_wf.single_subject_MSC10_wf.anat_preproc_wf.anat_template_wf.t1_merge
Preprocessing did not finish successfully. Errors occurred while processing data from participants: MSC01 (1), MSC02 (1), MSC03 (1), MSC04 (1), MSC05 (1), MSC06 (1), MSC07 (1), MSC08 (1), MSC09 (1), MSC10 (1). Check the HTML reports for details.
Sentry is attempting to send 1 pending error messages
Waiting up to 2.0 seconds
Press Ctrl-C to quit
Captured warning (<class 'ResourceWarning'>): unclosed <socket.socket fd=7, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('172.17.0.3', 57825), raddr=('35.188.42.15', 443)>
fMRIPrep: Please report errors to https://github.com/poldracklab/fmriprep/issues
I’ve downloaded new linux Freesurfer licences and still continue to get the error, despite the message. I’m aware that this is a known, somewhat unresolved, issue discussed on here (e.g., 1, 2) and on the freesurfer mailing list (e.g., 1, 2). Despite the error, I am able to use the --shell
command and run mri_convert
and recon-all
on an example .nii
image within the container itself.
Thoughts??
Thanks!