I am running fmriprep with the following command:
SINGULARITYENV_TEMPLATEFLOW_HOME=/home/fmriprep/.cache/templateflow singularity run
--writable-tmpfs --cleanenv --containall -B /projects/b1108:/projects/b1108
-B /projects/b1108/software/freesurfer_license/license.txt:/opt/freesurfer/license.txt
-B /projects/b1108/templateflow:/home/fmriprep/.cache/templateflow
/projects/b1108/software/singularity_images/fmriprep_21.0.2.sif
/projects/b1108/studies/mwmh/data/raw/neuroimaging/bids/
/projects/b1108/studies/mwmh/data/processed/neuroimaging/fmriprep/
participant --participant-label MWMH259
-w /projects/b1108/studies/mwmh/data/processed/neuroimaging/work
--fs-license-file /opt/freesurfer/license.txt --output-spaces MNI152NLin6Asym --skull-strip-template OASIS30ANTs
I got the following error:
RuntimeError: Command:
recon-all -autorecon1 -noskullstrip -cw256 -hires -openmp 8 -subjid sub-MWMH259 -sd /projects/b1108/studies/mwmh/data/processed/neuroimaging/fmriprep/sourcedata/freesurfer -xopts-use -nomotioncor
...
mri_convert.bin: posixio.c:210: px_pgin: Assertion `*posp == ((off_t)(-1)) || *posp == lseek(nciop->fd, 0, 1)' failed.
/opt/freesurfer/bin/mri_convert: line 3: 502 Aborted (core dumped) mri_convert.bin "$@"
ERROR: converting to minc
Linux qnode0557 3.10.0-862.el7.x86_64 #1 SMP Wed Mar 21 18:14:51 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux
recon-all -s sub-MWMH259 exited with ERRORS at Tue May 10 14:09:25 CDT 2022
I couldn’t find any reference to this error online. Any thoughts about what might have caused it?