Hi,

I have Linux UBUNTU installed in my PC and I have downloaded FSL for that version. First, I couldn't call FSL from the terminal, but now, with the appropiate command,  I can. But it is the same. I Only get the first analysis (.ica) but melodic.gica not found and I have a lot of errors and I don't know how to resolve them. Anyone could help me? I only need to covariate, demeaning the age of my two groups but it seems impossible for me to extract the Principal IC.

This is what I get:


Higher-level MELODIC
/usr/share/fsl/4.1/bin/featregapply /home/rosi/Desktop/ROSALIA/ap_.ica
Error - registration has not been run for /home/rosi/Desktop/ROSALIA/ap_.ica

/usr/share/fsl/4.1/bin/featregapply /home/rosi/Desktop/ROSALIA/ppp_.ica
Error - registration has not been run for /home/rosi/Desktop/ROSALIA/ppp_.ica

/usr/share/fsl/4.1/bin/featregapply /home/rosi/Desktop/ROSALIA/joo_.ica
Error - registration has not been run for /home/rosi/Desktop/ROSALIA/joo_.ica

/usr/share/fsl/4.1/bin/featregapply /home/rosi/Desktop/ROSALIA/rnb_.ica
Error - registration has not been run for /home/rosi/Desktop/ROSALIA/rnb_.ica

/usr/share/fsl/4.1/bin/featregapply /home/rosi/Desktop/ROSALIA/efp_.ica
Error - registration has not been run for /home/rosi/Desktop/ROSALIA/efp_.ica

/usr/share/fsl/4.1/bin/featregapply /home/rosi/Desktop/ROSALIA/gjm_.ica
Error - registration has not been run for /home/rosi/Desktop/ROSALIA/gjm_.ica

/usr/share/fsl/4.1/bin/featregapply /home/rosi/Desktop/ROSALIA/mr_.ica
Error - registration has not been run for /home/rosi/Desktop/ROSALIA/mr_.ica

/usr/share/fsl/4.1/bin/featregapply /home/rosi/Desktop/ROSALIA/jsb_.ica
Error - registration has not been run for /home/rosi/Desktop/ROSALIA/jsb_.ica

/usr/share/fsl/4.1/bin/featregapply /home/rosi/Desktop/ROSALIA/msc_.ica
Error - registration has not been run for /home/rosi/Desktop/ROSALIA/msc_.ica

/usr/share/fsl/4.1/bin/featregapply /home/rosi/Desktop/ROSALIA/dr_.ica
Error - registration has not been run for /home/rosi/Desktop/ROSALIA/dr_.ica

/usr/share/fsl/4.1/bin/featregapply /home/rosi/Desktop/ROSALIA/jpm_.ica
Error - registration has not been run for /home/rosi/Desktop/ROSALIA/jpm_.ica

/usr/share/fsl/4.1/bin/featregapply /home/rosi/Desktop/ROSALIA/flp_.ica
Error - registration has not been run for /home/rosi/Desktop/ROSALIA/flp_.ica

/usr/share/fsl/4.1/bin/featregapply /home/rosi/Desktop/ROSALIA/tc_.ica
Error - registration has not been run for /home/rosi/Desktop/ROSALIA/tc_.ica

/usr/share/fsl/4.1/bin/featregapply /home/rosi/Desktop/ROSALIA/jsr_.ica
Error - registration has not been run for /home/rosi/Desktop/ROSALIA/jsr_.ica

