drr
11/17/2020, 10:02 PMstart track assignment
. There is no useful context in the logs, just the console logs before it is killed. I doubt it is OoM as the docker process peaks at about 3.8GB and there is a lot of vacant memory to use. Does anyone have advice on how to figure out the root cause, or potential causes for this? I'll reply in a thread with more contextdrr
11/17/2020, 10:02 PMinit gr pin query ...
start track assignment
[ERROR]: during executing: "TritonRoute /Users/dan.rodrigues/hw/caravel/openlane/vdp_lite_user_proj/runs/17-11_21-41/tmp/routing/tritonRoute.param |& tee >&@stdout /Users/dan.rodrigues/hw/caravel/openlane/vdp_lite_user_proj/runs/17-11_21-41/logs/routing/tritonRoute.log"
[ERROR]: Exit code: 1
[ERROR]: Last 10 lines:
child killed: kill signal
drr
11/17/2020, 10:03 PMdrr
11/17/2020, 10:03 PMtnt
11/17/2020, 10:04 PMgdb
on it see in what part in crashes.drr
11/17/2020, 10:07 PMtnt
11/17/2020, 10:09 PMulimit -c unlimited
then run gdb on the executable + core
file post-mortem.tnt
11/17/2020, 10:09 PMdrr
11/17/2020, 10:37 PMstart track assignment
Killed
tnt
11/17/2020, 10:38 PMdmesg
show the segfault ?drr
11/17/2020, 10:48 PMSIGKILL
, this is in a docker with a host with little apparent memory pressure so when I revisit this, I'll see if there's some docker memory limit I've overlooked
[ 4235.939787] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=3b56e41474d323a7ab9fea7036cb3c92854310f00d71c669cddd181b1b40c1a6,mems_allowed=0,global_oom,task_memcg=/docker/3b56e41474d323a7ab9fea7036cb3c92854310f00d71c669cddd181b1b40c1a6,task=TritonRoute,pid=3181,uid=72580522
[ 4235.943285] Out of memory: Killed process 3181 (TritonRoute) total-vm:2803892kB, anon-rss:1901784kB, file-rss:0kB, shmem-rss:0kB, UID:72580522 pgtables:5336kB oom_score_adj:0
[ 4236.184555] oom_reaper: reaped process 3181 (TritonRoute), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB
tnt
11/17/2020, 10:51 PMtnt
11/17/2020, 10:51 PMtnt
11/17/2020, 10:53 PMdrr
11/17/2020, 10:57 PM./flow_design -design (abspath to path-to-my-repo/openlane/vdp_lite_user_proj)
It can run off either a design name or a full path to whatever has the config.tcl
drr
11/17/2020, 10:58 PMreduce.hex
probably needs copying to the directory you run that from...there must be a cleaner way to handle $readmemh()
files but haven't tried much with that yetdrr
11/17/2020, 10:58 PMtnt
11/17/2020, 11:02 PMtnt
11/17/2020, 11:14 PMtnt
11/17/2020, 11:14 PMtnt
11/17/2020, 11:41 PMtnt
11/17/2020, 11:53 PMhttps://i.imgur.com/vRSIAtF.png▾
drr
11/17/2020, 11:58 PMWarning: Identifier `\clknet_7_119_0_wb_clk_i' is implicitly declared.
many like this one here, but since it's working for you and I'm using the yosys in the docker, it might be a version issue.
The config.tcl was slightly tweaked compared to what you pulled so I'm rerunning with exactly the same one, I'll see what happensdrr
11/17/2020, 11:59 PMtnt
11/18/2020, 12:01 AMtnt
11/18/2020, 12:12 AMtnt
11/18/2020, 12:13 AMtnt
11/18/2020, 12:19 AMDRC style is now "drc(full)"
Loading DRC CIF style.
[INFO]: COUNT: 964
[...]
Number of pins violated: 96
Number of nets violated: 66
tnt
11/18/2020, 12:19 AMdrr
11/18/2020, 1:23 AMdrr
11/18/2020, 6:13 AMPoly resistor spacing to poly < 0.48um (poly.9)
interestingly all the magic violations are the same..drr
11/18/2020, 6:13 AMPoly resistor spacing to diffusion < 0.48um (poly.9)
Mitch Bailey
11/18/2020, 9:57 AMdrr
11/18/2020, 11:07 AMtnt
11/18/2020, 11:08 AM