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

Please try ngspice-36-klu for faster simulation #374

Closed
holvo opened this issue Jun 21, 2022 · 4 comments
Closed

Please try ngspice-36-klu for faster simulation #374

holvo opened this issue Jun 21, 2022 · 4 comments
Labels
help-wanted This issue is open to help from anyone who can work on it!

Comments

@holvo
Copy link

holvo commented Jun 21, 2022

Users have reported some problems when simulating large circuits (e.g. 200k transistors) with standard ngspice (long simulation times, operating point convergence problems).

Recently I have tested a dedicated version of ngspice-36, which replaces the venerable Sparse matrix solver by the KLU method, with very promising results. When using KLU and the Optran method to get the operating point before transient sim is started, I have achieved a simulation speed-up by a factor of three or more, after a fast operating point evaluation.

On the ngspice web pages at http://ngspice.sourceforge.net/applic.html there is more information on setting up ngspice for KLU.

As user feedback is very important here, please don't hesitate to try it out and report your results. We will need much more testing with various circuits before this feature may move into the standard ngspice distribution.

@proppy proppy added help-wanted This issue is open to help from anyone who can work on it! tools-Ngspice labels Jul 1, 2022
@proppy proppy changed the title ngspice-36-klu for simulation with google/skywater-pdk Please try ngspice-36-klu for faster simulation with google/skywater-pdk Jul 1, 2022
@proppy
Copy link
Member

proppy commented Jul 1, 2022

@holvo pinned the issue for more visibility.

@proppy proppy pinned this issue Jul 1, 2022
@proppy proppy changed the title Please try ngspice-36-klu for faster simulation with google/skywater-pdk Please try ngspice-36-klu for faster simulation Jul 1, 2022
@proppy
Copy link
Member

proppy commented Jul 1, 2022

@holvo what the best venue for skywater-pdk users to give feedback to the ngspice community?

@holvo
Copy link
Author

holvo commented Jul 1, 2022

ngspice developers are active in the ngspice discussion forums, especially ngspice-devel . ngspice bugs may be reported to the bug tracker at https://sourceforge.net/p/ngspice/bugs/.

@holvo
Copy link
Author

holvo commented Jan 26, 2024

Meanwhile ngspice-42 is available, containing the KLU solver, when compiled with --enable-klu, so I will close this issue.

Hmm, don't know how to un-pin this one.

@holvo holvo closed this as completed Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help-wanted This issue is open to help from anyone who can work on it!
Projects
None yet
Development

No branches or pull requests

2 participants