Commit 227748f3 authored by Duncan Mortimer's avatar Duncan Mortimer
Browse files

Add support for new fsl_sub

This also brings parallelism for none-GPU machines
parent 2643bf34
......@@ -510,9 +510,9 @@ chmod +x $commands
if [ "x$SGE_ROOT" != "x" ]; then # Submit all commands to run in parallel on the cluster
# One job per tract for a CPU cluster, one job for all tracts for a GPU cluster.
if [ $gpu -eq 0 ];then
fsl_sub -T 2160 -q long.q -l $out/logs -N xtract -t $commands
if [ $gpu -eq 0 ]; then
fsl_sub -T 2160 -n -l "$out/logs" -N xtract -t "$commands"
fsl_sub -T 300 -q $FSLGECUDAQ -l $out/logs -N xtract $commands
else # If no SGE, run locally
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment