Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pyfeeds-tests
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FSL
pyfeeds-tests
Commits
8b2d65cc
Commit
8b2d65cc
authored
1 year ago
by
Paul McCarthy
Browse files
Options
Downloads
Patches
Plain Diff
MNT: Run GPU jobs via fsl_sub, so they can be run locally or on the cluster
parent
706fd549
No related branches found
No related tags found
1 merge request
!56
MNT: Run GPU jobs via fsl_sub, so they can be run locally or on the cluster
Pipeline
#19310
skipped
Stage: fsl-ci-build
Changes
4
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
gpu_test/btest/feedsRun
+6
-1
6 additions, 1 deletion
gpu_test/btest/feedsRun
gpu_test/etest/feedsRun
+15
-8
15 additions, 8 deletions
gpu_test/etest/feedsRun
gpu_test/ptest/feedsRun
+11
-5
11 additions, 5 deletions
gpu_test/ptest/feedsRun
mmorf/feedsRun
+11
-1
11 additions, 1 deletion
mmorf/feedsRun
with
43 additions
and
15 deletions
gpu_test/btest/feedsRun
+
6
−
1
View file @
8b2d65cc
...
...
@@ -8,4 +8,9 @@ indir=$(pwd)
pushd
$outdir
cp
-r
$indir
/bedpost
.
bedpostx_gpu bedpost
job_id
=
$(
fsl_sub
--coprocessor
=
cuda bedpostx_gpu bedpost
)
touch
${
outdir
}
/wait
fsl_sub
--jobhold
${
job_id
}
rm wait
while
[
-e
${
outdir
}
/wait
]
;
do
sleep
1m
done
This diff is collapsed.
Click to expand it.
gpu_test/etest/feedsRun
+
15
−
8
View file @
8b2d65cc
...
...
@@ -29,11 +29,18 @@ echo $indx > $dti_txt2
fslroi
$dti
$dti_b0
0 1
bet
$dti_b0
$dti_b
-f
0.2
-R
-n
-m
eddy
\
--imain
=
$dti
\
--mask
=
$dti_b
--acqp
=
$dti_txt
\
--index
=
$dti_txt2
\
--bvecs
=
$dti_bvec
\
--bvals
=
$dti_bval
\
--repol
\
--out
=
$dti_u
job_id
=
$(
fsl_sub
--coprocessor
=
cuda eddy
\
--imain
=
$dti
\
--mask
=
$dti_b
\
--acqp
=
$dti_txt
\
--index
=
$dti_txt2
\
--bvecs
=
$dti_bvec
\
--bvals
=
$dti_bval
\
--repol
\
--out
=
$dti_u
)
touch
${
outdir
}
/wait
fsl_sub
--jobhold
${
job_id
}
rm wait
while
[
-e
${
outdir
}
/wait
]
;
do
sleep
1m
done
This diff is collapsed.
Click to expand it.
gpu_test/ptest/feedsRun
+
11
−
5
View file @
8b2d65cc
...
...
@@ -8,9 +8,15 @@ indir=$(pwd)
pushd
$outdir
for
i
in
{
1..172
}
;
do
probtrackx2_gpu
-x
$indir
/masks/
$i
.nii.gz
\
--dir
=
$indir
/probtrackx/
$i
--forcedir
-P
200
\
-s
$indir
/bedpost.bedpostX/merged
\
-m
$indir
/bedpost.bedpostX/nodif_brain_mask
\
--opd
--pd
-l
-c
0.2
--distthresh
=
0
job_id
=
$(
fsl_sub
--coprocessor
=
cuda probtrackx2_gpu
\
-x
$indir
/masks/
$i
.nii.gz
\
--dir
=
$indir
/probtrackx/
$i
--forcedir
-P
200
\
-s
$indir
/bedpost.bedpostX/merged
\
-m
$indir
/bedpost.bedpostX/nodif_brain_mask
\
--opd
--pd
-l
-c
0.2
--distthresh
=
0
)
touch
${
outdir
}
/wait
fsl_sub
--jobhold
${
job_id
}
rm wait
while
[
-e
${
outdir
}
/wait
]
;
do
sleep
1m
done
done
This diff is collapsed.
Click to expand it.
mmorf/feedsRun
+
11
−
1
View file @
8b2d65cc
...
...
@@ -27,7 +27,17 @@ echo "-------------"
echo
"Running mmorf"
echo
"-------------"
echo
""
mmorf
--version
--config
${
MMORF_CONFIG
}
# Use fsl_sub in case we are running on the
# cluster. This will just run normally if running
# locally (but fsl_sub will still return a job id
# that can be used in the subsequent hold call).
job_id
=
$(
fsl_sub
--coprocessor
=
cuda mmorf
--version
--config
${
MMORF_CONFIG
}
)
touch
${
outdir
}
/wait
fsl_sub
--jobhold
${
job_id
}
rm wait
while
[
-e
${
outdir
}
/wait
]
;
do
sleep
1m
done
# Combine warps
echo
""
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment