Skip to content
Snippets Groups Projects
Commit c51427e1 authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist: Committed by Paul McCarthy
Browse files

BF: get nthreads from basename, not full executable path

parent 9fcc45cb
No related branches found
No related tags found
1 merge request!42Update runEddy script to work with new multi-threaded version.
......@@ -76,7 +76,7 @@ do
# into eddy_cpu --nthr=N
fsl_sub="fsl_sub -l ${outdir} -q long.q"
exe="${exe_name%_nthr*}"
nthr="${exe_name#eddy_cpu_nthr_}"
nthr="${variant#eddy_cpu_nthr_}"
eddy_args+=("--nthr=${nthr}")
if [ "${nthr}" != "1" ]; then
fsl_sub="${fsl_sub} -s openmp,${nthr}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment