Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
FSL
xtract
Commits
227748f3
Commit
227748f3
authored
Sep 23, 2020
by
Duncan Mortimer
Browse files
Add support for new fsl_sub
This also brings parallelism for none-GPU machines
parent
2643bf34
Changes
1
Hide whitespace changes
Inline
Side-by-side
xtract
View file @
227748f3
...
@@ -510,9 +510,9 @@ chmod +x $commands
...
@@ -510,9 +510,9 @@ chmod +x $commands
if
[
"x
$SGE_ROOT
"
!=
"x"
]
;
then
# Submit all commands to run in parallel on the cluster
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.
# One job per tract for a CPU cluster, one job for all tracts for a GPU cluster.
if
[
$gpu
-eq
0
]
;
then
if
[
$gpu
-eq
0
]
;
then
fsl_sub
-T
2160
-
q
long.q
-l
$out
/logs
-N
xtract
-t
$commands
fsl_sub
-T
2160
-
n
-l
"
$out
/logs
"
-N
xtract
-t
"
$commands
"
else
else
fsl_sub
-T
300
-q
$FSLGECUDAQ
-l
$out
/logs
-N
xtract
$commands
fsl_sub
-T
300
-q
$FSLGECUDAQ
-l
$out
/logs
-N
xtract
$commands
fi
fi
else
# If no SGE, run locally
else
# If no SGE, run locally
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment