diff --git a/src/spinit.in b/src/spinit.in index 2ca7e3d1e..e20cd0903 100644 --- a/src/spinit.in +++ b/src/spinit.in @@ -1,8 +1,7 @@ * Standard ngspice init file alias exit quit alias acct rusage all -set x11lineararcs -*setseed 12 +*set rndseed=12 ** ascii rawfile ** *set filetype=ascii ** frontend debug output ** @@ -12,17 +11,19 @@ set x11lineararcs ** set the number of threads in openmp ** default (if compiled with --enable-openmp) is: 2 *set num_threads=4 -set interactive + +if $?sharedmode + unset interactive + unset moremode +else + set interactive + set x11lineararcs +end strcmp __flag $program "ngspice" if $__flag = 0 -* For SPICE2 POLYs, edit the below line to point to the location -* of your codemodel. - @XSPICEINIT@ codemodel @pkglibdir@/spice2poly.cm - -* The other codemodels @XSPICEINIT@ codemodel @pkglibdir@/analog.cm @XSPICEINIT@ codemodel @pkglibdir@/digital.cm @XSPICEINIT@ codemodel @pkglibdir@/xtradev.cm