spinit.in, distinguish between shared and normal mode
This commit is contained in:
parent
4219f4ddb8
commit
9c5412cb9c
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue