Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

documentation for starting klayout is broken #1913

Closed
mattvenn opened this issue Jul 20, 2023 · 10 comments
Closed

documentation for starting klayout is broken #1913

mattvenn opened this issue Jul 20, 2023 · 10 comments
Labels
bug Something isn't working Docker Issues related to the utilization or building of the Docker image waiting on op Information has been requested from the Issue Author

Comments

@mattvenn
Copy link
Collaborator

Description

running klayout inside docker according to instructions fails

https://openlane.readthedocs.io/en/latest/getting_started/installation/installation_ubuntu.html#optional-viewing-test-design-outputs

Expected Behavior

should show design in klayout

Environment report

Kernel: Linux v5.15.0-76-generic
Distribution: ubuntu 20.04
Python: v3.8.10 (OK)
Container Engine: docker v20.10.21 (OK)
OpenLane Git Version: 3bc9d02d0b34ad032921553e512fbe4bebf1d833
pip: INSTALLED
python-venv: INSTALLED
---
PDK Version Verification Status: OK
---
Git Log (Last 3 Commits)

3bc9d02 2023-06-26T07:48:24+03:00 Use OpenROAD mirror of `lemon-graph` (#1873) - Kareem Farid -  (grafted, HEAD, tag: 2023.06.26)
---
Git Remotes

origin  https://github.com/The-OpenROAD-Project/OpenLane.git (fetch)
origin  https://github.com/The-OpenROAD-Project/OpenLane.git (push)

Reproduction material

I just used the spm example

Relevant log output

OpenLane Container (3bc9d02):/openlane$ klayout -e -nn $PDK_ROOT/sky130A/libs.tech/klayout/tech/sky130A.lyt \
>    -l $PDK_ROOT/sky130A/libs.tech/klayout/tech/sky130A.lyp \
>    ./designs/spm/runs/openlane_test/results/final/gds/spm.gds
process 2306: The last reference on a connection was dropped without closing the connection. This is a bug in an application. See dbus_connection_unref() documentation for details.
Most likely, the application was supposed to call dbus_connection_close(), since this is a private connection.
  D-Bus not built with -rdynamic so unable to print a backtrace
@vijayank88
Copy link
Collaborator

vijayank88 commented Jul 21, 2023

@mattvenn
As per latest guide: https://openlane.readthedocs.io/en/latest/reference/gui.html
you have to use

make mount
python3 gui.py --viewer klayout ./designs/spm/runs/openlane_test

https://github.com/The-OpenROAD-Project/OpenLane/blob/master/docs/source/getting_started/installation/installation_common_section.md#optional-viewing-test-design-outputs : This file need to be updated

@mattvenn
Copy link
Collaborator Author

image

@mattvenn
Copy link
Collaborator Author

also, can you give a command that would work for caravel?

@vijayank88
Copy link
Collaborator

It's working fine with Centos7, getting error has above in Ubuntu20.04

@mattvenn
Copy link
Collaborator Author

yes I'm on ubuntu 20

@donn donn added bug Something isn't working Docker Issues related to the utilization or building of the Docker image labels Jul 24, 2023
@mattvenn
Copy link
Collaborator Author

also just to note that most people for the shuttle will be running inside caravel_user_project. They'll run make user_project_wrapper, and then what should they do to examine the resulting gds?

@kareefardi
Copy link
Collaborator

kareefardi commented Aug 1, 2023

image

Does the workaround here (#1772) fix the problem?

@kareefardi
Copy link
Collaborator

also just to note that most people for the shuttle will be running inside caravel_user_project. They'll run make user_project_wrapper, and then what should they do to examine the resulting gds?

OpenLane now mounts the home directory. In most cases, this guide (https://openlane.readthedocs.io/en/latest/reference/gui.html) should work.

@kareefardi kareefardi added the waiting on op Information has been requested from the Issue Author label Sep 12, 2023
@wilfredkisku
Copy link

I too am unable to start klayout for the test generated gds. Anyone who knows a workaround?

OS: Ubuntu 20.04 LTS

@donn
Copy link
Collaborator

donn commented Dec 18, 2023

Kindly file a new issue @wilfredkisku.

As for this issue, staled out.

@donn donn closed this as not planned Won't fix, can't repro, duplicate, stale Dec 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Docker Issues related to the utilization or building of the Docker image waiting on op Information has been requested from the Issue Author
Projects
None yet
Development

No branches or pull requests

5 participants