Home> >

003_parallel_computing : Parallel Computing

003_parallel_computing : Parallel Computing

003_parallel_computing : Parallel Computing

Requires: SmartSpice & Smartview

Minimum Versions: SMARTSPICE 3.16.12.R

This input deck example shows …….

The SmartSpice command option “-mp” allows user to run parallel simulations on multiple CPU machine for every analysis sweep step.

Source and run ex.in example by using next command:

> smartspice -mp -b ex.in -o ex.out

Note: Only transient analysis with sweep data is currently supported. This feature is not available on Windows platform.

Details can be found in the 3.16 Baseline Release Notes Chapter 1.1.1.

Input Files

ex.in

* parallel computing example

.option post=2 probe

.param fre=50e6
.param mult=1

VIN my1 0 SIN(0 1 fre)
r1 my1 0 1000
V1 my2 0 5
r2 my2 0 "mult*1000 + 200*v(my1)"

.probe v(my1) i(r2)

.TRAN 1e-09 50e-08 sweep data=dataname 

.data dataname
mult fre
1    50e6 
1    53e6 
1    1e6
2    50e6 
2    53e6 
2    1e6
3    50e6 
3    53e6 
3    1e6
.enddata

.end

Related Articles