<div dir="ltr"><div>1)Έχετε δίκιο ως προς αυτό, το διόρθωσα λίγο αφού σας έστειλα, ωστόσο το πρόβλημα επέμεινε:</div><div>./run_l1.sh ferret<span class="gmail-im"><br>PARSEC Benchmark Suite Version 3.0-beta-20150206<br>[HOOKS] PARSEC Hooks Version 1.2<br>ERROR: CASS_ERR_PARAMETER<br><br></span>real        0m1,257s<br>user        0m0,479s<br>sys        0m0,171s<span class="gmail-im"><br>PARSEC Benchmark Suite Version 3.0-beta-20150206<br>[HOOKS] PARSEC Hooks Version 1.2<br>ERROR: CASS_ERR_PARAMETER<br><br></span>real        0m0,663s<br>user        0m0,500s<br>sys        0m0,140s<br></div><div><br></div><div>2)Κοιτώντας <a href="http://lists.cslab.ece.ntua.gr/pipermail/advcomparch/2017-April/001467.html" target="_blank">http://lists.cslab.ece.ntua.gr/pipermail/advcomparch/2017-April/001467.html</a><br></div><div>αυτό υπέθεσα ότι έχω το ίδιο θέμα ωστόσο δεν βλέπω να έχω κάνει το αντίστοιχο λάθος:</div><div><br></div><div><br>/home/thanasis/parsec-3.0/parsec_workspace/executables/blackscholes 1 
/home/thanasis/parsec-3.0/parsec_workspace/inputs/in_64K.txt prices.txt<br>/home/thanasis/parsec-3.0/parsec_workspace/executables/bodytrack
 /home/thanasis/parsec-3.0/parsec_workspace/inputs/sequenceB_4 4 4 4000 5
 0 1<br>/home/thanasis/parsec-3.0/parsec_workspace/executables/canneal 1
 15000 2000 
/home/thanasis/parsec-3.0/parsec_workspace/inputs/400000.nets 128<br>/home/thanasis/parsec-3.0/parsec_workspace/executables/facesim -timing -threads 1<br>/home/thanasis/parsec-3.0/parsec_workspace/executables/ferret
 /home/thanasis/parsec-3.0/parsec_workspace/executables/inputs/corel lsh
 /home/thanasis/parsec-3.0/parsec_workspace/inputs/queries 10 20 1 
output.txt<br>/home/thanasis/parsec-3.0/parsec_workspace/executables/fluidanimate
 1 5 /home/thanasis/parsec-3.0/parsec_workspace/inputs/in_300K.fluid 
out.fluid<br>/home/thanasis/parsec-3.0/parsec_workspace/executables/freqmine
 /home/thanasis/parsec-3.0/parsec_workspace/inputs/kosarak_990k.dat 790<br>/home/thanasis/parsec-3.0/parsec_workspace/executables/rtview
 /home/thanasis/parsec-3.0/parsec_workspace/inputs/happy_buddha.obj 
-automove -nthreads 1 -frames 3 -res 1920 1080<br>/home/thanasis/parsec-3.0/parsec_workspace/executables/streamcluster 10 20 128 16384 16384 1000 none output.txt 1<br>/home/thanasis/parsec-3.0/parsec_workspace/executables/swaptions -ns 64 -sm 40000 -nt 1</div><div><br></div><div>3)Το αρχείο που εκτελώ έχει την παρακάτω μορφή, αντίστοιχα αρχεία έχω και για τις άλλες 3 ομάδες προσομοιώσεων:<br></div><div>#!/bin/bash<br><br>## Modify the following paths appropriately<br>PARSEC_PATH=/home/thanasis/parsec-3.0<br>PIN_EXE=/home/thanasis/pin-3.13-98189-g60a6ef199-gcc-linux/pin<br>PIN_TOOL=/home/thanasis/advcomparch-2019-2020-ex1-helpcode/pintool/obj-intel64/simulator.so<br><br>CMDS_FILE=./cmds_simlarge.txt<br>outDir=&quot;./outputs_L1_cache/&quot;</div><div><br></div><div>export LD_LIBRARY_PATH=$PARSEC_PATH/pkgs/libs/hooks/inst/amd64-linux.gcc-serial/lib/<br><br>## Triples of &lt;cache_size&gt;_&lt;associativity&gt;_&lt;block_size&gt;<br>CONFS=&quot;32_4_64 32_8_32 32_8_64 32_8_128 64_4_64 64_8_32 64_8_64 64_8_128 128_8_32 128_8_64 128_8_128&quot;<br></div><div><br></div><div>L2size=1024<br>L2assoc=8<br>L2bsize=128<br>TLBe=64<br>TLBp=4096<br>TLBa=4<br>L2prf=0<br><br>for BENCH in $@; do<br>        cmd=$(cat ${CMDS_FILE} | grep &quot;$BENCH&quot;)<br>for conf in $CONFS; do<br>        ## Get parameters<br>    L1size=$(echo $conf | cut -d&#39;_&#39; -f1)<br>    L1assoc=$(echo $conf | cut -d&#39;_&#39; -f2)<br>    L1bsize=$(echo $conf | cut -d&#39;_&#39; -f3)<br><br>        outFile=$(printf &quot;%s.dcache_cslab.L1_%04d_%02d_%03d.out&quot; $BENCH ${L1size} ${L1assoc} ${L1bsize})<br>        outFile=&quot;$outDir/$outFile&quot;<br><br>
        pin_cmd=&quot;$PIN_EXE -t $PIN_TOOL -o $outFile -L1c ${L1size} -L1a 
${L1assoc} -L1b ${L1bsize} -L2c ${L2size} -L2a ${L2assoc} -L2b 
${L2bsize} -TLBe ${TLBe} -TLBp ${TLBp} -TLBa ${TLBa} -L2prf ${L2prf} -- 
$cmd&quot;<br>        time $pin_cmd<br>done<br>done</div><div><br></div><div>4)Ευχαριστώ για τον χρόνο σας.</div><div>Με εκτίμηση,</div><div>Αθανάσιος Δελής</div></div>