/usr/share/fsl/4.1/bin/fslmerge -t bg_image  /home/rosi/Desktop/ROSALIA/ap_.ica/reg_standard/bg_image /home/rosi/Desktop/ROSALIA/ppp_.ica/reg_standard/bg_image /home/rosi/Desktop/ROSALIA/joo_.ica/reg_standard/bg_image /home/rosi/Desktop/ROSALIA/rnb_.ica/reg_standard/bg_image /home/rosi/Desktop/ROSALIA/efp_.ica/reg_standard/bg_image /home/rosi/Desktop/ROSALIA/gjm_.ica/reg_standard/bg_image /home/rosi/Desktop/ROSALIA/mr_.ica/reg_standard/bg_image /home/rosi/Desktop/ROSALIA/jsb_.ica/reg_standard/bg_image /home/rosi/Desktop/ROSALIA/msc_.ica/reg_standard/bg_image /home/rosi/Desktop/ROSALIA/dr_.ica/reg_standard/bg_image /home/rosi/Desktop/ROSALIA/jpm_.ica/reg_standard/bg_image /home/rosi/Desktop/ROSALIA/flp_.ica/reg_standard/bg_image /home/rosi/Desktop/ROSALIA/tc_.ica/reg_standard/bg_image /home/rosi/Desktop/ROSALIA/jsr_.ica/reg_standard/bg_image
** ERROR (nifti_image_read): failed to find header file for '/home/rosi/Desktop/ROSALIA/ap_.ica/reg_standard/bg_image'
** ERROR: nifti_image_open(/home/rosi/Desktop/ROSALIA/ap_.ica/reg_standard/bg_image): bad header info
Error: failed to open file /home/rosi/Desktop/ROSALIA/ap_.ica/reg_standard/bg_image
Cannot open volume /home/rosi/Desktop/ROSALIA/ap_.ica/reg_standard/bg_image for reading!

/usr/share/fsl/4.1/bin/fslmaths bg_image -inm 1000 -Tmean bg_image -odt float
** ERROR (nifti_image_read): failed to find header file for 'bg_image'
** ERROR: nifti_image_open(bg_image): bad header info
Error: failed to open file bg_image
Cannot open volume bg_image for reading!

/usr/share/fsl/4.1/bin/fslmerge -t mask  /home/rosi/Desktop/ROSALIA/ap_.ica/reg_standard/mask /home/rosi/Desktop/ROSALIA/ppp_.ica/reg_standard/mask /home/rosi/Desktop/ROSALIA/joo_.ica/reg_standard/mask /home/rosi/Desktop/ROSALIA/rnb_.ica/reg_standard/mask /home/rosi/Desktop/ROSALIA/efp_.ica/reg_standard/mask /home/rosi/Desktop/ROSALIA/gjm_.ica/reg_standard/mask /home/rosi/Desktop/ROSALIA/mr_.ica/reg_standard/mask /home/rosi/Desktop/ROSALIA/jsb_.ica/reg_standard/mask /home/rosi/Desktop/ROSALIA/msc_.ica/reg_standard/mask /home/rosi/Desktop/ROSALIA/dr_.ica/reg_standard/mask /home/rosi/Desktop/ROSALIA/jpm_.ica/reg_standard/mask /home/rosi/Desktop/ROSALIA/flp_.ica/reg_standard/mask /home/rosi/Desktop/ROSALIA/tc_.ica/reg_standard/mask /home/rosi/Desktop/ROSALIA/jsr_.ica/reg_standard/mask
** ERROR (nifti_image_read): failed to find header file for '/home/rosi/Desktop/ROSALIA/ap_.ica/reg_standard/mask'
** ERROR: nifti_image_open(/home/rosi/Desktop/ROSALIA/ap_.ica/reg_standard/mask): bad header info
Error: failed to open file /home/rosi/Desktop/ROSALIA/ap_.ica/reg_standard/mask
Cannot open volume /home/rosi/Desktop/ROSALIA/ap_.ica/reg_standard/mask for reading!

mkdir -p inputreg

/usr/share/fsl/4.1/bin/fslmaths ../mask -mul 14 -Tmean masksum -odt short
** ERROR (nifti_image_read): failed to find header file for '../mask'
** ERROR: nifti_image_open(../mask): bad header info
Error: failed to open file ../mask
Cannot open volume ../mask for reading!

/usr/share/fsl/4.1/bin/fslmaths masksum -thr 14 -add masksum masksum
** ERROR (nifti_image_read): failed to find header file for 'masksum'
** ERROR: nifti_image_open(masksum): bad header info
Error: failed to open file masksum
Cannot open volume masksum for reading!

/usr/share/fsl/4.1/bin/overlay 0 0 -c ../bg_image -a masksum 0.9 28 masksum_overlay
** ERROR (nifti_image_read): failed to find header file for '../bg_image'
** ERROR: nifti_image_open(../bg_image): bad header info
Error: failed to open file ../bg_image
ERROR: Could not open image ../bg_image
Image Exception : #22 :: Failed to read volume ../bg_image
terminate called after throwing an instance of 'RBD_COMMON::BaseException'
Aborted

