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

BF: get nthreads from basename, not full executable path

parent 87685dce
No related branches found
No related tags found
No related merge requests found
Pipeline #14490 waiting for manual action
This commit is part of merge request !42. Comments created here will be created in the context of that merge request.
......@@ -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