cc_staff
415
edits
Line 62: | Line 62: | ||
==Example of working batch script for freesurfer version >= 6.0.0== | ==Example of working batch script for freesurfer version >= 6.0.0== | ||
{{File | |||
|name=mysub.sh | |||
|lang="bash" | |||
|contents= | |||
#!/bin/sh | |||
#SBATCH --account=def-someuser | |||
#SBATCH --mem=16G | |||
#SBATCH --time=10:00:00 | |||
# Load the module: | |||
module load freesurfer/6.0.0 | |||
# set the variables: | |||
export SUBJECTS_DIR=<User_Defined_DIR> | |||
source $EBROOTFREESURFER/FreeSurferEnv.sh | |||
echo "Starting run at: `date`" | |||
recon-all command | |||
echo "Program finished with exit code $? at: `date`" | |||
}} | |||
==Examples of required walltimes== | ==Examples of required walltimes== |