Hello, I recently used gem5 to start POWER ISA research. I meet a problem with restoring checkpoint on SE mode. I tried to use SimPoint to generate some checkpoints in one of the SPEC2017 test cases and want to restore the checkpoints.
Here are my steps: (1)Using the Valgrind to generate BBV file. (worked) valgrind --tool=exp-bbv --interval-size=10000000 test_bench_base/specrand_ir_base.mytest 324342 24239 (2)Using SimPoint to generate simpoint and weights files.(worked) ./simpoint -loadFVFile /home/yutianhao/Dev/bb.out.197379.gz -maxK 96 -saveSimpoints /home/yutianhao/Dev/SW/result.simpts -saveSimpointWeights /home/yutianhao/Dev/SW/result.weights -inputVectorsGzipped (3)Through gem5 command to generate checkpoint with above files generated by SimPoint. (worked) build/POWER/gem5.opt configs/example/se.py --take-simpoints-checkpoint=/home/yutianhao/Dev/SW/spec_999.simpts,/home/yutianhao/Dev/SW/spec_999.weights,10000000,1000000 -c ../test_bench_base/specrand_ir_base.mytest -o "324342 24239" (4)Restore one of a checkpoint, but it failed. build/POWER/gem5.opt configs/example/se.py --restore-simpoint-checkpoint -r 1 --checkpoint-dir m5out/ --restore-with-cpu=TimingSimpleCPU -c ../test_bench_base/specrand_ir_base.mytest -o "324342 24239" And I received a prompt as below: “fatal: Number of ISAs (1) assigned to the CPU does not equal number of threads (2). ” By the way, the experiment is based on a POWER 8 server and the version of gem5 is 21.0.0.0. Besides, I tried the above steps on X86 ISA on an x86 CPU, and it worked well. I googled lots of resources about this problem, but I can’t find any answer about this. Can you help me with this problem? Best regards, Tianhao _______________________________________________ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le...@gem5.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s