Closed braamBeresford closed 1 year ago
Hi braamBeresford, Thanks for opening this issue. I wonder how did you run our code. I have doubled check the code on my end and I did not have any problems. To run the lef/def translator, you just need to go to ${your_dir}/CodeElements/FormatTranslators/test/LefDef2ProtocolBufferFormat and type "python test2.py". If you have more questions, please let me know. Thanks, Zhiang.
ZhiangWang, I have try the step you decribe (cd into Lef2DefProtocolBufferFormat -> python test2.py).
This is with Ubuntu18.04.6 LTS and python3.6.9 . Can you tell me your OS configuration and how you installed necessary dependencies?
Hi,
You can check the openroad website for all the dependencies: https://github.com/The-OpenROAD-Project/OpenROAD. If you can run openroad app binary (already provided in the my repo), then you should be able to see this:
Please let me know if I can close this issue.
I'm having a similar issue.
I am not able run the provided openroad binary as I get errors related to libraries (for some libraries I was unable to install the correct version). While I'm doing all of this inside a docker container, I think the issue may be due to differences in kernel version. Could you provide the kernel version of the system you are using (in addition to the ubuntu and python versions)?
To get around this, I compiled openroad inside the docker container. When I run it I get a stack trace similar to the one posted by @braamBeresford.
I haven't resolved it. As @cr145 said, when trying to use your provided binary I get a library error with Qt5.11. I'm still trying to resolve this one. I also compiled my own binary of OpenROAD and got the errro dump out from above. What OS and Kernel are you using?
Hi, could you please check your module load file ? I attached my module load file.
Here is my os version
same issue , ubuntu 20.04 python 3,8
[INFO ODB-0134] Finished DEF file: ./design/ariane.def Running Partition Design... [INFO PAR-0402] Traversed logical hierarchy Number of std cell instances: 0 Total area: 0.0 Number of hard macros: 0 Stack trace: 0# 0x000056339BDEBD11 in ../../src/utils/openroad 1# 0x00007F32EFEAF090 in /lib/x86_64-linux-gnu/libc.so.6 2# sta::LibertyCell::isBuffer() const in ../../src/utils/openroad 3# par::AutoClusterMgr::getBufferNetUtil(odb::dbBlock, std::vector<std::pair<odb::dbNet, odb::dbNet>, std::allocator<std::pair<odb::dbNet, odb::dbNet> > >&) in ../../src/utils/openroad 4# par::AutoClusterMgr::getBufferNet() in ../../src/utils/openroad 5# par::AutoClusterMgr::partitionDesign(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, bool, char const, char const, float, float, float, float) in ../../src/utils/openroad 6# par::PartitionMgr::partitionDesign(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, bool, char const, char const, float, float, float, float) in ../../src/utils/openroad 7# 0x000056339CCA9923 in ../../src/utils/openroad 8# TclNRRunCallbacks in /lib/x86_64-linux-gnu/libtcl8.6.so 9# 0x00007F32F1B9C924 in /lib/x86_64-linux-gnu/libtcl8.6.so 10# Tcl_EvalEx in /lib/x86_64-linux-gnu/libtcl8.6.so 11# Tcl_Eval in /lib/x86_64-linux-gnu/libtcl8.6.so 12# sta::sourceTclFile(char const, bool, bool, Tcl_Interp) in ../../src/utils/openroad 13# ord::tclAppInit(Tcl_Interp) in ../../src/utils/openroad 14# Tcl_MainEx in /lib/x86_64-linux-gnu/libtcl8.6.so 15# main in ../../src/utils/openroad 16# __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6 17# _start in ../../src/utils/openroad [INFO] Error! /home/*/Desktop/MacroPlacement-main/CodeElements/FormatTranslators/test/LefDef2ProtocolBufferFormat/rtl_mp/ariane.hgr.io does not exist!!!
Hi, Could you please build your own OpenROAD (https://github.com/ravi-varadarajan/OpenROAD.git) binary ?
hi zhi ang, it works!
When trying to run partition_design as part of CodeElements/FormatTranslators/test/test2.py I receive a stack trace. Cannot find source of issue.
Command:
Error:
LEF and DEF collaterals: https://github.com/TILOS-AI-Institute/MacroPlacement/tree/main/CodeElements/FormatTranslators/test/LefDef2ProtocolBufferFormat