Skip to content
Snippets Groups Projects

Update runEddy script to work with new multi-threaded version.

Merged Paul McCarthy requested to merge mnt/eddy-nthr into master
1 file
+ 5
1
Compare changes
  • Side-by-side
  • Inline
+ 5
1
@@ -46,10 +46,14 @@ done
@@ -46,10 +46,14 @@ done
# "eddy_cpu_nthr_X" to the list of
# "eddy_cpu_nthr_X" to the list of
# executables to run. The name is unpacked
# executables to run. The name is unpacked
# in the loop below.
# in the loop below.
 
#
 
# We're using 6 threads here for the multi-
 
# threaded test, as it is the best option on
 
# the FMRIB cluster
cpu_exes=""
cpu_exes=""
if [ -x "${exedir}/eddy_cpu" ]; then
if [ -x "${exedir}/eddy_cpu" ]; then
cpu_exes="${cpu_exes} ${exedir}/eddy_cpu_nthr_1"
cpu_exes="${cpu_exes} ${exedir}/eddy_cpu_nthr_1"
cpu_exes="${cpu_exes} ${exedir}/eddy_cpu_nthr_8"
cpu_exes="${cpu_exes} ${exedir}/eddy_cpu_nthr_6"
fi
fi
if [ "${cuda_exes}" == "" ] && [ "${cpu_exes}" == "" ]; then
if [ "${cuda_exes}" == "" ] && [ "${cpu_exes}" == "" ]; then
Loading