RTimothyEdwards / open_pdks

PDK installer for open-source EDA tools and toolchains. Distributed with setups for the SkyWater 130nm and Global Foundries 180nm open processes.
http://opencircuitdesign.com/open_pdks
Apache License 2.0
263 stars 85 forks source link

Unable to install open_pdk #448

Open emmagood987 opened 1 week ago

emmagood987 commented 1 week ago

Hi,

I am trying to install OpenPDK in my WSL2 based Ubuntu 24.04. I am getting error while doing the process and unable to proceed. I hope someone can help me.

First, I installed Xschem, Magic and ngspice successfully. Then I started installing OpenPDK. I ran the following commands:

  1. git clone https://github.com/RTimothyEdwards/open_pdks This command ran OK.

  2. cd open_pdks

  3. ./configure --enable-sky130-pdk --prefix=/home/emma This command also went OK. Pls see screenshot_1.jpg

Screenshot_1

  1. make After 45 min this command exited with ‘error2’. The log has several of the following errors: …….. …….. make[3]: [Makefile:1524: primitive-B] Error 1 make[3]: Leaving directory '/home/nir/open_pdks/sky130' make[2]: [Makefile:1407: primitive-build-B] Error 2 make[2]: Leaving directory '/home/nir/open_pdks/sky130' make[1]: [Makefile:1053: all-B] Error 2 make[1]: Waiting for unfinished jobs.... make[3]: [Makefile:1524: primitive-A] Error 1 make[3]: Leaving directory '/home/nir/open_pdks/sky130' make[2]: [Makefile:1407: primitive-build-A] Error 2 make[2]: Leaving directory '/home/nir/open_pdks/sky130' make[1]: [Makefile:1053: all-A] Error 2 make[1]: Leaving directory '/home/nir/open_pdks/sky130' make: [Makefile:132: tech-sky130] Error 2

Pls see the screenshot_2.jpg

Screenshot_2

  1. sudo make install This command is exiting with ‘error2’. Pls see the screenshot_3.jpg

Screenshot_3

Can you pls tell me why I am getting this error and most importantly, how to overcome it?

I look forward to your response.

Thanks, Emma.

d-m-bailey commented 1 week ago

@emmagood987 Thanks for the detailed logs. Do you need to install open_pdks from source or can you use the precompiled versions available with volare here?

emmagood987 commented 1 week ago

@emmagood987 Thanks for the detailed logs. Do you need to install open_pdks from source or can you use the precompiled versions available with volare here?

Thanks for your reply. I can use volare. But I dont know how to. Where can I find the detailed steps on how to install through volare pls? Or if you can type them out sequentially, it would be just great.

d-m-bailey commented 1 week ago

The installation steps are detailed here.

export PDK_ROOT=<pdk directory>
export PDK=<process>  # sky130A, sky130B, etc.
python3 -m pip install --upgrade --no-cache-dir volare
volare ls-remote
volare enable <desired-commit>
emmagood987 commented 1 week ago

The installation steps are detailed here. . python3 -m pip install --upgrade --no-cache-dir volare

Ok. I have tried the steps at the Volare git page. However the above command is not working at my end. I have already opened an issue at the Volare git page. You can see the issue at the link here. Do let me know if you have the solution for it.

Emma.