[MacPorts] #71124: ngspice @43: Lacking xspice support
MacPorts
noreply at macports.org
Sat Oct 19 00:15:01 UTC 2024
#71124: ngspice @43: Lacking xspice support
-----------------------+----------------------
Reporter: hughsonm | Owner: markemer
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.10.2
Resolution: | Keywords:
Port: ngspice |
-----------------------+----------------------
Comment (by markemer):
Yep, I added this .spiceinit in the directory I ran ngspice in makes it
work. Why it's not picking our spinit up, or not running it, I'm not sure.
{{{
* Standard ngspice init file
alias exit quit
alias acct rusage all
** set the number of threads in openmp
** default (if compiled with --enable-openmp) is: 2
set num_threads=4
echo "runing this"
if $?sharedmode
unset interactive
unset moremode
else
set interactive
set x11lineararcs
end
strcmp __flag $program "ngspice"
if $__flag = 0
codemodel /opt/local/lib/ngspice/spice2poly.cm
codemodel /opt/local/lib/ngspice/analog.cm
codemodel /opt/local/lib/ngspice/digital.cm
codemodel /opt/local/lib/ngspice/xtradev.cm
codemodel /opt/local/lib/ngspice/xtraevt.cm
codemodel /opt/local/lib/ngspice/table.cm
end
unset __flag
}}}
--
Ticket URL: <https://trac.macports.org/ticket/71124#comment:11>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list