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

RF: Typo in varname. Only request an openmp/multi-core node for --nthr[N>1]

parent 2992cfd1
No related branches found
No related tags found
1 merge request!42Update runEddy script to work with new multi-threaded version.
......@@ -74,11 +74,15 @@ do
extra_args=""
else
fsl_sub="fsl_sub -l ${outdir} -q long.q -s openmp,6"
# unpack eddy_cpu_nthr_N
# into eddy_cpu --nthr=N
fsl_sub="fsl_sub -l ${outdir} -q long.q"
exe="${exe_name%_nthr*}"
extra_ars="--nthr=${exe_name#eddy_cpu_nthr_}"
nthr="${exe_name#eddy_cpu_nthr_}"
extra_args="--nthr=${nthr}"
if [ "${nthr}" != "1" ]; then
fsl_sub="${fsl_sub} -s openmp,${nthr}"
fi
fi
# fsl_sub will return an error (and not
......
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