Fsl

From LinuxIntro
Revision as of 17:56, 21 August 2012 by ThorstenStaerk (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This is an example about installing FSL, tool for brain image analysis.

Contents

get it

  • get a server in the internet e.g. from rackspace. As operating system, choose CentOS 6.
  • download fsl_installer.sh and fsl-4.1.9-centos5_64.tar.gz
[root@gosia centos]# ls
fsl-4.1.9-centos5_64.tar.gz  fsl_installer.sh
[root@gosia centos]# bash fsl_installer.sh 
FSL install script
==================

Looking for FSL tarball in the current directory...
***************************************************************
No FSL tarball specified, assuming you want me to install 
/root/centos/fsl-4.1.9-centos5_64.tar.gz 
from the current directory.
***************************************************************

Where would you like to install FSL to? [/usr/local] 

Checking OS release ...
ls: cannot access ld-*.so: No such file or directory
fsl_installer.sh: line 660: [: -lt: unary operator expected
fsl_installer.sh: line 663: [: -gt: unary operator expected
[OK] 
Checking CPU type...
[OK] 
Checking install file...(this may take several minutes)

After you have done this, on CentOs 6, you have to

yum install compat-expat1

and you must install libjpeg and libtiff.

start fsl

You start fsl:

export FSLDIR=/usr/local/fsl
. /usr/local/fsl/etc/fslconf/fsl.sh 
/usr/local/fsl/bin/fsl

TroubleShooting

SUSE 12.1 and CentOs 6.0:

# ls
fsl-4.1.9-sources.tar.gz  fsl_installer.sh
suse:/home/gosia/src # bash fsl_installer.sh 
FSL install script
==================

Looking for FSL tarball in the current directory...
***************************************************************
No FSL tarball specified, assuming you want me to install 
/home/gosia/src/fsl-4.1.9-sources.tar.gz 
from the current directory.
***************************************************************

Where would you like to install FSL to? [/usr/local] 

Checking OS release ...
[Failed] This is Linux and you have provided a non-Linux build of FSL!

See also