Any sparkies help me with a problem with spice under linux? I am running it in batch mode but it give an error every time an ac or dc analysis is run. From the console I run:
spice -b >ex1.out ex1.cir
Ian I get the following error
dc (ac) analysis not run. doAnalyses not found.
Any idea what I am doing wrong? I have tried several different rpms pf spice 3f5 with patches and, althought they have other quirks, the all give the same error.
Ian
do we get to see the spice? or does the code work in other spice sims?
On Saturday 10 Jan 2004 1:30 pm, J wrote:
do we get to see the spice? or does the code work in other spice sims?
No problem. here's the spice source for test.cir
First Circuit for Spice vs 1 0 24V R1 1 2 10 R2 2 0 1K R3 2 3 300 R4 3 0 500 *.OPTIONS nopage list nomod * Operating Point .op * DC Analysis .dc vs 10 24 1 *.PRINT DC I(R1) I(R2) I(R3) .end
And here is the terminal output when run on mandrake
[ianbell@localhost ianbell]$ cd spice [ianbell@localhost spice]$ spice3 -b >test.out test.cir Error: no data saved for D.C. Transfer curve analysis; analysis not run doAnalyses: Not found
run simulation(s) aborted [ianbell@localhost spice]$
And test.out is:
Circuit: First Circuit for Spice
Circuit: First Circuit for Spice Date: Sat Jan 10 16:38:31 2004
Operating point information:
Node Voltage ---- ------- V(3) 6.112469e+00 V(2) 9.779951e+00 V(1) 1.000000e+01
Source Current ------ -------
vs#branch -2.20049e-02
Resistor models (Simple linear resistor) model R
rsh 0 narrow 0 tc1 0 tc2 0 defw 1e-05
Resistor: Simple linear resistor device R4 R3 R2 R1 model R R R R resistance 500 300 1e+03 10 i 0.0122 0.0122 0.00978 0.022 p 0.0747 0.0448 0.0956 0.00484
Vsource: Independent voltage source device vs dc 10 acmag 0 i -0.022 p 0.22
CPU time since last call: 0.010 seconds.
Total CPU time: 0.010 seconds.
Current dynamic memory usage = 139264, Dynamic memory limit = -135745537.
Ian
On Saturday 10 Jan 2004 1:30 pm, J wrote:
do we get to see the spice? or does the code work in other spice sims?
Further to my other posts.
1. This only happens in batch mode. Interactive mode is fine although you do have to run dc analysis from the command line
2. The lower case in the spice source is only because the SUse version I tried choked on all upper case.
3. All versions of spice I have been able to download exibit the probelm so I suspect it's me.
Thanks for any help
Ian