/usr/share/fsl/4.1/bin/slicer masksum_overlay -S 2 750 masksum_overlay.png
** ERROR (nifti_image_read): failed to find header file for 'masksum_overlay'
** ERROR: nifti_image_open(masksum_overlay): bad header info
Error: failed to open file masksum_overlay
ERROR: Could not open image masksum_overlay
Image Exception : #22 :: Failed to read volume masksum_overlay
terminate called after throwing an instance of 'RBD_COMMON::BaseException'
Aborted

/usr/share/fsl/4.1/bin/fslmaths masksum -mul 0 maskunique
** ERROR (nifti_image_read): failed to find header file for 'masksum'
** ERROR: nifti_image_open(masksum): bad header info
Error: failed to open file masksum
Cannot open volume masksum for reading!

/usr/share/fsl/4.1/bin/fslmaths 0 -mul -1 -add 1 -mul 1 -add maskunique maskunique
** ERROR (nifti_image_read): failed to find header file for '0'
** ERROR: nifti_image_open(0): bad header info
Error: failed to open file 0
Cannot open volume 0 for reading!

/usr/share/fsl/4.1/bin/fslmaths 0 -mul -1 -add 1 -mul 2 -add maskunique maskunique
** ERROR (nifti_image_read): failed to find header file for '0'
** ERROR: nifti_image_open(0): bad header info
Error: failed to open file 0
Cannot open volume 0 for reading!

/usr/share/fsl/4.1/bin/fslmaths 0 -mul -1 -add 1 -mul 3 -add maskunique maskunique
** ERROR (nifti_image_read): failed to find header file for '0'
** ERROR: nifti_image_open(0): bad header info
Error: failed to open file 0
Cannot open volume 0 for reading!

/usr/share/fsl/4.1/bin/fslmaths 0 -mul -1 -add 1 -mul 4 -add maskunique maskunique
** ERROR (nifti_image_read): failed to find header file for '0'
** ERROR: nifti_image_open(0): bad header info
Error: failed to open file 0
Cannot open volume 0 for reading!

/usr/share/fsl/4.1/bin/fslmaths 0 -mul -1 -add 1 -mul 5 -add maskunique maskunique
** ERROR (nifti_image_read): failed to find header file for '0'
** ERROR: nifti_image_open(0): bad header info
Error: failed to open file 0
Cannot open volume 0 for reading!

/usr/share/fsl/4.1/bin/fslmaths 0 -mul -1 -add 1 -mul 6 -add maskunique maskunique
** ERROR (nifti_image_read): failed to find header file for '0'
** ERROR: nifti_image_open(0): bad header info
Error: failed to open file 0
Cannot open volume 0 for reading!

/usr/share/fsl/4.1/bin/fslmaths 0 -mul -1 -add 1 -mul 7 -add maskunique maskunique
** ERROR (nifti_image_read): failed to find header file for '0'
** ERROR: nifti_image_open(0): bad header info
Error: failed to open file 0
Cannot open volume 0 for reading!

/usr/share/fsl/4.1/bin/fslmaths 0 -mul -1 -add 1 -mul 8 -add maskunique maskunique
** ERROR (nifti_image_read): failed to find header file for '0'
** ERROR: nifti_image_open(0): bad header info
Error: failed to open file 0
Cannot open volume 0 for reading!

/usr/share/fsl/4.1/bin/fslmaths 0 -mul -1 -add 1 -mul 9 -add maskunique maskunique
** ERROR (nifti_image_read): failed to find header file for '0'
** ERROR: nifti_image_open(0): bad header info
Error: failed to open file 0
Cannot open volume 0 for reading!

/usr/share/fsl/4.1/bin/fslmaths 0 -mul -1 -add 1 -mul 10 -add maskunique maskunique
** ERROR (nifti_image_read): failed to find header file for '0'
** ERROR: nifti_image_open(0): bad header info
Error: failed to open file 0
Cannot open volume 0 for reading!

/usr/share/fsl/4.1/bin/fslmaths 0 -mul -1 -add 1 -mul 11 -add maskunique maskunique
** ERROR (nifti_image_read): failed to find header file for '0'
** ERROR: nifti_image_open(0): bad header info
Error: failed to open file 0
Cannot open volume 0 for reading!

