harvard-acc / gem5-aladdin

End-to-end SoC simulation: integrating the gem5 system simulator with the Aladdin accelerator simulator.
BSD 3-Clause "New" or "Revised" License
210 stars 59 forks source link

OSError: [Errno 2] No such file or directory #32

Closed better1017 closed 3 years ago

better1017 commented 3 years ago

root@5e60d163e16d:/workspace/gem5-aladdin/sweeps# python generate_design_sweeps.py benchmarks/machsuite.xe use benchmarks.designsweeptypes.Gem5DesignSweep begin Gem5DesignSweep single use benchmarks.machsuite.* generate configs generate dma_trace generate gem5_binary set output_dir "machsuite" set source_dir "../src/aladdin/MachSuite" set simulator "gem5-cpu" set memory_type "spad" sweep cycle_time from 1 to 5 set unrolling for bfs_bulk.bfs.loop_horizons 1 On line 4: set unrolling for bfs_bulk.bfs.loophorizons 1 XenonSelectionError: Failed to find object named b.f.s..b.u.l.k root@5e60d163e16d:/workspace/gem5-aladdin/sweeps#

xyzsam commented 3 years ago

Duplicate of https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/gem5-aladdin-users/8eL3zOQj7GE/lxhX3mCNAAAJ.

mjtsai commented 2 years ago

I'm newbie to use gem5 and this issue also occurs in my environment. I'm not sure it's the correct solution but removing the indexed symbol makes it work.

diff --git a/base/common.py b/base/common.py index 991253c..efdf255 100644 --- a/base/common.py +++ b/base/common.py @@ -28,7 +28,7 @@ def getSelectedObjs(select_tokens, env): select_tokens.append(LIT_STAR)

current_view = env

xyzsam commented 2 years ago

Do you have the end <sweep_name> statement at the end?

mjtsai commented 2 years ago

Do you have the end <sweep_name> statement at the end?

yes, I ran the example, machsuite.xe.