OpenLane icon indicating copy to clipboard operation
OpenLane copied to clipboard

Unable to launch flow.tcl in local installation

Open titan73 opened this issue 3 years ago • 2 comments

After worked around the pyinstaller problem (version 4.1 to use instead of latest 5.1) I managed to run the installl script python3 ./env.py local-install. According to the doc at https://github.com/The-OpenROAD-Project/OpenLane/blob/master/docs/source/local_installs.md, I should just do ./flow.tcl but I get:

ERROR]: run_non_interactive_mode missing required -design

while executing

"parse_key_args "run_non_interactive_mode" args arg_values $options flags_map $flags -no_consume" (procedure "run_non_interactive_mode" line 10) invoked from within "run_non_interactive_mode {*}$argv" invoked from within "if { [info exists flags_map(-interactive)] || [info exists flags_map(-it)] } { if { [info exists arg_values(-file)] } { run_file [file nor..." (file "./flow.tcl" line 384)

If I use /flow.tcl -design spm, it does not work either with:

[INFO]: Using design configuration at /home/titan/eda/ol/designs/spm/config.tcl [INFO]: Sourcing Configurations from /home/titan/eda/ol/designs/spm/config.tcl [ERROR]: PDK_ROOT is not specified. Please make sure you have it set.

while executing

"prep {}$args" (procedure "run_non_interactive_mode" line 11) invoked from within "run_non_interactive_mode {}$argv" invoked from within "if { [info exists flags_map(-interactive)] || [info exists flags_map(-it)] } { if { [info exists arg_values(-file)] } { run_file [file nor..." (file "./flow.tcl" line 384)

titan73 avatar Jun 14 '22 12:06 titan73

That's uh. I mean you can invoke flow.tcl with the same arguments as inside the Docker container.

As for PDK_ROOT, you do need to set that separately, in addition to using a tool like volare to get the PDK installed.

We'll update the documentation to reflect all of that.

donn avatar Jun 14 '22 13:06 donn

Ah yeah indeed. Option -design is needed. I just followed blindy the doc at https://github.com/The-OpenROAD-Project/OpenLane/blob/master/docs/source/local_installs.md.

Ok thanks. I will try once the doc is updated.

titan73 avatar Jun 17 '22 11:06 titan73