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
Fidel Alfaro Almagro
UK_biobank_pipeline_v_1.5
Commits
98c3e929
Commit
98c3e929
authored
Sep 08, 2021
by
Fidel Alfaro Almagro
Browse files
Make autoPtx use parallel in the CPU version
parent
3a78bf1c
Changes
1
Hide whitespace changes
Inline
Side-by-side
bb_diffusion_pipeline/bb_autoPtx/bb_autoPtx_queue_cpu_joint
View file @
98c3e929
...
@@ -47,7 +47,9 @@ while read line ; do
...
@@ -47,7 +47,9 @@ while read line ; do
echo
"
$execPath
/bb_trackSubjectStruct
$1
/dMRI
$struct
$nseed
$MNI_to_FA_warp
$FA_to_MNI_warp
CPU"
echo
"
$execPath
/bb_trackSubjectStruct
$1
/dMRI
$struct
$nseed
$MNI_to_FA_warp
$FA_to_MNI_warp
CPU"
done
<
$structures
>
jobs.txt
done
<
$structures
>
jobs.txt
job
=
`
${
FSLDIR
}
/bin/fsl_sub
-q
$3
-N
"bb_autoPtx_
${
1
}
"
-l
$logDir
/autoPtx
$holdJob
-t
jobs.txt
`
#job=`${FSLDIR}/bin/fsl_sub -q $3 -N "bb_autoPtx_${1}" -l $logDir/autoPtx $holdJob -t jobs.txt`
job
=
`
${
FSLDIR
}
/bin/fsl_sub
-q
$3
-N
"bb_autoPtx_
${
1
}
"
-l
$logDir
/autoPtx
$holdJob
sleep
1
`
cat
jobs.txt | parallel
>
$logDir
/bb_autoPtx_tracts_out.txt 2>
$logDir
/bb_autoPtx_tracts_err.txt
.
$BB_BIN_DIR
/bb_pipeline_tools/bb_set_footer
.
$BB_BIN_DIR
/bb_pipeline_tools/bb_set_footer
...
...
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