Skip to content
Snippets Groups Projects

MNT: Run GPU jobs via fsl_sub, so they can be run locally or on the cluster

Merged Paul McCarthy requested to merge mnt/gpu-submit into master
4 files
+ 43
15
Compare changes
  • Side-by-side
  • Inline
Files
4
+ 6
1
@@ -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
Loading