Dear Haeyoon Cho,

I changed script file and run the simulation again.

the script file as follows



# !/bin/sh
echo "let's start benchmark simulation"

cd /parsec/parsec/install/bin

/parsec/sbin/m5 dumpstats
/parsec/sbin/m5 resetstats

./blackscholes 64 /parsec/parsec/install/inputs/blackscholes/in_16K.txt
/parsec/parsec/install/inputs/blackscholes/prices.txt

echo "finish! :D"

/parsec/sbin/m5 exit
/parsec/sbin/m5 exit




Same as the previous case, the echo statements didn't print on the terminal.

As the echo statement located at the first line, I think it must be printed.

Thanks.

Best regards,

Jung Min.


2018-06-08 15:50 GMT+09:00 조해윤 <chohy2...@gmail.com>:

> Dear Jung Min You.
>
> The command line looks fine.
>
> How did you write the script?
> The hack_back_ckpt.rcS is basically for checkpoint.
> This script detect itself whether is was run before, in other words, the
> simulation was restored by the checkpoint.
> Thus, depend on the position of the echo command in your script, it may
> not run.
>
> Best regards,
>
> Haeyoon Cho.
>
> 2018-06-08 11:41 GMT+09:00 류정민 <jungmin.yo...@gmail.com>:
>
>> Hi,
>>
>> my name is Jung Min You and I'm graduated course student in Sungkyunkwan
>> University, South Korea.
>>
>> I followed your tutorial to study about gem5.
>>
>> For my research, I need to simulate the system using a gem5 full system
>> mode.
>>
>> When I tried to run the fs mode, I used the script files located in
>> gem5/configs/boot/~~.rcS.
>>
>> Meanwhile, to debug the result, I inserted some echo statement in the
>> script file.
>>
>> However, no debug statement has printed in terminal.
>>
>> I tried to use hack_back_ckpt.rcS, and my command line as follows.
>>
>> build/X86/gem5.opt configs/example/fs.py --cpu-type="AtomicSimpleCPU"
>> --caches --l1i_size=32kB --l1d_size=32kB -    -l2_size=2MB -F 200000000 -I
>> 200000000 --kernel=$GEM5_DIR/system/binaries/x86_64-vmlinux-2.6.22.9.smp
>> --disk-image=$GEM5_DIR    /system/disks/linux-x86.img
>> --script=configs/boot/hack_back_ckpt.rcS
>>
>> If there is any mistakes in my simulation progress, please tell me what
>> is the problem.
>>
>> Best regards,
>>
>> Jung Min.
>>
>>
>> _______________________________________________
>> gem5-users mailing list
>> gem5-users@gem5.org
>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>
>
>
> _______________________________________________
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to