File: fsl.modfile

package info (click to toggle)
fsl 5.0.8-6
  • links: PTS, VCS
  • area: non-free
  • in suites: buster
  • size: 23,660 kB
  • sloc: cpp: 166,922; tcl: 25,439; sh: 14,612; ansic: 9,707; makefile: 1,336; python: 151; xml: 106; csh: 17
file content (88 lines) | stat: -rw-r--r-- 3,280 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
#%Module#
#
# FSL 5.0
#
# Ported to Environment Modules by Alex Waite <Alexqw85@gmail.com>
# Derived from the modified fsl.sh for Debian by Michael Hanke <michael.hanke@gmail.com>
# Original fsl.sh written by Mark Jenkinson, FMRIB Analysis Group, University of Oxford

## Short description of package:
module-whatis 	"FSL is a comprehensive library of image analysis and statistical tools for fMRI, MRI, and DTI brain imaging data."

## URL of application homepage:
set appurl     	http://fsl.fmrib.ox.ac.uk/fsl/fslwiki/

proc ModulesHelp { } {
    puts stderr "Sets up the paths and environment variables for FSL 5.0."
}

## Local variables
set		root_share		/usr/share/fsl/5.0/
set		root_lib		/usr/lib/fsl/5.0/

## Environment variables
# Debian has a fixed FSLDIR
setenv		FSLDIR			$root_share

# Possum is installed in the same directory
setenv		POSSUMDIR		$root_share

# add the fsl binary path to the search path
prepend-path	PATH			$root_lib

# Configure the linker search path for Debian FSLs internal shared libraries
prepend-path	LD_LIBRARY_PATH		$root_lib

# The following variable selects the default output image type
# Legal values are:
# NIFTI, NIFTI_PAIR, NIFTI_GZ, NIFTI_PAIR_GZ
# This would typically be overwritten in by a script
# or in ${HOME}/privatemodules/ if the user wished to write files with
# a different format
setenv		FSLOUTPUTTYPE		NIFTI_GZ

# Comment out the definition of FSLMULTIFILEQUIT to enable
#  FSL programs to soldier on after detecting multiple image
#  files with the same basename ( e.g. epi.hdr and epi.nii )
setenv		FSLMULTIFILEQUIT	TRUE

# The following variables specify paths for programs and can be changed
# or replaced by different programs, by default set sensible Debian-defaults
setenv		FSLTCLSH		/usr/bin/tclsh
setenv		FSLWISH			/usr/bin/wish
setenv		FSLBROWSER		/etc/alternatives/x-www-browser

# The following variables are used for running code in parallel across
#  several machines ( i.e. for FDT )
# for a cluster engine setup see below
setenv		FSLLOCKDIR		''
setenv		FSLMACHINELIST		''
setenv		FSLREMOTECALL		''

# If set, tell FSL to use Sun Gridengine to submit jobs instead of running them
# directly on the machine. If unset, no attempt will be made to utilize
# gridengine, even if it is running. By default SGE is not utilized.
#setenv		FSLPARALLEL		1

# Mail setup for gridengine jobs. See man qsub (-m option) for all possible
# settings. By default no email is sent.
setenv		FSLCLUSTER_MAILOPTS	"n"

# default queue for job submissions
#setenv		FSLCLUSTER_DEFAULT_QUEUE	"all.q"

# Warn if user has a legacy fsl.sh config that we won't be reading.
set		legacy_user_conf	$env(HOME)/.fslconf/fsl.sh

if { [ file exists "$legacy_user_conf" ] } {
	puts stderr "\n#######################################################"
	puts stderr "# Legacy $legacy_user_conf config file detected!"
	puts stderr "# - Modules cannot parse this config file; it will be ignored."
	puts stderr "# - If you need to override default values, either overwrite"
	puts stderr "# -   them in your shell now or write a privatemodule to load this"
	puts stderr "# -   module and `setenv` over the offending variables."
	puts stderr "#######################################################\n"
	puts stderr "FSL loaded successfully."
}

## EOB