Diff for "FslInformation" - MRC CBU Imaging Wiki
location: Diff for "FslInformation"
Differences between revisions 1 and 18 (spanning 17 versions)
Revision 1 as of 2007-04-30 10:25:28
Size: 739
Editor: devel03
Comment:
Revision 18 as of 2009-11-02 12:25:41
Size: 4105
Editor: MartinMonti
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
Line 10: Line 9:

On our system, the current version of FSL (that is, the version you get by typing 'fsl' at the command prompt) is the one pointed to by the link `/imaging/local/linux/fsl`. At the time of writing this is the slightly outdated 3.2 version.
Line 15: Line 11:
Any problems, report them to MatthewBrett or RhodriCusack. The data for the FSL course is in `/imaging/local/fsl/fslcourse`.

Any problems, report them to MartinMonti.

== Using the latest version of FSL ==
Before running fsl you need to run

{{{
fsl_4.1.2_setup
}}}
which is the latest version of fsl at the moment. By running this command you are also using load sharing with any fsl command. If you want to check if you are using the latest version try

{{{
which fsl
}}}
== Using a specific version of FSL on the CBU systems ==
If you need to use a specific version, rather than the one pointed to by `/imaging/local/linux/bin/fsl`, then define the path to the version of FSL you want, and put something like this at the end of your `~/.cshrc` file:

{{{
# FSL stuff
setenv FSLDIR /imaging/local/linux/bin/fsl-4.1.2
source ${FSLDIR}/etc/fslconf/fsl.csh
set path = (${FSLDIR}/bin $path)
}}}
If you want to use the loadsharing system, then replace the last line above with the following:

