-
Notifications
You must be signed in to change notification settings - Fork 198
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
Installation issue #149
Comments
This looks like a docker permissions problem because you built with sudo. I'd suggest deleting the image and building without sudo. You can add yourself to the docket group so that sudo isn't necessary. |
Unfortunately it doesn't help. I follow the steps to run docker without sudo, now it runs However with OpenRAM I still got the same error. By the way, I installed all the tools in docker image for OpenLane with sudo successfully. I appreciate if you can further help to resolve the issue. |
What type of system is the host? Looking closer it could be a network problem too. I'm not an expert in docker so I'd suggest getting help through their forums. |
I'm using Ubuntu 20.04.4 LTS
|
I build on the same all the time so I'm not sure what is going on... |
Yes, those instructions are right. |
What version of docker are you using? |
Docker version 20.10.17, build 100c701 |
I'm using the exact version. I can't replicate your problem.... |
Looks like bad luck. I still have no idea what is going on. |
You can look through the versions of tools required in the Dockerfile and install those locally but this isn't recommended. I have a number of people using the same configuration so I'm not sure what else it could be. If you can isolate it a bit more, maybe we can help. Does it recur every time? Sometimes network problems are intermittent. Can you manually apt install in a docker image? |
I tried to install on virtual Ubuntu machine which uses different network. Process is still ongoing but passed the stage at which the error is occurred previously. However I notice some other errors during installation which doesn't interrupt the process. Hopefully it is not fatal. Meantime, I have not found in documentation write mask support. Also some student work mentioned about such functionality in context of OpenRAM. My interest to OpenRAM is to combine Tiny Rocket core with photonic device and pass it through the OpenLane flow to get GDSII. But Rocket core uses write mask functionality which might be not yet supported by OpenRAM? |
What errors? Errors are usually a problem whereas warnings may not be. The write_size option determines the write granularity and hence the write size. It is fully supported. You should join the slack for further usage questions. |
Finally I got the following error:
|
I don't know what you ran to get that... Can you share the entire output? |
Actually it looks like you just ran make build. It seems like you have a system problem if klayout is failing to build. It builds fine here... What is the error from it? |
Oh, can you decrease the number of threads given to the klayout build? Right now it is trying to use 8. Do you have 8 cores? |
I've noticed that virtual machine by default uses 1 core. So I changed the line in Dockerfile:
to use single core, but still have the same error:
I wonder why it says |
You get that message because it doesn't complete building the docker image. The build command tries to create an image with today's date and if it succeeds, it tags it as the latest. I don't do any error checking if the build actually completes... |
Ok. I have reinstalled everything from scratch. I set 4 cores on my virtual machine and started installation.
I have no idea why this is happening. I had issue on 2 different machines. If nobody experienced such issue before seems my case is very specific. And I do not think klayout itself is an issue, because I have installed it successfully both as a separate installation and in the scope of docker image with OpenLane. |
Can you find more information on why klayout failed to build? The return code alone isn't sufficient to understand why and fix it. I've also installed this on at least 3 machines, my students on all of their machines, and none of them did this. |
I'm not and expert to be able to fix the build flow. |
Can you include the whole output as an attachment? |
ok, thanks. I have started the installation with redirection of the output to the file. Once finished I will share the file. |
Here is a file |
It looks like you might have some permission problems:
Do you not have permissions on your local directory? Also, do you not have permissions to write /usr/local? Maybe that is the problem... |
Can you change this line to two lines?
like this:
Does it fail on the second line? It seems to be completing the build in your output. |
Can you send me the stdout in openram-ubuntu.log when you figure out the permissions problem? |
With suggested split:
installation has passed this stage, but failed to install with that the installation has finished. I was also able to compile the simple memory example from the main page. Will check further with sky130 pdk |
Splitting the commands wasn't a suggested fix, it was supposed to help me understand what was the error. Whether it was a build problem or a copy problem. The fact that it passes with that makes me believe there is something very unstable in your system or setup. What about the initial permissions issue? Did you fix that? Why don't you have permissions to write the local directory? The network problem is due to an unstable network. Try again and/or try on a better network. |
I'm not sure if permission issues are still there. The mentioned folders
are owned by root. So I made installation with sudo.
Network during installation was different, but I think both of networks
should have similar restrictions.
I also wonder why the split of the commands allow to overcome the issue. I
remember some suggestions at stackoverflow to split commands in docker file.
Anyway, I will check if I can compile needed memory using sky130.
…On Tue, 2 Aug 2022, 18:33 Matt Guthaus, ***@***.***> wrote:
Splitting the commands wasn't a suggested fix, it was supposed to help me
understand what was the error. Whether it was a build problem or a copy
problem. The fact that it passes with that makes me believe there is
something very unstable in your system or setup.
What about the initial permissions issue? Did you fix that? Why don't you
have permissions to write the local directory?
The network problem is due to an unstable network. Try again and/or try on
a better network.
—
Reply to this email directly, view it on GitHub
<#149 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB5L42LATYRPAXJWGUI57LDVXE5UNANCNFSM54KIO6HQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
That ngspice repo hasn't been updated since 2015. It may not work... |
Oh, but I can't access original repo from any network. Will try to reinstall with up to date repo later.
However when I change library to I got the following error:
I might did something stupid, because I just changed the pdk, although config is the same to this my full config is
|
Take a look at the example configs in: sky130 has certain requirements on the number of columns and rows. Since we use a replica timing column, there must be a dummy column added to make the number even. EDIT: Updated to use a single port SRAM which needs the even number. |
I'm not sure what to say about the ngspice repo. Their official distribution is via sourceforge (sf.net)... Can you access this information page? |
yes, this page is accessible! |
But it says where to get the git repo which is unaccessible to you. Maybe you should contact them? |
Thanks, I will try. Actually, when I first tried manual installation of the
OpenLane, some of the repos were at sourceforge, and were inaccessible to
me as well. I saw some people also experienced issues with sourceforge.
I will contact them.
вт, 2 авг. 2022 г. в 21:24, Matt Guthaus ***@***.***>:
… But it says where to get the git repo which is unaccessible to you. Maybe
you should contact them?
—
Reply to this email directly, view it on GitHub
<#149 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB5L42LGCCVNNCJSXLDTBGTVXFRWZANCNFSM54KIO6HQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I tried OpenRAM and after comment decided to make clean installation.
My steps are:
I got an error:
Is the error related to docker file, or this is my system issue? By the way, running in terminal
apt-get install --no-install-recommends -y build-essential git ssh vim gosu autoconf automake libtool bison flex
works without any issue.
googling suggested to install
apt-transport-https
but it already installed.The text was updated successfully, but these errors were encountered: