@Matt Venn @Tim Edwards
I'm having some issues getting my OpenLane installation to work. Certain parts of the flow seem to run fine as root, but not as a normal user. I'm not quite sure what's going on so I've compiled a list of "observations" below. I'm hoping someone might be able to identify what I'm doing wrong and help me out.
Before listing them out, I saw the warnings in the documentation about making Docker available without root and followed those closely, so I'm pretty sure it's not that. I've tried uninstalling, reinstalling, etc., etc., but still no luck and now I'm out of ideas.
1. "docker run hello-world" runs fine when I'm not root.
2. When I run "make" in the OpenLane directory. I get:
Version cd1748bb197f9b7af62a54507de6624e30363943 not found locally, attempting to download…
[Errno 13] Permission denied: '/opt/pdk/share/pdk/volare'
'Permission denied: '/opt/pdk/share/pdk/volare'.
3. If I run sudo make, it runs just fine though. I'm able to get all the way to where I see GDS in Klayout or Magic.
4. If I run "make mount" then ./flow.tcl -design gcd I get the following error:
[ERROR]: open_pdks 30656fcd54fb8ba48caf1701f5b01b89f3f0c4fc
magic 038f02d2b2802251dd9a346e0c94489026003d56
The version of open_pdks used in building the PDK does not match the version OpenLane was tested on (installed: 30656fcd54fb8ba48caf1701f5b01b89f3f0c4fc, tested: cd1748bb197f9b7af62a54507de6624e30363943)
This may introduce some issues. You may want to re-install the PDK by invoking
make pdk
.
The version of magic used in building the PDK does not match the version OpenLane was tested on (installed: 038f02d2b2802251dd9a346e0c94489026003d56, tested: 0afe4d87d4aacfbbb2659129a1858a22d216a920)
This may introduce some issues. You may want to re-install the PDK by invoking
make pdk
.
[ERROR]: Please update your environment. OpenLane will now quit.
5. If I run the above root I don't get that error.
6. I noticed that I have PDK's installed at both /usr/local/share/pdk as well as /opt/pdk/share/pdk. I'm not sure why and I'm wondering if this might have something to do with the different version errors?
7. I tried a fresh install of open_pdk from the OCD website this morning. That didn't seem to fix it.