Hello all! I have a perhaps rather odd question f...
# xschem
m
Hello all! I have a perhaps rather odd question for ngspice: I am running a loop of transient simulations and I was wondering if there is a way I can force ngspice to clear the data after I write the data out? I would like to run longer simulations (without resorting to python), but I’m running to the memory constraint of my machine. I have looked at
unset
and
unlet
attempting to release a whole plot and
unset *
but that doesn’t seem to work. Do you have any ideas? Thanks a lot!
y
I think you may want to use
destroy
m
@yrrapt That’s it! Thank you!!
s
Also ensure the following lines are present in the .
spiceinit
file that must reside in the directory where the simulator is running (and where netlist is created):
set ngbehavior=hsa
set ng_nomodcheck
The second line in particulsr reduces memory usage dramatically, even by 10x on big designs.
m
@Stefan Schippers Thank you! Is there a way to verify that ngspice has loaded .spiceinit?