https://open-source-silicon.dev logo
m

Matthew Guthaus

03/23/2021, 6:42 PM
Is there a way to get progress from ngspice simulations? There doesn't seem to be any verbose option... I guess it gives you the time on transients, but nothing about loading large circuits.
a

Amro Tork

03/23/2021, 8:51 PM
Try adding this command to your runs:
.options ACCT
I haven't tested this but that what it says in the documentation.
@Matthew Guthaus
May be this doesn't show the progress, just the over all time at the end.
m

Matthew Guthaus

03/23/2021, 9:00 PM
Hrm, I think that is shown normally, at least in batch mode.
a

Amro Tork

03/24/2021, 5:45 AM
Cool
m

Matthew Guthaus

03/25/2021, 4:45 PM
Looks like it does provide some additional output: Number of lines in the deck = 646923 Netlist loading time = 26.332 Subckt and Param expansion time = 53.804 Netlist parsing time = 12.01 Nominal temperature = 27 Operating temperature = 25 Total iterations = 47835 Transient iterations = 47835 Circuit Equations = 15415 Circuit original non-zeroes = 111742 Circuit fill-in non-zeroes = 26476 Circuit total non-zeroes = 138218 Transient timepoints = 19386 Accepted timepoints = 19384 Rejected timepoints = 2 Total analysis time (seconds) = 1657.99 Matrix load time = 825.709 Matrix synchronize time = 0 Matrix reorder time = 1.604 Matrix factor time = 623.58 Matrix solve time = 67.26 Transient analysis time = 1657.35 Transient load time = 825.692 Transient sync time = 0 Transient factor time = 623.58 Transient solve time = 67.26 Transient trunc time = 57.663 Transient iterations for the last time point = 0
m

mehdi

03/26/2021, 9:24 PM
@wenbo ^
a

Amro Tork

03/28/2021, 12:41 PM
@Matthew Guthaus I wouldn't say that I'm an expert with ngspice. But I used ELDO extensively.
And the only way was in ELDO to get that information is through an .option command. I had a sense that it would likely be the same in ngspice.
@Matthew Guthaus Happy to see that worked for you.
2 Views