Hi Matt, I was looking into this myself yesterday and I think these missing env vars may be causing the issue. I'm still not 100% on this approach, but I tried running
flow.tcl
under
strace
like so:
$ strace -s 10000 -f flow.tcl -gui 2> log.stderr
And within
log.stderr
, I eventually found the following entry:
[pid 460] execve("/build//bin/openroad", ["openroad", "-gui", "/openlane/scripts/openroad/gui.tcl"], 0x2900480 /* 368 vars */ <unfinished ...>
which I
think is the
openroad
invocation string - If I try to do this manually from a `$ make mount`'ed OpenLane container, I get the following on the terminal
OpenLane Container (c0be543):/openlane$ /build//bin/openroad -gui /openlane/scripts/openroad/gui.tcl
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-'
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
OpenROAD 4a99e88667b0840531ca0096c4fa0da8f80d6cb1
This program is licensed under the BSD-3 license. See the LICENSE file for details.
Components of this program may be licensed under more restrictive licenses which must be honored.
can't read "::env(MERGED_LEF)": no such variable
can't read "::env(CURRENT_DEF)": no such variable
One thing I haven't figured out yet is where those environment variables get set