OpenROAD icon indicating copy to clipboard operation
OpenROAD copied to clipboard

ispd15 mgc_superblue16_a [ERROR GPL-0305] RePlAce diverged at newStepLength.

Open stefanottili opened this issue 10 months ago • 2 comments

Describe the bug

global_placement error's out placing ispd15 mgc_superblue16_a

...
[NesterovSolve] Iter: 2820 overflow: 0.122531 HPWL: 81316178979
[NesterovSolve] Iter: 2830 overflow: 0.128394 HPWL: 81464868051
[ERROR GPL-0305] RePlAce diverged at newStepLength.
[ERROR GUI-0070] GPL-0305

Seem to be the same issue as in https://github.com/The-OpenROAD-Project/OpenLane/issues/657

Expected Behavior

global_placement without ERROR

Environment

OpenROAD v2.0-12841-g2b53980f4 (Mar 29 2024)
MacOS M1 compiled with mpl2/par

To Reproduce

https://www.ispd.cc/contests/15/web/downloads.html

untar mgc_superblue16_a, gzip all files.

read_verilog design.v.gz
read_lef tech.lef.gz
read_lef cells.lef.gz
read_def floorplan.def.gz
global_placement

Relevant log output

OpenROAD v2.0-12841-g2b53980f4 
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.
[INFO ODB-0388] unsupported LEF57_SPACING property for layer metal1 :"SPACING 0.065 ENDOFLINE 0.056 WITHIN 0.045 PARALLELEDGE 0.11 WITHIN 0.11 ;"
[INFO ODB-0388] unsupported LEF57_SPACING property for layer metal2 :"SPACING 0.065 ENDOFLINE 0.056 WITHIN 0.045 PARALLELEDGE 0.11 WITHIN 0.11 ;"
[INFO ODB-0388] unsupported LEF57_SPACING property for layer metal3 :"SPACING 0.065 ENDOFLINE 0.056 WITHIN 0.045 PARALLELEDGE 0.11 WITHIN 0.11 ;"
[INFO ODB-0388] unsupported LEF57_SPACING property for layer metal4 :"SPACING 0.065 ENDOFLINE 0.056 WITHIN 0.045 PARALLELEDGE 0.11 WITHIN 0.11 ;"
[INFO ODB-0227] LEF file: tech.lef.gz, created 17 layers, 276 vias
[INFO ODB-0227] LEF file: cells.lef.gz, created 4634 library cells
[INFO ODB-0127] Reading DEF file: floorplan.def.gz
[INFO ODB-0128] Design: superblue16
[INFO ODB-0094] 		Created 100000 Insts
[INFO ODB-0094] 		Created 200000 Insts
[INFO ODB-0094] 		Created 300000 Insts
[INFO ODB-0094] 		Created 400000 Insts
[INFO ODB-0094] 		Created 500000 Insts
[INFO ODB-0094] 		Created 600000 Insts
[INFO ODB-0097] 		Created 100000 Nets
[INFO ODB-0097] 		Created 200000 Nets
[INFO ODB-0097] 		Created 300000 Nets
[INFO ODB-0097] 		Created 400000 Nets
[INFO ODB-0097] 		Created 500000 Nets
[INFO ODB-0097] 		Created 600000 Nets
[INFO ODB-0130]     Created 17498 pins.
[INFO ODB-0131]     Created 680869 components and 2271804 component-terminals.
[INFO ODB-0132]     Created 2 special nets and 0 connections.
[INFO ODB-0133]     Created 697303 nets and 2262149 connections.
[INFO ODB-0134] Finished DEF file: floorplan.def.gz
[INFO GPL-0002] DBU: 1000
[INFO GPL-0003] SiteSize: 100 900
[INFO GPL-0004] CoreAreaLxLy: 1800 1800
[INFO GPL-0005] CoreAreaUxUy: 1484700 1611000
[INFO GPL-0006] NumInstances: 629577
[INFO GPL-0007] NumPlaceInstances: 629159
[INFO GPL-0008] NumFixedInstances: 418
[INFO GPL-0009] NumDummyInstances: 0
[INFO GPL-0010] NumNets: 697303
[INFO GPL-0011] NumPins: 2279647
[INFO GPL-0012] DieAreaLxLy: 0 0
[INFO GPL-0013] DieAreaUxUy: 1488000 1616000
[INFO GPL-0014] CoreAreaLxLy: 1800 1800
[INFO GPL-0015] CoreAreaUxUy: 1484700 1611000
[INFO GPL-0016] CoreArea: 2386282680000
[INFO GPL-0017] NonPlaceInstsArea: 1156878270000
[INFO GPL-0018] PlaceInstsArea: 576192240000
[INFO GPL-0019] Util(%): 46.87
[INFO GPL-0020] StdInstsArea: 576192240000
[INFO GPL-0021] MacroInstsArea: 0
[InitialPlace]  Iter: 1 CG residual: 0.00329998 HPWL: 69801065376
[InitialPlace]  Iter: 2 CG residual: 0.00071870 HPWL: 41794679501
[InitialPlace]  Iter: 3 CG residual: 0.00021728 HPWL: 38650540308
[InitialPlace]  Iter: 4 CG residual: 0.00016672 HPWL: 36196752556
[InitialPlace]  Iter: 5 CG residual: 0.00012805 HPWL: 34579328342
[InitialPlace]  Iter: 6 CG residual: 0.00008006 HPWL: 33984336254
[InitialPlace]  Iter: 7 CG residual: 0.00007335 HPWL: 33657136033
[InitialPlace]  Iter: 8 CG residual: 0.00007006 HPWL: 33422390684
[InitialPlace]  Iter: 9 CG residual: 0.00005999 HPWL: 33214506821
[InitialPlace]  Iter: 10 CG residual: 0.00004697 HPWL: 33092418765
[InitialPlace]  Iter: 11 CG residual: 0.00004500 HPWL: 32981388403
[InitialPlace]  Iter: 12 CG residual: 0.00004444 HPWL: 32887949555
[InitialPlace]  Iter: 13 CG residual: 0.00006286 HPWL: 32800212673
[InitialPlace]  Iter: 14 CG residual: 0.00004365 HPWL: 32741225394
[InitialPlace]  Iter: 15 CG residual: 0.00003815 HPWL: 32662774636
[InitialPlace]  Iter: 16 CG residual: 0.00003604 HPWL: 32607003044
[InitialPlace]  Iter: 17 CG residual: 0.00003854 HPWL: 32548334721
[InitialPlace]  Iter: 18 CG residual: 0.00003687 HPWL: 32493402310
[InitialPlace]  Iter: 19 CG residual: 0.00002783 HPWL: 32437921451
[InitialPlace]  Iter: 20 CG residual: 0.00002545 HPWL: 32396409787
[INFO GPL-0031] FillerInit: NumGCells: 957289
[INFO GPL-0032] FillerInit: NumGNets: 697303
[INFO GPL-0033] FillerInit: NumGPins: 2279647
[INFO GPL-0023] TargetDensity: 0.70
[INFO GPL-0024] AveragePlaceInstArea: 915813
[INFO GPL-0025] IdealBinArea: 1308304
[INFO GPL-0026] IdealBinCnt: 1823951
[INFO GPL-0027] TotalBinArea: 2386282680000
[INFO GPL-0028] BinCnt: 1024 1024
[INFO GPL-0029] BinSize: 1449 1572
[INFO GPL-0030] NumBins: 1048576
[NesterovSolve] Iter: 1 overflow: 1.02121 HPWL: 20013586272
[NesterovSolve] Iter: 10 overflow: 0.945545 HPWL: 22006482627
[NesterovSolve] Iter: 20 overflow: 0.902363 HPWL: 22439098630
[NesterovSolve] Iter: 30 overflow: 0.88417 HPWL: 22435228015
[NesterovSolve] Iter: 40 overflow: 0.876783 HPWL: 22350627540
[NesterovSolve] Iter: 50 overflow: 0.875639 HPWL: 22279481638
[NesterovSolve] Iter: 60 overflow: 0.876631 HPWL: 22244875493
[NesterovSolve] Iter: 70 overflow: 0.876035 HPWL: 22232145785
[NesterovSolve] Iter: 80 overflow: 0.875769 HPWL: 22219304496
...
[NesterovSolve] Iter: 2770 overflow: 0.122641 HPWL: 80568346067
[NesterovSolve] Iter: 2780 overflow: 0.122649 HPWL: 80719484757
[NesterovSolve] Iter: 2790 overflow: 0.122669 HPWL: 80869879121
[NesterovSolve] Iter: 2800 overflow: 0.122647 HPWL: 81018958720
[NesterovSolve] Iter: 2810 overflow: 0.122564 HPWL: 81167076695
[NesterovSolve] Iter: 2820 overflow: 0.122531 HPWL: 81316178979
[NesterovSolve] Iter: 2830 overflow: 0.128394 HPWL: 81464868051
[ERROR GPL-0305] RePlAce diverged at newStepLength.
[ERROR GUI-0070] GPL-0305

Screenshots

No response

Additional Context

No response

stefanottili avatar Mar 30 '24 18:03 stefanottili

One more datapoint with regard to ispd15 global placement contest:

mgc_superblue12 doesn't finish global_place "out of the box" either, but with a different ERROR.

.... [NesterovSolve] Iter: 500 overflow: 0.224655 HPWL: 29136337676 [NesterovSolve] Iter: 510 overflow: 0.218266 HPWL: 26860168087 [NesterovSolve] Iter: 520 overflow: 0.192555 HPWL: 26266994755 [NesterovSolve] Iter: 530 overflow: 0.15962 HPWL: 27260482435 [ERROR GPL-0307] RePlAce divergence detected. Re-run with a smaller max_phi_cof value. [ERROR GUI-0070] GPL-0307

stefanottili avatar Apr 07 '24 04:04 stefanottili

Seems to be related to https://github.com/The-OpenROAD-Project/OpenROAD/issues/2580

stefanottili avatar Apr 11 '24 21:04 stefanottili