The-OpenROAD-Project / OpenLane

OpenLane is an automated RTL to GDSII flow based on several components including OpenROAD, Yosys, Magic, Netgen and custom methodology scripts for design exploration and optimization.
https://openlane.readthedocs.io/
Apache License 2.0
1.25k stars 365 forks source link

the script being called is missing #2091

Closed nikitaminiaev closed 3 months ago

nikitaminiaev commented 4 months ago

Description

when running commands interactively: run_magic scrot_layout

An error occurs: bash: /openlane/scripts/klayout/scrotLayout.sh: No such file or directory

Expected Behavior

generating masks in png

Environment report

[STEP 45]
[INFO]: Creating a screenshot using KLayout (log: designs/spm/runs/RUN_2024.02.13_19.59.01/logs/cts/45-screenshot.log)...
[ERROR]: during executing: "bash /openlane/scripts/klayout/scrotLayout.sh /home/nekit/.volare/sky130A/libs.tech/klayout/tech/sky130A.lyt /openlane/designs/spm/runs/RUN_2024.02.13_19.59.01/results/signoff/spm.gds |& tee /dev/null /openlane/designs/spm/runs/RUN_2024.02.13_19.59.01/logs/cts/45-screenshot.log"
[ERROR]: Exit code: 1
[ERROR]: Last 10 lines:
bash: /openlane/scripts/klayout/scrotLayout.sh: No such file or directory
child process exited abnormally

Reproduction material

[STEP 45] [INFO]: Creating a screenshot using KLayout (log: designs/spm/runs/RUN_2024.02.13_19.59.01/logs/cts/45-screenshot.log)... [ERROR]: during executing: "bash /openlane/scripts/klayout/scrotLayout.sh /home/nekit/.volare/sky130A/libs.tech/klayout/tech/sky130A.lyt /openlane/designs/spm/runs/RUN_2024.02.13_19.59.01/results/signoff/spm.gds |& tee /dev/null /openlane/designs/spm/runs/RUN_2024.02.13_19.59.01/logs/cts/45-screenshot.log" [ERROR]: Exit code: 1 [ERROR]: Last 10 lines: bash: /openlane/scripts/klayout/scrotLayout.sh: No such file or directory child process exited abnormally

Relevant log output

[STEP 45]
[INFO]: Creating a screenshot using KLayout (log: designs/spm/runs/RUN_2024.02.13_19.59.01/logs/cts/45-screenshot.log)...
[ERROR]: during executing: "bash /openlane/scripts/klayout/scrotLayout.sh /home/nekit/.volare/sky130A/libs.tech/klayout/tech/sky130A.lyt /openlane/designs/spm/runs/RUN_2024.02.13_19.59.01/results/signoff/spm.gds |& tee /dev/null /openlane/designs/spm/runs/RUN_2024.02.13_19.59.01/logs/cts/45-screenshot.log"
[ERROR]: Exit code: 1
[ERROR]: Last 10 lines:
bash: /openlane/scripts/klayout/scrotLayout.sh: No such file or directory
child process exited abnormally
kareefardi commented 4 months ago

Looks like this functionality was removed at some point (might have been by accident) but some traces of it still remains. However, this is not used in the default flow. Are you using a custom flow?

donn commented 3 months ago

The issue template is invalid, as the two sections "Environment report" and "Reproduction Material" are just copies of the relevant log output.