TILOS-AI-Institute / MacroPlacement

Macro Placement - benchmarks, evaluators, and reproducible results from leading methods in open source
BSD 3-Clause "New" or "Revised" License
207 stars 41 forks source link

AttributeError error when running Simulated Annealing #75

Closed keyplay closed 1 month ago

keyplay commented 3 months ago

Hi, when I executed the following cmd, there is an AttributeError. May I know how to solve this?

python sa_multicore.py

image

Thanks for your help.

NJUer211300063 commented 3 months ago

You should set the right path to plc_wrapper_main binary in plc_client.py(you should build your plc_wrapper_main binary at first) Here is my setting: image

keyplay commented 1 month ago

In SA.py, use plc_client and placement_util in Plc_client folder rather than CT by adding the following code and comment the current one

sys.path.append('../Plc_client/')
import plc_client_os as plc_client
import placement_util_os as placement_util