Hello, I’ve been trying to install open_pdks It co...
# sky130
m
Hello, I’ve been trying to install open_pdks It configures with no errors at all but when i run [make] , it runs for about 10 minutes then crashes and the whole system shuts down at this line, can anyone please help?
t
What's the last thing that was output in the log files for the build?
i
Have you checked HDD space? I found my installation went from 10GB before this step to over 94GB (peak) before dropping back to 81GB.
t
"make timing" on the standard cell libraries produces a lot of large .lib files, but 94GB seems excessive (understatement). A lot of the space can be reclaimed after the open_pdks install by deleting the original sky130 libraries (if you cloned them yourself) or by doing "make distclean" (if you let open_pdks clone them). You can also reclaim space after the open_pdks install by doing "make clean" and "make veryclean". None of that helps with the memory overhead during the build, however. I think if you have low disk space overhead, the best option is to get a precompiled version of the PDK, such as from volare.
i
Perhaps I'm overdoing it with what I'm installing. My command line was:
Copy code
git clone <https://github.com/RTimothyEdwards/open_pdks> && cd open_pdks
# Configure with both "A" and "B" versions of the PDK
./configure --with-ef-style --enable-sky130-pdk --enable-sram-sky130 \
  --enable-osu-t12-sky130 --enable-osu-t15-sky130 --enable-osu-t18-sky130 \
  --enable-alpha-sky130 --prefix=/opt/pdks
make -j$(nproc)
t
Copy code
./configure --prefix=/opt --enable-sky130-pdk --enable-sram-sky130 --enable-osu-t12-sky130 --enable-osu-t15-sky130 --enable-osu-t18-sky130
should be sufficient (equivalent to what you did, except (1) the prefix you used is, I think, going to put everything in the redundant path
/opt/pdks/share/pdks
, and (2) never use
--with-ef-style
(used on the efabless online platform only). But I would not expect those minor differences to cause anything to crash, or hang, or take up inordinate amounts of memory or disk space.
i
Thanks Tim, those suggestions sound good. I'll run through another install proceeds later in the week and monitor the effect on disk usage as it goes.