Has anyone encountered this error message when running the openlane notebook on google colab? [STEP...
t
Has anyone encountered this error message when running the openlane notebook on google colab? [STEP 7] [INFO]: Performing Random Global Placement (log: runs/RUN_2024.04.10_23.11.55/logs/placement/7-global.log)... [ERROR]: during executing: "openroad -exit -no_init -python /content/conda-env/share/openlane/scripts/odbpy/random_place.py --input-lef /content/runs/RUN_2024.04.10_23.11.55/tmp/merged.nom.lef --output-def /content/runs/RUN_2024.04.10_23.11.55/tmp/placement/7-global.def --output /content/runs/RUN_2024.04.10_23.11.55/tmp/placement/7-global.odb /content/runs/RUN_2024.04.10_23.11.55/results/floorplan/inverter.odb |& tee /dev/null /content/runs/RUN_2024.04.10_23.11.55/logs/placement/7-global.log" [ERROR]: Exit code: 1 [ERROR]: Last 10 lines: OpenROAD 2.0-12381-g01bba3695 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. [CRITICAL ODB-0001] No logger is installed in odb. child process exited abnormally [ERROR]: Step 7 (placement) failed with error: -code 1 -level 0 -errorstack {INNER {invokeStk1 throw_error} CALL {try_exec openroad -exit -no_init -python /content/conda-env/share/openlane/scripts/odbpy/random_place.py --input-lef /content/runs/RUN_2024.04.10_23.11.55/tmp/merged.nom.lef --output-def /content/runs/RUN_2024.04.10_23.11.55/tmp/placement/7-global.def --output /content/runs/RUN_2024.04.10_23.11.55/tmp/placement/7-global.odb /content/runs/RUN_2024.04.10_23.11.55/results/floorplan/inverter.odb |& tee /dev/null /content/runs/RUN_2024.04.10_23.11.55/logs/placement/7-global.log} CALL {manipulate_layout /content/conda-env/share/openlane/scripts/odbpy/random_place.py -indexed_log /content/runs/RUN_2024.04.10_23.11.55/logs/placement/7-global.log -output_def /content/runs/RUN_2024.04.10_23.11.55/tmp/placement/7-global.def -output /content/runs/RUN_2024.04.10_23.11.55/tmp/placement/7-global.odb -input /content/runs/RUN_2024.04.10_23.11.55/results/floorplan/inverter.odb} CALL random_global_placement CALL run_placement CALL run_placement_step CALL {run_non_interactive_mode -design .}} -errorcode NONE -errorinfo { while executing "throw_error" (procedure "try_exec" line 15) invoked from within "try_exec $::env(OPENROAD_BIN) -exit -no_init -python {*}$args --input-lef $::env(MERGED_LEF) --output-def $arg_values(-output_def) --output $arg_va..." (procedure "manipulate_layout" line 19) invoked from within "manipulate_layout $::env(SCRIPTS_DIR)/odbpy/random_place.py -indexed_log [index_file $::env(placement_logs)/global.log] -output_def $save_def -output ..." (procedure "random_global_placement" line 10) invoked from within "random_global_placement" (procedure "run_placement" line 12) invoked from within "run_placement" (procedure "run_placement_step" line 8) invoked from within "run_placement_step"} -errorline 1 [INFO]: Saving current set of views in 'runs/RUN_2024.04.10_23.11.55/results/final'... [INFO]: Generating final set of reports... [INFO]: Created manufacturability report at 'runs/RUN_2024.04.10_23.11.55/reports/manufacturability.rpt'. [INFO]: Created metrics report at 'runs/RUN_2024.04.10_23.11.55/reports/metrics.csv'. [INFO]: Saving runtime environment... [ERROR]: Flow failed. [INFO]: The failure may have been because of the following warnings: [WARNING]: PNR_SDC_FILE is not set. It is recommended to write a custom SDC file for the design. Defaulting to BASE_SDC_FILE [WARNING]: SIGNOFF_SDC_FILE is not set. It is recommended to write a custom SDC file for the design. Defaulting to BASE_SDC_FILE Similarly I am facing an error when attempting to run the openlane2 example notebook as well
Copy code
──────────────────────────────────────── Static Timing Analysis (Post-PnR) ────────────────────────────────────────
[21:41:28] VERBOSE  Running 'OpenROAD.STAPostPNR'… (Log:                                               step.py:1085
                    ./openlane_run/21-openroad-stapostpnr/openroad-stapostpnr.log)                                 
[21:41:31] ERROR    Subprocess had a non-zero exit.                                                    step.py:1310
[21:41:31] ERROR    Last 10 line(s):                                                                   step.py:1315
                    AssertionError: SRE module mismatch                                                            
                    Traceback (most recent call last):                                                             
                      File "/content/openlane_ipynb/openlane/scripts/odbpy/filter_unannotated.py",                 
                    line 15, in <module>                                                                           
                        import re                                                                                  
                      File "/usr/lib/python3.10/re.py", line 125, in <module>                                      
                        import sre_compile                                                                         
                      File "/usr/lib/python3.10/sre_compile.py", line 17, in <module>                              
                        assert _sre.MAGIC == MAGIC, "SRE module mismatch"                                          
                               ^^^^^^^^^^^^^^^^^^^                                                                 
                    AssertionError: SRE module mismatch                                                            
                                                                                                                   
[21:41:31] ERROR    Full log file:                                                                     step.py:1318
                    'openlane_run/21-openroad-stapostpnr/nom_tt_025C_1v80/filter_unannotated.log'                  
[21:41:31] ERROR    Failed STA for the nom_tt_025C_1v80 timing corner:                              openroad.py:699
---------------------------------------------------------------------------
StepError                                 Traceback (most recent call last)
<ipython-input-40-011cbee31ed3> in <cell line: 4>()
      2 
      3 sta_post_pnr = STAPostPNR(state_in=rcx.state_out)
----> 4 sta_post_pnr.start()

/content/openlane_ipynb/openlane/steps/step.py in start(self, toolbox, step_dir, _no_rule, **kwargs)
   1117                 ) from None
   1118             else:
-> 1119                 raise StepError(
   1120                     f"{self.name}: subprocess {e.args} failed", underlying_error=e
   1121                 ) from None
StepError: STA (Post-PnR): subprocess (1, ['openroad', '-exit', '-no_splash', '-metrics', '/content/openlane_run/21-openroad-stapostpnr/nom_tt_025C_1v80/filter_unannotated_metrics.json', '-python', '/content/openlane_ipynb/openlane/scripts/odbpy/filter_unannotated.py', '--corner', 'nom_tt_025C_1v80', '--checks-report', '/content/openlane_run/21-openroad-stapostpnr/nom_tt_025C_1v80/checks.rpt', '/content/openlane_run/11-openroad-fillinsertion/spm.odb', '--input-lef', '/root/.volare/sky130A/libs.ref/sky130_fd_sc_hd/techlef/sky130_fd_sc_hd__nom.tlef', '--input-lef', '/root/.volare/sky130A/libs.ref/sky130_fd_sc_hd/lef/sky130_fd_sc_hd.lef', '--input-lef', '/root/.volare/sky130A/libs.ref/sky130_fd_sc_hd/lef/sky130_ef_sc_hd.lef']) failed
Copy code
[21:41:31] ERROR    Subprocess had a non-zero exit.
d
This is quite odd. We'll investigate.
Replicated. Urgh…
133 Views