{{{
set path = (${FSLDIR}/bin/loadshare/bin $path)
}}}
In order for this to work when you login across linux machines, you will (I'm afraid) also need to put the same lines in your `~/.login` file. Put these lines somewhere between the lines `# Space for personal defaults` and `# End space for personal defaults` in the `~/.login` file. By using this method load sharing is not used automatically.

== FSL ALIAS suggestions ==

Occasionally, the FSL GUIs will freeze if you launche them from a terminal with the '&' command, and then try to use the terminal. To avoid this problem just add a couple ALIAS commands to your .cshrc file, as follows:

{{{#FSL Aliases
alias fslview 'xterm -e fslview &'
alias fsl 'xterm -e fsl &' }}}

(Remember to source the .cshrc file after editing it, by typing 'source ~/.cshrc' in a terminal)

Now when you type 'fsl' in a terminal it will open the GUI from a new terminal (if you close the new terminal it will close the GUI, and viceversa). This will allow you to still use the terminal in which you typed 'fsl' without freezing the GUI.

If there are other GUIs you use often, just create other alias commands just by teplacing 'guiname' with the command to call the GUI in the following line:

{{{
alias guiname 'xterm -e guiname &'
}}}



= Recent Updates: =
== 2008/12/15 Installed latest FSL ==
Type

{{{
fsl_4.1.2_setup
}}}
to use it[RC]

== 2008/10/6 small FSL patch requested by Mirjana ==
Ask her if you're curious [RC]

== 2008/9/15 FSL patches applied as requested by Eleftherios ==
You may now choose between the patched version

{{{
fsl_4.1.0_setup
}}}
and the unpatched one

{{{
fsl_4.1.0_nopatches_setup
}}}
[RC]

== 2008/9/1 and 2008/9/2 Installed FSL 4.1.0 ==
Type

{{{
fsl_4.1.0_setup
}}}
to use it

Fixed, added load sharing wrappers, accidentally deleted fsl3.2, hope no-one need it.

[RC]

== 2008/02/06 Added load balancing to FSL ==
All FSL 4.0.1 commands are now executed with load balancing.

Details... wrote python script /imaging/local/spm/loadshare/runfsl.py which launches an FSL command on the currently least busy machine. Then, /imaging/local/spm/loadshare/fslwrappers.py which makes symbolic links in /imaging/local/linux/bin/fsl-4.01/bin/loadshare/bin

This directory is now added by fsl_4.0.1_setup instead of the one with the actual commands in.

If you wish to run multiple scripts or jobs in parallel launch with separate xterms like this:

{{{
   xterm -e [your command 1] &
   xterm -e [your command 2] &
   e.g., xterm -e feat myscript.fsf &
}}}
[RC, MM]

== 2007/12/12 Added FSL 4.0.1 ==
To use, type

{{{
fsl_4.0.1_setup
}}}
at the Linux prompt

FSL information

FSL is the FMRIB Software Library. It is a C / C++ / Tcl/Tk package written by the Oxford analysis group.

For more information see:

You can find the FSL example data set (http://www.fmrib.ox.ac.uk/fsl/feeds/doc/index.html) in /imaging/local/fsl/feeds.

The data for the FSL course is in /imaging/local/fsl/fslcourse.

Any problems, report them to MartinMonti.

Using the latest version of FSL

Before running fsl you need to run

fsl_4.1.2_setup

which is the latest version of fsl at the moment. By running this command you are also using load sharing with any fsl command. If you want to check if you are using the latest version try

which fsl

Using a specific version of FSL on the CBU systems

If you need to use a specific version, rather than the one pointed to by /imaging/local/linux/bin/fsl, then define the path to the version of FSL you want, and put something like this at the end of your ~/.cshrc file:

# FSL stuff
setenv FSLDIR /imaging/local/linux/bin/fsl-4.1.2
source ${FSLDIR}/etc/fslconf/fsl.csh
set path = (${FSLDIR}/bin $path)

If you want to use the loadsharing system, then replace the last line above with the following:

set path = (${FSLDIR}/bin/loadshare/bin $path)

In order for this to work when you login across linux machines, you will (I'm afraid) also need to put the same lines in your ~/.login file. Put these lines somewhere between the lines #  Space for personal defaults and #  End space for personal defaults in the ~/.login file. By using this method load sharing is not used automatically.

FSL ALIAS suggestions

Occasionally, the FSL GUIs will freeze if you launche them from a terminal with the '&' command, and then try to use the terminal. To avoid this problem just add a couple ALIAS commands to your .cshrc file, as follows:

{{{#FSL Aliases alias fslview 'xterm -e fslview &' alias fsl 'xterm -e fsl &' }}}

(Remember to source the .cshrc file after editing it, by typing 'source ~/.cshrc' in a terminal)

Now when you type 'fsl' in a terminal it will open the GUI from a new terminal (if you close the new terminal it will close the GUI, and viceversa). This will allow you to still use the terminal in which you typed 'fsl' without freezing the GUI.

If there are other GUIs you use often, just create other alias commands just by teplacing 'guiname' with the command to call the GUI in the following line:

alias guiname 'xterm -e guiname &'

Recent Updates:

2008/12/15 Installed latest FSL

Type

fsl_4.1.2_setup

to use it[RC]

2008/10/6 small FSL patch requested by Mirjana

Ask her if you're curious [RC]

2008/9/15 FSL patches applied as requested by Eleftherios

You may now choose between the patched version

fsl_4.1.0_setup

and the unpatched one

fsl_4.1.0_nopatches_setup

[RC]

2008/9/1 and 2008/9/2 Installed FSL 4.1.0

Type

fsl_4.1.0_setup

to use it

Fixed, added load sharing wrappers, accidentally deleted fsl3.2, hope no-one need it.

[RC]

2008/02/06 Added load balancing to FSL

All FSL 4.0.1 commands are now executed with load balancing.

Details... wrote python script /imaging/local/spm/loadshare/runfsl.py which launches an FSL command on the currently least busy machine. Then, /imaging/local/spm/loadshare/fslwrappers.py which makes symbolic links in /imaging/local/linux/bin/fsl-4.01/bin/loadshare/bin

This directory is now added by fsl_4.0.1_setup instead of the one with the actual commands in.

If you wish to run multiple scripts or jobs in parallel launch with separate xterms like this:

   xterm -e [your command 1] &
   xterm -e [your command 2] &
   e.g., xterm -e feat myscript.fsf &

[RC, MM]

2007/12/12 Added FSL 4.0.1

To use, type

fsl_4.0.1_setup

at the Linux prompt

CbuImaging: FslInformation (last edited 2019-09-11 13:50:27 by MartaCorreia)