22 lines
454 B
Plaintext
22 lines
454 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
n=24
|
||
|
o=20
|
||
|
i=20
|
||
|
|
||
|
root=$(pwd)
|
||
|
|
||
|
source "${root}/scripts/common"
|
||
|
data=$(echo "${root}/data/${in}"|sed "s,^$(pwd)/,,")
|
||
|
cc_options+="-DDATA_FILE=\"${data}\" -DGRASP_N=${n} -DELS_ITER_MAX=${o} -DELS_GEN=${i}"
|
||
|
|
||
|
${cc} ${cc_options} -o ${exe} -DFUNC=sk_seq ${sources}
|
||
|
./${exe} --seed "${seed}"
|
||
|
|
||
|
for scale in $(seq 2 2 4); do
|
||
|
${cc} ${cc_options} -DFUNC=sk_par_dynamicpool -DNTHREADS=${scale} -o ${exe} ${sources}
|
||
|
./${exe} --seed "${seed}"
|
||
|
done
|
||
|
|
||
|
quit
|