Error occurs while invoking metasimulation

30 views
Skip to first unread message

Haeun Lee

unread,
Jul 5, 2022, 1:17:56 AM7/5/22
to FireSim
Hello,

I am trying to use metasimulation, but error occurs when I change few lines at config_runtime.yaml as instructed in the documentation. I have followed this page (https://docs.fires.im/en/stable/Running-Simulations-Tutorial/Running-a-Single-Node-Simulation.html) to see everything on the page works fine. 

I have modified few lines at config_runtime.yaml like below and everything else unchanged. 

    run_farm_hosts_to_use:
      - f1.16xlarge: 0
      - f1.4xlarge: 0
      - f1.2xlarge: 0
      - m4.16xlarge: 0
      - z1d.3xlarge: 1
      - z1d.6xlarge: 0
      - z1d.12xlarge: 0

metasimulation:
  metasimulation_enabled: true
  # vcs or verilator. use vcs-debug or verilator-debug for waveform generation
  metasimulation_host_simulator: verilator
  # plusargs passed to the simulator for all metasimulations
  metasimulation_only_plusargs: "+fesvr-step-size=128 +dramsim +max-cycles=100000000"
  # plusargs passed to the simulator ONLY FOR vcs metasimulations
  metasimulation_only_vcs_plusargs: "+vcs+initreg+0 +vcs+initmem+0"

target_config:
    # Set topology: no_net_config to run without a network simulation
    topology: no_net_config
    no_net_num_nodes: 1
    link_latency: 6405
    switching_latency: 10
    net_bandwidth: 200
    profile_interval: -1

I end up getting error like below. Can anyone tell me what I am doing wrong?

Traceback (most recent call last):
  File "/home/centos/firesim/deploy/firesim", line 503, in <module>
    main(args)
  File "/home/centos/firesim/deploy/firesim", line 443, in main
    t['task'](t['config'](args))
  File "/home/centos/firesim/deploy/runtools/runtime_config.py", line 542, in __init__
    self.firesim_topology_with_passes = FireSimTopologyWithPasses(
  File "/home/centos/firesim/deploy/runtools/firesim_topology_with_passes.py", line 99, in __init__
    self.phase_one_passes()
  File "/home/centos/firesim/deploy/runtools/firesim_topology_with_passes.py", line 363, in phase_one_passes
    self.pass_create_topology_diagram()
  File "/home/centos/firesim/deploy/runtools/firesim_topology_with_passes.py", line 173, in pass_create_topology_diagram
    cluster.node(str(node), node.diagramstr())
  File "/home/centos/firesim/deploy/runtools/firesim_topology_elements.py", line 271, in diagramstr
    str(self.server_hardware_config))
  File "/home/centos/firesim/deploy/runtools/runtime_config.py", line 279, in __str__
    return """RuntimeHWConfig: {}\nDeployTriplet: {}\nAGFI: {}\nXCLBIN: {}\nCustomRuntimeConf: {}""".format(self.name, self.deploytriplet, self.agfi, self.xclbin, str(self.customruntimeconfig))
AttributeError: 'RuntimeBuildRecipeConfig' object has no attribute 'xclbin'
2022-07-04 08:40:04,974 [<module>    ] [INFO ]  The full log of this run is:
/home/centos/firesim/deploy/logs/2022-07-04--08-40-04-launchrunfarm-RVA22C96TCL2KSIN.log

Thank you!
Haeun

Sagar Karandikar

unread,
Jul 6, 2022, 5:07:23 PM7/6/22
to fir...@googlegroups.com
Hi Haeun,

Thanks for pointing out this bug. I've fixed it in https://github.com/firesim/firesim/pull/1114, which will merge to main once it passes CI. I'll ship a FireSim 1.14.1 release once it's merged. I'll bump this thread once it's released.

-Sagar

--
You received this message because you are subscribed to the Google Groups "FireSim" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firesim+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firesim/44d17985-3183-45d2-b0ef-a663deb227fbn%40googlegroups.com.

Sagar Karandikar

unread,
Jul 6, 2022, 8:57:08 PM7/6/22
to fir...@googlegroups.com
I'll probably end up shipping the release tomorrow (still waiting on approvals for changelog, etc.), but the PR that fixes this is merged to main. If you check out main (currently, https://github.com/firesim/firesim/commit/b0a234d883c2d880099aca4f79a7e0bb50b189a2), this should be fixed.

Thanks,
Sagar

Haeun Lee

unread,
Jul 7, 2022, 3:03:37 AM7/7/22
to FireSim
Thanks for the fix and hard work!

Haeun

2022년 7월 7일 목요일 오전 9시 57분 8초 UTC+9에 Sagar Karandikar님이 작성:
Reply all
Reply to author
Forward
0 new messages