today it's `or_route.tcl` that hates me. has anyon...
# openlane
a
today it's
or_route.tcl
that hates me. has anyone run into this?
Copy code
[WARNING] Net VPWR has wires outside die area
[... multiple... ]
[WARNING] Net VGND has wires outside die area
[... multiple... ]
[W[ERROR]: during executing: "openroad -exit /openLANE_flow/scripts/openroad/or_route.tcl |& tee >&@stdout /openLANE_flow/designs/250/asic_config/clb_tile/runs/debug/logs/routing/fastroute.log"
[ERROR]: Exit code: 1
[ERROR]: Last 10 lines:
child killed: segmentation violation
d
I've had that part get killed because of memory problems but haven't seen it segfault. It doesn't have any clues in the core dump?
a
yeah it's not OOM; core is pretty useless to all but the devs
Copy code
#0  0x0000000000a0addc in std::_Rb_tree<int, std::pair<int const, std::vector<odb::Rect, std::allocator<odb::Rect> > >, std::_Select1st<std::pair<int const, std::vector<odb::Rect, std::allocator<odb::Rect> > > >, std::less<int>, std::allocator<std::pair<int const, std::vector<odb::Rect, std::allocator<odb::Rect> > > > >::_M_erase(std::_Rb_tree_node<std::pair<int const, std::vector<odb::Rect, std::allocator<odb::Rect> > > >*)
    ()
#1  0x0000000000a04ef5 in FastRoute::GlobalRouter::computeObstaclesAdjustments() ()
#2  0x0000000000a08dfa in FastRoute::GlobalRouter::startFastRoute() ()
#3  0x0000000000a09f36 in FastRoute::GlobalRouter::runFastRoute() ()
#4  0x0000000000a1272f in _wrap_run_fastroute ()
i could try rebuilding with debug symbols but, sheesh
t
If that's the
user_proj_wrapper' then I think
Net VGND has wires outside die area` are normal for the time being. The power rings are technically placed outside ...
a
i'm not even up to
user_proj_wrapper
yet. this is just a tile for our design
@drr do you run the toolchain natively, to make debug binaries easier to manage, or do you also merge them into the docker container?
d
@aryap I always run it from the docker and
make merge
whenever I see new commits. The commit I have seems stable but it's not the newest
a
i think i can rebuild the image with debug versions of the tools by changing the docker recipes, i'll see if this evinces any clues
great news. i have a debug version of openroad.
Copy code
diff --git a/docker_build/docker/openroad_app/Dockerfile b/docker_build/docker/openroad_app/Dockerfile
index ae358ab..a2f5fa3 100644
--- a/docker_build/docker/openroad_app/Dockerfile
+++ b/docker_build/docker/openroad_app/Dockerfile
@@ -118,7 +118,7 @@ RUN git apply pdngen_export_subst.patch
 
 # Build OpenROAD
 RUN mkdir build && mkdir -p /build/version && mkdir install
-RUN cd build && cmake -DCMAKE_INSTALL_PREFIX=$(pwd)/install .. && make -j$(nproc)
+RUN cd build && cmake -DCMAKE_INSTALL_PREFIX=$(pwd)/install -DCMAKE_BUILD_TYPE=DEBUG .. && make -j$(nproc)
 RUN cd build && make install
 RUN cp -r build/install/bin /build/
then
sudo make build-openroad_app
and
sudo make merge
bad news. i still have this problem.
Copy code
#13 0x0000000000cbd1fa in FastRoute::GlobalRouter::computeObstaclesAdjustments (this=0x458de80)
    at /OpenROAD_23112020/src/FastRoute/src/GlobalRouter.cpp:1060
#14 0x0000000000cb7e84 in FastRoute::GlobalRouter::startFastRoute (this=0x458de80)
    at /OpenROAD_23112020/src/FastRoute/src/GlobalRouter.cpp:195
#15 0x0000000000cb803d in FastRoute::GlobalRouter::runFastRoute (this=0x458de80) at /OpenROAD_23112020/src/FastRoute/src/GlobalRouter.cpp:216
#16 0x0000000000ce6c29 in run_fastroute () at /OpenROAD_23112020/build/src/FastRoute/fastroute_wrap.cpp:1863
yep. still broken