From d4217f125647a415d8ba9d67d1c04a7e5719e6cc Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Mon, 6 Aug 2018 20:12:14 +0200 Subject: [PATCH] update: use $inputdir instead of absolute path outputpath not (yet?) available --- examples/Monte_Carlo/MC_ring_ts.sp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/Monte_Carlo/MC_ring_ts.sp b/examples/Monte_Carlo/MC_ring_ts.sp index 8c7ba9c83..7a1597f7c 100644 --- a/examples/Monte_Carlo/MC_ring_ts.sp +++ b/examples/Monte_Carlo/MC_ring_ts.sp @@ -30,14 +30,14 @@ begin echo source the input file * Path of your circuit file and library file here * Will be added to the already existing sourcepath - set sourcepath = ( D:/Spice_general/ngspice/examples/Monte_Carlo $sourcepath ./ngspice/examples/Monte_Carlo ) + set sourcepath = ( $inputdir $sourcepath ./ngspice/examples/Monte_Carlo ) * source with file name of your circuit file source mc_ring_circ.net save buf $ we just need buf, save memory by more than 10x * Output path (directory has already to be there) - setcf outputpath = 'D:\Spice_general\ngspice\examples\Monte_Carlo\out' +* set outputpath = 'D:\Spice_general\ngspice\examples\Monte_Carlo\out' * If your current directory is the 'ngspice' directory * set outputpath = './examples/Monte_Carlo/out' $ LINUX alternative * run the simulation loop