Hello Chris, Can you upload your input data (_in_file_…. ) to the oxfile link ( https://oxfile.ox.ac.uk/oxfile/work/extBox?id=700839B35190E48BF <https://oxfile.ox.ac.uk/oxfile/work/extBox?id=700839B35190E48BF> ) so I can check what is happening? Also can you confirm which version of FSL you are using? Kind Regards Matthew > On 13 Mar 2017, at 18:03, Chris Gorgolewski <[log in to unmask]> wrote: > > Hi, > I'm experiencing an index error when running melodic. Se the log below for details. The file does not seem to be corrupted (I can read it and perform ICA on it using other tools). The input file is large: > > data_type FLOAT32 > dim0 4 > dim1 100 > dim2 100 > dim3 64 > dim4 1107 > > but the system has 20Gb of RAM so this should not be a problem. > > Any ideas what could be causing this? > > Best, > Chris > > > # melodic -i /scratch/workflow_enumerator/funcMRIQC/_in_file_....data..sub-s483..ses-1..func..sub-s483_ses-1_task-DPX_run-1_bold.nii.gz/reorient_and_discard/sub-s483_ses-1_task-DPX_run-1_bold.nii.gz --nobet --nomask --no_mm -o /scratch/workflow_enumerator/funcMRIQC/_in_file_....data..sub-s483..ses-1..func..sub-s483_ses-1_task-DPX_run-1_bold.nii.gz/ICA -v --debug > > Melodic Version 3.14 > > Melodic results will be in /scratch/workflow_enumerator/funcMRIQC/_in_file_....data..sub-s483..ses-1..func..sub-s483_ses-1_task-DPX_run-1_bold.nii.gz/ICA > > START: setup > START: setup_misc > END: setup_misc > after setup_misc START: setup_classic > START: process_file > before reading file /scratch/workflow_enumerator/funcMRIQC/_in_file_....data..sub-s483..ses-1..func..sub-s483_ses-1_task-DPX_run-1_bold.nii.gz/reorient_and_discard/sub-s483_ses-1_task-DPX_run-1_boldReading data file /scratch/workflow_enumerator/funcMRIQC/_in_file_....data..sub-s483..ses-1..func..sub-s483_ses-1_task-DPX_run-1_bold.nii.gz/reorient_and_discard/sub-s483_ses-1_task-DPX_run-1_bold ... done > after reading file /scratch/workflow_enumerator/funcMRIQC/_in_file_....data..sub-s483..ses-1..func..sub-s483_ses-1_task-DPX_run-1_bold.nii.gz/reorient_and_discard/sub-s483_ses-1_task-DPX_run-1_bold before est smoothness Estimating data smoothness ... done > after smoothness before reshape after reshape Removing mean image ... before remmean after remmean done > before VN Normalising by voxel-wise variance ... stdDev 0 x 0 > in VN done > END: process_file > after process_file Excluding voxels with constant value ... done > /scratch/workflow_enumerator/funcMRIQC/_in_file_....data..sub-s483..ses-1..func..sub-s483_ses-1_task-DPX_run-1_bold.nii.gz/ICA/alldat > > > > An exception has been thrown > Logic error:- detected by Newmat: index error: requested index = 0 > > MatrixType = Rect # Rows = 1; # Cols = 1105