Dear mrtrix experts,
I’ve been trying to run the dwifslpreproc
step after dwidenoise
and mrdegibbs
.
I’m using a MacBook and mrconvert 3.0.3-2-g4824f0e2
.
I used the command:
dwifslpreproc dwi_denoised_unringed.mif dwi_denoised_unringed_preproc.mif -rpe_none -pe_dir ap -readout_time 0.55
I encountered an error as following:
dwifslpreproc:
dwifslpreproc: Note that this script makes use of commands / algorithms that have relevant articles for citation; INCLUDING FROM EXTERNAL SOFTWARE PACKAGES. Please consult the help page (-help option) for more information.
dwifslpreproc:
dwifslpreproc: Generated scratch directory: /Volumes/Ziqian_Book/Dr_chen/DTI_cst_ziqian_c/cross_sectional/DTI/hc004/dwifslpreproc-tmp-27A09J/
Command: mrconvert /Volumes/Ziqian_Book/Dr_chen/DTI_cst_ziqian_c/cross_sectional/DTI/hc004/dwi_denoised_unringed.mif /Volumes/Ziqian_Book/Dr_chen/DTI_cst_ziqian_c/cross_sectional/DTI/hc004/dwifslpreproc-tmp-27A09J/dwi.mif -json_export /Volumes/Ziqian_Book/Dr_chen/DTI_cst_ziqian_c/cross_sectional/DTI/hc004/dwifslpreproc-tmp-27A09J/dwi.json
dwifslpreproc: Changing to scratch directory (/Volumes/Ziqian_Book/Dr_chen/DTI_cst_ziqian_c/cross_sectional/DTI/hc004/dwifslpreproc-tmp-27A09J/)
Command: mrinfo dwi.mif -export_grad_mrtrix grad.b
Command: dwi2mask dwi.mif - | maskfilter - dilate - | mrconvert - eddy_mask.nii -datatype float32 -strides -1,+2,+3
Command: mrconvert dwi.mif -import_pe_table dwi_manual_pe_scheme.txt eddy_in.nii -strides -1,+2,+3,+4 -export_grad_fsl bvecs bvals -export_pe_eddy eddy_config.txt eddy_indices.txt
Command: eddy_cuda7.5 --imain=eddy_in.nii --mask=eddy_mask.nii --acqp=eddy_config.txt --index=eddy_indices.txt --bvecs=bvecs --bvals=bvals --slm=linear --out=dwi_post_eddy --verbose
dwifslpreproc: CUDA version of 'eddy' was not successful; attempting OpenMP version
Command: eddy --imain=eddy_in.nii --mask=eddy_mask.nii --acqp=eddy_config.txt --index=eddy_indices.txt --bvecs=bvecs --bvals=bvals --slm=linear --out=dwi_post_eddy --verbose
dwifslpreproc: [ERROR] eddy* --imain=eddy_in.nii --mask=eddy_mask.nii --acqp=eddy_config.txt --index=eddy_indices.txt --bvecs=bvecs --bvals=bvals --slm=linear --out=dwi_post_eddy --verbose (app.py:196)
dwifslpreproc: [ERROR] Information from failed command:
dwifslpreproc:
============
eddy_cuda7.5
============
====
eddy
====
Reading images
EDDY::: AcqPara::AcqPara: Unrealistic read-out time
EDDY::: EddyHelperClasses.cpp::: EDDY::AcqPara::AcqPara(const NEWMAT::ColumnVector &, double): Exception thrown
EDDY::: Eddy failed with message
============
eddy_cuda7.5
============
dyld: Library not loaded: @rpath/libcublas.7.5.dylib
Referenced from: /usr/local/fsl/bin/eddy_cuda7.5
Reason: image not found
====
eddy
====
dwifslpreproc:
dwifslpreproc: [ERROR] For debugging, inspect contents of scratch directory: /Volumes/Ziqian_Book/Dr_chen/DTI_cst_ziqian_c/cross_sectional/DTI/hc004/dwifslpreproc-tmp-27A09J/
dwifslpreproc: Scratch directory retained; location: /Volumes/Ziqian_Book/Dr_chen/DTI_cst_ziqian_c/cross_sectional/DTI/hc004/dwifslpreproc-tmp-27A09J/