/usr/share/fsl/4.1/bin/fslmaths 0 -mul -1 -add 1 -mul 12 -add maskunique maskunique
** ERROR (nifti_image_read): failed to find header file for '0'
** ERROR: nifti_image_open(0): bad header info
Error: failed to open file 0
Cannot open volume 0 for reading!

/usr/share/fsl/4.1/bin/fslmaths 0 -mul -1 -add 1 -mul 13 -add maskunique maskunique
** ERROR (nifti_image_read): failed to find header file for '0'
** ERROR: nifti_image_open(0): bad header info
Error: failed to open file 0
Cannot open volume 0 for reading!

/usr/share/fsl/4.1/bin/fslmaths 0 -mul -1 -add 1 -mul 14 -add maskunique maskunique
** ERROR (nifti_image_read): failed to find header file for '0'
** ERROR: nifti_image_open(0): bad header info
Error: failed to open file 0
Cannot open volume 0 for reading!

/usr/share/fsl/4.1/bin/fslmaths masksum -thr 13 -uthr 13 -bin -mul maskunique maskunique
** ERROR (nifti_image_read): failed to find header file for 'masksum'
** ERROR: nifti_image_open(masksum): bad header info
Error: failed to open file masksum
Cannot open volume masksum for reading!

/usr/share/fsl/4.1/bin/overlay 0 0 ../bg_image -a maskunique 0.9 14 maskunique_overlay
** ERROR (nifti_image_read): failed to find header file for '../bg_image'
** ERROR: nifti_image_open(../bg_image): bad header info
Error: failed to open file ../bg_image
ERROR: Could not open image ../bg_image
Image Exception : #22 :: Failed to read volume ../bg_image
terminate called after throwing an instance of 'RBD_COMMON::BaseException'
Aborted

/usr/share/fsl/4.1/bin/slicer maskunique_overlay -S 2 750 maskunique_overlay.png
** ERROR (nifti_image_read): failed to find header file for 'maskunique_overlay'
** ERROR: nifti_image_open(maskunique_overlay): bad header info
Error: failed to open file maskunique_overlay
ERROR: Could not open image maskunique_overlay
Image Exception : #22 :: Failed to read volume maskunique_overlay
terminate called after throwing an instance of 'RBD_COMMON::BaseException'
Aborted

/bin/cp /usr/share/fsl/4.1/etc/luts/ramp.gif .ramp.gif

/usr/share/fsl/4.1/bin/fslmaths mask -Tmin -bin mask -odt char
** ERROR (nifti_image_read): failed to find header file for 'mask'
** ERROR: nifti_image_open(mask): bad header info
Error: failed to open file mask
Cannot open volume mask for reading!

/usr/share/fsl/4.1/bin/melodic -i .filelist -o groupmelodic.ica -v --nobet --bgthreshold=3 --tr=2.0 --report --guireport=../../report.html --bgimage=bg_image -d 0 --mmthresh=0.5 -a concat

Melodic Version 3.10

Melodic results will be in groupmelodic.ica

** ERROR (nifti_image_read): failed to find header file for '/home/rosi/Desktop/ROSALIA/ap_.ica/reg_standard/filtered_func_data'
** ERROR: nifti_image_open(/home/rosi/Desktop/ROSALIA/ap_.ica/reg_standard/filtered_func_data): bad header info
Error: failed to open file /home/rosi/Desktop/ROSALIA/ap_.ica/reg_standard/filtered_func_data
ERROR: Could not open image /home/rosi/Desktop/ROSALIA/ap_.ica/reg_standard/filtered_func_data
Image Exception : #22 :: Failed to read volume /home/rosi/Desktop/ROSALIA/ap_.ica/reg_standard/filtered_func_data



An exception has been thrown
Failed to read volume /home/rosi/Desktop/ROSALIA/ap_.ica/reg_standard/filtered_func_dataTrace: read_volumeROI.

Any advice before giving up my work? I am working again and again all the days, learning about Linux and I don't find the solution.

I think is too much for me, learning FSL, learning Linux, installing UBUNTU, get the command for making executable properly FSL, and so on, too much things in few days
I only needed covariation and now I can't do it. I feel desperate.

Many thanks,