
# This is the main configuration file for VoxBo, usually found inside
# the etc subdirectory.

# To help speed things along, things you need to set for cluster
# configuration are labelled "CLUSTER," and things that apply to
# single-user mode as well are labelled BOTH.  (At the moment, there
# are only two of the latter, and no things that apply solely to
# single-user mode.)

# In all the below, fields can be delimited with tabs or spaces.  We
# don't care!

# CLUSTER: the servers are now configured in the VoxBo/etc/serverlist
# file and the VoxBo/etc/servers directory.

# CLUSTER: to set the location of the VoxBo directory, perhaps on a
# machine-by-machine basis, put the location in a file called
# /etc/voxbo.dir

# CLUSTER: email address to which system alerts should be sent
sysadmin        root@nowhere.com

# CLUSTER: users who should have privileges within voxbo
superusers      root voxbo

# CLUSTER: how long should the scheduler sleep, in seconds, between
# checking the queue.  no need to mess with this usually.
queuedelay      3

# CLUSTER: the server port is the port your server listens to, as
# specified in your services file.  Defaults to 6004.  Note that
# serverport+1 (by default 6005) is also used, for the scheduler's
# built-in server.
# serverport 6004

# CLUSTER: user id (uid) of the voxbo user (defaults to user voxbo, so
# you can usually leave it commented out)
# voxbouser voxbo

# BOTH: path to sendmail on scheduler machine (try "which sendmail").
# This is used for email notification, and if it's not set or set
# incorrectly, it's no disaster, just no email will be sent.
sendmail /usr/lib/sendmail

# BOTH: the remainder of this file is environment variables.  Some of
# these may be more relevant to you than others, depending on what
# kinds of jobs you run.  All jobs run with these environment
# variables set, and you can refer to them in jobtypes.

# Note that the path variable is honored when excuting commands listed
# in jobtypes, so if it's set properly you can use "vbconv" instead of
# something like "/usr/local/mydirectory/long/annoying/path/vbconv"

setenv	PATH=/bin:/usr/bin:/usr/local/bin:/usr/local/VoxBo/bin:
setenv IDL_PATH=+/usr/local/rsi/idl/lib:/usr/local/VoxBo/pros:

# SPM2-related
setenv SPM2_PATH=/usr/local/spm2
setenv SPM2_MATLAB_CMD=/usr/local/bin/matlab -nodisplay -nojvm

# SPM5-related
setenv SPM5_PATH=/usr/local/spm5
setenv SPM5_MATLAB_CMD=/usr/local/bin/matlab -nodisplay -nojvm

# SPM8-related
setenv SPM5_PATH=/usr/local/spm8
setenv SPM5_MATLAB_CMD=/usr/local/bin/matlab -nodisplay -nojvm

# FSL-related
setenv FSLDIR=/usr/local/fsl
setenv FSLOUTPUTTYPE=ANALYZE
setenv FSLMULTIFILEQUIT=TRUE
setenv FSLTCLSH=/usr/local/fsl/bin/tclsh
setenv FSLWISH=/usr/local/fsl/bin/wish
setenv FSLGNUPLOT=/usr/local/fsl/bin/gnuplot
setenv FSLDISPLAY=/usr/local/fsl/bin/display
setenv FSLCONVERT=/usr/local/fsl/bin/convert
setenv FSLBROWSER=$FSLDIR/tcl/fslwebbrowser
