mirror of
https://git.code.sf.net/p/ngspice/ngspice
synced 2026-09-03 10:58:30 +02:00
Paranoia_Parallel: a test suite for more than 100 test circuits,
running in parallel on a multi-core machine (12 min execution time on a i9 9900, ngspice compiled with gcc, debug mode enabled. Linux with Valgrind and Parallel are required.
This commit is contained in:
committed by
Holger Vogt
parent
2988b5db66
commit
d881158a41
@@ -0,0 +1,31 @@
|
||||
use $batchmode
|
||||
|
||||
* use $batchmode variable to steer control flow
|
||||
*
|
||||
* start either with
|
||||
* ngspice -b -r rawfile.raw if-batchmode.cir
|
||||
* or with
|
||||
* ngspice if-batchmode.cir
|
||||
|
||||
v0 1 0 dc 1
|
||||
R1 1 2 1k
|
||||
C1 2 0 1u
|
||||
|
||||
.tran 100u 10m uic
|
||||
.print tran all
|
||||
|
||||
.control
|
||||
|
||||
if $?batchmode
|
||||
echo "Info: batchmode has been set by command line option -b"
|
||||
echo
|
||||
else
|
||||
echo "Info: batchmode has not been set"
|
||||
echo
|
||||
unset ngdebug
|
||||
tran 100u 10m uic
|
||||
plot v(2)
|
||||
end
|
||||
|
||||
.endc
|
||||
.end
|
||||
Reference in New Issue
Block a user