Hi,
I have an issue with restoring checkpoints I generated using simpoints
in Gem5 SE mode. After running my benchmark to get the .bb file,
running simpoints and running it again with --take-simpoint-checkpoint
to create the checkpoints I try to run the individual checkpoints. Some
run fine, but some crash with the following error:
warn: CheckedInt already exists in allParams. This may be caused by the
Python 2.7 compatibility layer.
warn: Enum already exists in allParams. This may be caused by the Python
2.7 compatibility layer.
warn: ScopedEnum already exists in allParams. This may be caused by the
Python 2.7 compatibility layer.
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "build/ARM/python/m5/main.py", line 457, in main
File "/scratch/nas/3/dchasapi/gem5/configs/example/se.py", line 351,
in <module>
config_filesystem(system, options)
File
"/scratch/nas/3/dchasapi/gem5/configs/common/FileSystemConfig.py", line
84, in config_filesystem
replace_tree(fsdir)
File
"/scratch/nas/3/dchasapi/gem5/configs/common/FileSystemConfig.py", line
62, in replace_tree
rmtree(path)
File "/usr/lib/python3.6/shutil.py", line 486, in rmtree
_rmtree_safe_fd(fd, path, onerror)
File "/usr/lib/python3.6/shutil.py", line 424, in _rmtree_safe_fd
_rmtree_safe_fd(dirfd, fullname, onerror)
File "/usr/lib/python3.6/shutil.py", line 424, in _rmtree_safe_fd
_rmtree_safe_fd(dirfd, fullname, onerror)
File "/usr/lib/python3.6/shutil.py", line 424, in _rmtree_safe_fd
_rmtree_safe_fd(dirfd, fullname, onerror)
[Previous line repeated 1 more time]
File "/usr/lib/python3.6/shutil.py", line 444, in _rmtree_safe_fd
onerror(os.unlink, fullname, sys.exc_info())
File "/usr/lib/python3.6/shutil.py", line 442, in _rmtree_safe_fd
os.unlink(name, dir_fd=topfd)
FileNotFoundError: [Errno 2] No such file or directory: 'possible'
The final line can contain a different error on some simpoints (online
instead of possible). The command I use to run is the following:
./gem5/build/ARM/gem5.opt \\
./gem5/configs/example/se.py \\
--cmd="401.bzip2" \\
--take-simpoint-checkpoint=./simpoints.pnts,./weights.wgts,100000000,50000000
\\
--cpu-type=AtomicSimpleCPU --num-cpus=1 --mem-size=8GB
Any ideas what might be causing this?
Best,
Dimitrios Chasapis
http://bsc.es/disclaimer
_______________________________________________
gem5-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s